cloudflare 6.2.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +131 -0
- package/index.d.mts +3 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/index.mjs +3 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/models/models.d.ts +5 -0
- package/resources/ai/models/models.d.ts.map +1 -1
- package/resources/ai/models/models.js.map +1 -1
- package/resources/ai/models/models.mjs.map +1 -1
- package/resources/aisearch/instances/instances.d.ts +5 -0
- package/resources/aisearch/instances/instances.d.ts.map +1 -1
- package/resources/aisearch/instances/instances.js.map +1 -1
- package/resources/aisearch/instances/instances.mjs.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.d.ts +5 -0
- package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
- package/resources/billing/billing.d.ts +2 -2
- package/resources/billing/billing.d.ts.map +1 -1
- package/resources/billing/billing.js.map +1 -1
- package/resources/billing/billing.mjs.map +1 -1
- package/resources/billing/index.d.ts +1 -1
- package/resources/billing/index.d.ts.map +1 -1
- package/resources/billing/index.js.map +1 -1
- package/resources/billing/index.mjs +1 -1
- package/resources/billing/index.mjs.map +1 -1
- package/resources/billing/usage.d.ts +213 -3
- package/resources/billing/usage.d.ts.map +1 -1
- package/resources/billing/usage.js +20 -4
- package/resources/billing/usage.js.map +1 -1
- package/resources/billing/usage.mjs +20 -4
- package/resources/billing/usage.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/countries.d.ts +1 -0
- package/resources/cloudforce-one/threat-events/countries.d.ts.map +1 -1
- package/resources/custom-certificates/custom-certificates.d.ts +9 -7
- package/resources/custom-certificates/custom-certificates.d.ts.map +1 -1
- package/resources/custom-certificates/custom-certificates.js +0 -2
- package/resources/custom-certificates/custom-certificates.js.map +1 -1
- package/resources/custom-certificates/custom-certificates.mjs +0 -2
- package/resources/custom-certificates/custom-certificates.mjs.map +1 -1
- package/resources/dls/dls.d.ts +14 -0
- package/resources/dls/dls.d.ts.map +1 -0
- package/resources/dls/dls.js +44 -0
- package/resources/dls/dls.js.map +1 -0
- package/resources/dls/dls.mjs +17 -0
- package/resources/dls/dls.mjs.map +1 -0
- package/resources/dls/index.d.ts +4 -0
- package/resources/dls/index.d.ts.map +1 -0
- package/resources/dls/index.js +12 -0
- package/resources/dls/index.js.map +1 -0
- package/resources/dls/index.mjs +5 -0
- package/resources/dls/index.mjs.map +1 -0
- package/resources/dls/regional-services/index.d.ts +3 -0
- package/resources/dls/regional-services/index.d.ts.map +1 -0
- package/resources/dls/regional-services/index.js +10 -0
- package/resources/dls/regional-services/index.js.map +1 -0
- package/resources/dls/regional-services/index.mjs +4 -0
- package/resources/dls/regional-services/index.mjs.map +1 -0
- package/resources/dls/regional-services/prefix-bindings.d.ts +197 -0
- package/resources/dls/regional-services/prefix-bindings.d.ts.map +1 -0
- package/resources/dls/regional-services/prefix-bindings.js +103 -0
- package/resources/dls/regional-services/prefix-bindings.js.map +1 -0
- package/resources/dls/regional-services/prefix-bindings.mjs +98 -0
- package/resources/dls/regional-services/prefix-bindings.mjs.map +1 -0
- package/resources/dls/regional-services/regional-services.d.ts +10 -0
- package/resources/dls/regional-services/regional-services.d.ts.map +1 -0
- package/resources/dls/regional-services/regional-services.js +40 -0
- package/resources/dls/regional-services/regional-services.js.map +1 -0
- package/resources/dls/regional-services/regional-services.mjs +13 -0
- package/resources/dls/regional-services/regional-services.mjs.map +1 -0
- package/resources/dls/regional-services.d.ts +2 -0
- package/resources/dls/regional-services.d.ts.map +1 -0
- package/resources/dls/regional-services.js +19 -0
- package/resources/dls/regional-services.js.map +1 -0
- package/resources/dls/regional-services.mjs +3 -0
- package/resources/dls/regional-services.mjs.map +1 -0
- package/resources/dls/regions.d.ts +68 -0
- package/resources/dls/regions.d.ts.map +1 -0
- package/resources/dls/regions.js +46 -0
- package/resources/dls/regions.js.map +1 -0
- package/resources/dls/regions.mjs +41 -0
- package/resources/dls/regions.mjs.map +1 -0
- package/resources/dls.d.ts +2 -0
- package/resources/dls.d.ts.map +1 -0
- package/resources/dls.js +19 -0
- package/resources/dls.js.map +1 -0
- package/resources/dls.mjs +3 -0
- package/resources/dls.mjs.map +1 -0
- package/resources/email-sending/email-sending.d.ts +2 -2
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intel/sinkholes.d.ts +9 -9
- package/resources/intel/sinkholes.js +1 -1
- package/resources/intel/sinkholes.mjs +1 -1
- package/resources/logpush/datasets/fields.d.ts +2 -2
- package/resources/logpush/datasets/fields.d.ts.map +1 -1
- package/resources/logpush/datasets/fields.js.map +1 -1
- package/resources/logpush/datasets/fields.mjs.map +1 -1
- package/resources/logpush/datasets/jobs.d.ts +2 -2
- package/resources/logpush/datasets/jobs.d.ts.map +1 -1
- package/resources/logpush/datasets/jobs.js.map +1 -1
- package/resources/logpush/datasets/jobs.mjs.map +1 -1
- package/resources/logpush/jobs.d.ts +2 -2
- package/resources/logpush/jobs.d.ts.map +1 -1
- package/resources/logpush/jobs.js.map +1 -1
- package/resources/logpush/jobs.mjs.map +1 -1
- package/resources/organizations/billing/billing.d.ts +10 -0
- package/resources/organizations/billing/billing.d.ts.map +1 -0
- package/resources/organizations/billing/billing.js +39 -0
- package/resources/organizations/billing/billing.js.map +1 -0
- package/resources/organizations/billing/billing.mjs +12 -0
- package/resources/organizations/billing/billing.mjs.map +1 -0
- package/resources/organizations/billing/index.d.ts +3 -0
- package/resources/organizations/billing/index.d.ts.map +1 -0
- package/resources/organizations/billing/index.js +9 -0
- package/resources/organizations/billing/index.js.map +1 -0
- package/resources/organizations/billing/index.mjs +4 -0
- package/resources/organizations/billing/index.mjs.map +1 -0
- package/resources/organizations/billing/usage.d.ts +210 -0
- package/resources/organizations/billing/usage.d.ts.map +1 -0
- package/resources/organizations/billing/usage.js +19 -0
- package/resources/organizations/billing/usage.js.map +1 -0
- package/resources/organizations/billing/usage.mjs +15 -0
- package/resources/organizations/billing/usage.mjs.map +1 -0
- package/resources/organizations/billing.d.ts +2 -0
- package/resources/organizations/billing.d.ts.map +1 -0
- package/resources/organizations/billing.js +19 -0
- package/resources/organizations/billing.js.map +1 -0
- package/resources/organizations/billing.mjs +3 -0
- package/resources/organizations/billing.mjs.map +1 -0
- package/resources/organizations/index.d.ts +1 -0
- package/resources/organizations/index.d.ts.map +1 -1
- package/resources/organizations/index.js +5 -3
- package/resources/organizations/index.js.map +1 -1
- package/resources/organizations/index.mjs +1 -0
- package/resources/organizations/index.mjs.map +1 -1
- package/resources/organizations/organization-profile.d.ts +2 -2
- package/resources/organizations/organization-profile.js +2 -2
- package/resources/organizations/organization-profile.mjs +2 -2
- package/resources/organizations/organizations.d.ts +9 -5
- package/resources/organizations/organizations.d.ts.map +1 -1
- package/resources/organizations/organizations.js +8 -4
- package/resources/organizations/organizations.js.map +1 -1
- package/resources/organizations/organizations.mjs +8 -4
- package/resources/organizations/organizations.mjs.map +1 -1
- package/resources/r2/buckets/buckets.d.ts +4 -0
- package/resources/r2/buckets/buckets.d.ts.map +1 -1
- package/resources/r2/buckets/buckets.js +5 -0
- package/resources/r2/buckets/buckets.js.map +1 -1
- package/resources/r2/buckets/buckets.mjs +5 -0
- package/resources/r2/buckets/buckets.mjs.map +1 -1
- package/resources/r2/buckets/index.d.ts +1 -0
- package/resources/r2/buckets/index.d.ts.map +1 -1
- package/resources/r2/buckets/index.js +4 -1
- package/resources/r2/buckets/index.js.map +1 -1
- package/resources/r2/buckets/index.mjs +1 -0
- package/resources/r2/buckets/index.mjs.map +1 -1
- package/resources/r2/buckets/objects.d.ts +281 -0
- package/resources/r2/buckets/objects.d.ts.map +1 -0
- package/resources/r2/buckets/objects.js +151 -0
- package/resources/r2/buckets/objects.js.map +1 -0
- package/resources/r2/buckets/objects.mjs +146 -0
- package/resources/r2/buckets/objects.mjs.map +1 -0
- package/resources/radar/http/http.d.ts +16 -4
- package/resources/radar/http/http.d.ts.map +1 -1
- package/resources/radar/http/http.js.map +1 -1
- package/resources/radar/http/http.mjs.map +1 -1
- package/resources/secrets-store/index.d.ts +1 -1
- package/resources/secrets-store/index.d.ts.map +1 -1
- package/resources/secrets-store/index.js.map +1 -1
- package/resources/secrets-store/index.mjs.map +1 -1
- package/resources/secrets-store/secrets-store.d.ts +2 -2
- package/resources/secrets-store/secrets-store.d.ts.map +1 -1
- package/resources/secrets-store/secrets-store.js.map +1 -1
- package/resources/secrets-store/secrets-store.mjs.map +1 -1
- package/resources/secrets-store/stores/index.d.ts +1 -1
- package/resources/secrets-store/stores/index.d.ts.map +1 -1
- package/resources/secrets-store/stores/index.js.map +1 -1
- package/resources/secrets-store/stores/index.mjs.map +1 -1
- package/resources/secrets-store/stores/stores.d.ts +41 -1
- package/resources/secrets-store/stores/stores.d.ts.map +1 -1
- package/resources/secrets-store/stores/stores.js +15 -0
- package/resources/secrets-store/stores/stores.js.map +1 -1
- package/resources/secrets-store/stores/stores.mjs +15 -0
- package/resources/secrets-store/stores/stores.mjs.map +1 -1
- package/resources/spectrum/apps.d.ts +30 -0
- package/resources/spectrum/apps.d.ts.map +1 -1
- package/resources/spectrum/apps.js.map +1 -1
- package/resources/spectrum/apps.mjs.map +1 -1
- package/resources/workers/beta/workers/workers.d.ts +32 -0
- package/resources/workers/beta/workers/workers.d.ts.map +1 -1
- package/resources/workers/beta/workers/workers.js.map +1 -1
- package/resources/workers/beta/workers/workers.mjs.map +1 -1
- package/resources/workers/observability/destinations.d.ts +5 -5
- package/resources/workers/observability/destinations.d.ts.map +1 -1
- package/resources/workers/observability/index.d.ts +1 -0
- package/resources/workers/observability/index.d.ts.map +1 -1
- package/resources/workers/observability/index.js +4 -1
- package/resources/workers/observability/index.js.map +1 -1
- package/resources/workers/observability/index.mjs +1 -0
- package/resources/workers/observability/index.mjs.map +1 -1
- package/resources/workers/observability/observability.d.ts +4 -0
- package/resources/workers/observability/observability.d.ts.map +1 -1
- package/resources/workers/observability/observability.js +5 -0
- package/resources/workers/observability/observability.js.map +1 -1
- package/resources/workers/observability/observability.mjs +5 -0
- package/resources/workers/observability/observability.mjs.map +1 -1
- package/resources/workers/observability/queries.d.ts +471 -0
- package/resources/workers/observability/queries.d.ts.map +1 -0
- package/resources/workers/observability/queries.js +52 -0
- package/resources/workers/observability/queries.js.map +1 -0
- package/resources/workers/observability/queries.mjs +47 -0
- package/resources/workers/observability/queries.mjs.map +1 -0
- package/resources/workers/observability/telemetry.d.ts +62 -36
- package/resources/workers/observability/telemetry.d.ts.map +1 -1
- package/resources/workers/observability/telemetry.js.map +1 -1
- package/resources/workers/observability/telemetry.mjs.map +1 -1
- package/resources/workers/scripts/index.d.ts +1 -1
- package/resources/workers/scripts/index.d.ts.map +1 -1
- package/resources/workers/scripts/index.js.map +1 -1
- package/resources/workers/scripts/index.mjs.map +1 -1
- package/resources/workers/scripts/script-and-version-settings.d.ts +24 -0
- package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +42 -2
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers/scripts/secrets.d.ts +137 -1
- package/resources/workers/scripts/secrets.d.ts.map +1 -1
- package/resources/workers/scripts/secrets.js +27 -0
- package/resources/workers/scripts/secrets.js.map +1 -1
- package/resources/workers/scripts/secrets.mjs +27 -0
- package/resources/workers/scripts/secrets.mjs.map +1 -1
- package/resources/workers/scripts/settings.d.ts +8 -0
- package/resources/workers/scripts/settings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +18 -2
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +138 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +28 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +28 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +24 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
- package/resources/zero-trust/access/access.d.ts +4 -0
- package/resources/zero-trust/access/access.d.ts.map +1 -1
- package/resources/zero-trust/access/access.js +5 -0
- package/resources/zero-trust/access/access.js.map +1 -1
- package/resources/zero-trust/access/access.mjs +5 -0
- package/resources/zero-trust/access/access.mjs.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts +190 -0
- package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/portals.js.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/portals.mjs.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts +202 -2
- package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.js +2 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.js.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.mjs +2 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.mjs.map +1 -1
- package/resources/zero-trust/access/applications/policies.d.ts +32 -2
- package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/policies.js.map +1 -1
- package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
- package/resources/zero-trust/access/index.d.ts +1 -0
- package/resources/zero-trust/access/index.d.ts.map +1 -1
- package/resources/zero-trust/access/index.js +4 -1
- package/resources/zero-trust/access/index.js.map +1 -1
- package/resources/zero-trust/access/index.mjs +1 -0
- package/resources/zero-trust/access/index.mjs.map +1 -1
- package/resources/zero-trust/access/saml-certificates.d.ts +248 -0
- package/resources/zero-trust/access/saml-certificates.d.ts.map +1 -0
- package/resources/zero-trust/access/saml-certificates.js +100 -0
- package/resources/zero-trust/access/saml-certificates.js.map +1 -0
- package/resources/zero-trust/access/saml-certificates.mjs +95 -0
- package/resources/zero-trust/access/saml-certificates.mjs.map +1 -0
- package/resources/zero-trust/devices/posture/posture.d.ts +10 -0
- package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/posture.js.map +1 -1
- package/resources/zero-trust/devices/posture/posture.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/identity-providers.d.ts +2689 -108
- package/resources/zero-trust/identity-providers/identity-providers.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/identity-providers.js +4 -0
- package/resources/zero-trust/identity-providers/identity-providers.js.map +1 -1
- package/resources/zero-trust/identity-providers/identity-providers.mjs +4 -0
- package/resources/zero-trust/identity-providers/identity-providers.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/index.d.ts +1 -0
- package/resources/zero-trust/identity-providers/index.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/index.js +3 -1
- package/resources/zero-trust/identity-providers/index.js.map +1 -1
- package/resources/zero-trust/identity-providers/index.mjs +1 -0
- package/resources/zero-trust/identity-providers/index.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/saml-certificate.d.ts +91 -0
- package/resources/zero-trust/identity-providers/saml-certificate.d.ts.map +1 -0
- package/resources/zero-trust/identity-providers/saml-certificate.js +37 -0
- package/resources/zero-trust/identity-providers/saml-certificate.js.map +1 -0
- package/resources/zero-trust/identity-providers/saml-certificate.mjs +33 -0
- package/resources/zero-trust/identity-providers/saml-certificate.mjs.map +1 -0
- package/src/index.ts +5 -0
- package/src/resources/ai/models/models.ts +6 -0
- package/src/resources/aisearch/instances/instances.ts +6 -0
- package/src/resources/aisearch/namespaces/instances/instances.ts +6 -0
- package/src/resources/billing/api.md +3 -1
- package/src/resources/billing/billing.ts +3 -1
- package/src/resources/billing/index.ts +7 -1
- package/src/resources/billing/usage.ts +268 -7
- package/src/resources/cloudforce-one/threat-events/countries.ts +2 -0
- package/src/resources/custom-certificates/custom-certificates.ts +10 -8
- package/src/resources/dls/api.md +33 -0
- package/src/resources/dls/dls.ts +38 -0
- package/src/resources/dls/index.ts +12 -0
- package/src/resources/dls/regional-services/index.ts +17 -0
- package/src/resources/dls/regional-services/prefix-bindings.ts +301 -0
- package/src/resources/dls/regional-services/regional-services.ts +42 -0
- package/src/resources/dls/regional-services.ts +3 -0
- package/src/resources/dls/regions.ts +118 -0
- package/src/resources/dls.ts +3 -0
- package/src/resources/email-sending/email-sending.ts +2 -2
- package/src/resources/index.ts +1 -0
- package/src/resources/intel/sinkholes.ts +9 -9
- package/src/resources/logpush/datasets/fields.ts +3 -0
- package/src/resources/logpush/datasets/jobs.ts +3 -0
- package/src/resources/logpush/jobs.ts +2 -0
- package/src/resources/organizations/api.md +12 -0
- package/src/resources/organizations/billing/billing.ts +15 -0
- package/src/resources/organizations/billing/index.ts +4 -0
- package/src/resources/organizations/billing/usage.ts +270 -0
- package/src/resources/organizations/billing.ts +3 -0
- package/src/resources/organizations/index.ts +1 -0
- package/src/resources/organizations/organization-profile.ts +2 -2
- package/src/resources/organizations/organizations.ts +11 -5
- package/src/resources/r2/api.md +15 -0
- package/src/resources/r2/buckets/buckets.ts +27 -0
- package/src/resources/r2/buckets/index.ts +11 -0
- package/src/resources/r2/buckets/objects.ts +419 -0
- package/src/resources/radar/http/http.ts +72 -0
- package/src/resources/secrets-store/api.md +2 -0
- package/src/resources/secrets-store/index.ts +2 -0
- package/src/resources/secrets-store/secrets-store.ts +4 -0
- package/src/resources/secrets-store/stores/index.ts +2 -0
- package/src/resources/secrets-store/stores/stores.ts +61 -0
- package/src/resources/spectrum/apps.ts +36 -0
- package/src/resources/workers/api.md +14 -0
- package/src/resources/workers/beta/workers/workers.ts +36 -0
- package/src/resources/workers/observability/destinations.ts +5 -5
- package/src/resources/workers/observability/index.ts +8 -0
- package/src/resources/workers/observability/observability.ts +21 -0
- package/src/resources/workers/observability/queries.ts +825 -0
- package/src/resources/workers/observability/telemetry.ts +84 -36
- package/src/resources/workers/scripts/index.ts +2 -0
- package/src/resources/workers/scripts/script-and-version-settings.ts +27 -0
- package/src/resources/workers/scripts/scripts.ts +49 -0
- package/src/resources/workers/scripts/secrets.ts +180 -0
- package/src/resources/workers/scripts/settings.ts +9 -0
- package/src/resources/workers-for-platforms/api.md +2 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/index.ts +2 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +22 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +185 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +27 -0
- package/src/resources/zero-trust/access/access.ts +29 -0
- package/src/resources/zero-trust/access/ai-controls/mcp/portals.ts +236 -0
- package/src/resources/zero-trust/access/ai-controls/mcp/servers.ts +246 -2
- package/src/resources/zero-trust/access/applications/policies.ts +38 -2
- package/src/resources/zero-trust/access/index.ts +11 -0
- package/src/resources/zero-trust/access/saml-certificates.ts +343 -0
- package/src/resources/zero-trust/api.md +25 -0
- package/src/resources/zero-trust/devices/posture/posture.ts +12 -0
- package/src/resources/zero-trust/identity-providers/identity-providers.ts +3045 -38
- package/src/resources/zero-trust/identity-providers/index.ts +5 -0
- package/src/resources/zero-trust/identity-providers/saml-certificate.ts +119 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -197,6 +197,17 @@ export namespace PortalCreateResponse {
|
|
|
197
197
|
|
|
198
198
|
error?: string;
|
|
199
199
|
|
|
200
|
+
error_details?: Server.ErrorDetails;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
204
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
205
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
206
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
207
|
+
* mode KV key.
|
|
208
|
+
*/
|
|
209
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
210
|
+
|
|
200
211
|
last_successful_sync?: string;
|
|
201
212
|
|
|
202
213
|
last_synced?: string;
|
|
@@ -215,28 +226,75 @@ export namespace PortalCreateResponse {
|
|
|
215
226
|
}
|
|
216
227
|
|
|
217
228
|
export namespace Server {
|
|
229
|
+
export interface ErrorDetails {
|
|
230
|
+
/**
|
|
231
|
+
* Underlying error message
|
|
232
|
+
*/
|
|
233
|
+
cause?: string;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
237
|
+
*/
|
|
238
|
+
is_upstream?: boolean;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* MCP protocol error code
|
|
242
|
+
*/
|
|
243
|
+
mcp_code?: number;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Whether the error is transient and worth retrying
|
|
247
|
+
*/
|
|
248
|
+
retryable?: boolean;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* HTTP status code from the server
|
|
252
|
+
*/
|
|
253
|
+
status_code?: number;
|
|
254
|
+
}
|
|
255
|
+
|
|
218
256
|
export interface UpdatedPrompt {
|
|
219
257
|
name: string;
|
|
220
258
|
|
|
259
|
+
/**
|
|
260
|
+
* @deprecated Deprecated: use `portal_description` or `server_description`
|
|
261
|
+
* instead. Populated for backward compatibility — portal-level wins when present,
|
|
262
|
+
* otherwise falls back to server-level. Will be removed after the deprecation
|
|
263
|
+
* window.
|
|
264
|
+
*/
|
|
221
265
|
description?: string;
|
|
222
266
|
|
|
223
267
|
enabled?: boolean;
|
|
224
268
|
|
|
225
269
|
portal_alias?: string;
|
|
226
270
|
|
|
271
|
+
portal_description?: string;
|
|
272
|
+
|
|
227
273
|
server_alias?: string;
|
|
274
|
+
|
|
275
|
+
server_description?: string;
|
|
228
276
|
}
|
|
229
277
|
|
|
230
278
|
export interface UpdatedTool {
|
|
231
279
|
name: string;
|
|
232
280
|
|
|
281
|
+
/**
|
|
282
|
+
* @deprecated Deprecated: use `portal_description` or `server_description`
|
|
283
|
+
* instead. Populated for backward compatibility — portal-level wins when present,
|
|
284
|
+
* otherwise falls back to server-level. Will be removed after the deprecation
|
|
285
|
+
* window.
|
|
286
|
+
*/
|
|
233
287
|
description?: string;
|
|
234
288
|
|
|
235
289
|
enabled?: boolean;
|
|
236
290
|
|
|
237
291
|
portal_alias?: string;
|
|
238
292
|
|
|
293
|
+
portal_description?: string;
|
|
294
|
+
|
|
239
295
|
server_alias?: string;
|
|
296
|
+
|
|
297
|
+
server_description?: string;
|
|
240
298
|
}
|
|
241
299
|
}
|
|
242
300
|
}
|
|
@@ -301,6 +359,17 @@ export namespace PortalUpdateResponse {
|
|
|
301
359
|
|
|
302
360
|
error?: string;
|
|
303
361
|
|
|
362
|
+
error_details?: Server.ErrorDetails;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
366
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
367
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
368
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
369
|
+
* mode KV key.
|
|
370
|
+
*/
|
|
371
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
372
|
+
|
|
304
373
|
last_successful_sync?: string;
|
|
305
374
|
|
|
306
375
|
last_synced?: string;
|
|
@@ -319,28 +388,75 @@ export namespace PortalUpdateResponse {
|
|
|
319
388
|
}
|
|
320
389
|
|
|
321
390
|
export namespace Server {
|
|
391
|
+
export interface ErrorDetails {
|
|
392
|
+
/**
|
|
393
|
+
* Underlying error message
|
|
394
|
+
*/
|
|
395
|
+
cause?: string;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
399
|
+
*/
|
|
400
|
+
is_upstream?: boolean;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* MCP protocol error code
|
|
404
|
+
*/
|
|
405
|
+
mcp_code?: number;
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Whether the error is transient and worth retrying
|
|
409
|
+
*/
|
|
410
|
+
retryable?: boolean;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* HTTP status code from the server
|
|
414
|
+
*/
|
|
415
|
+
status_code?: number;
|
|
416
|
+
}
|
|
417
|
+
|
|
322
418
|
export interface UpdatedPrompt {
|
|
323
419
|
name: string;
|
|
324
420
|
|
|
421
|
+
/**
|
|
422
|
+
* @deprecated Deprecated: use `portal_description` or `server_description`
|
|
423
|
+
* instead. Populated for backward compatibility — portal-level wins when present,
|
|
424
|
+
* otherwise falls back to server-level. Will be removed after the deprecation
|
|
425
|
+
* window.
|
|
426
|
+
*/
|
|
325
427
|
description?: string;
|
|
326
428
|
|
|
327
429
|
enabled?: boolean;
|
|
328
430
|
|
|
329
431
|
portal_alias?: string;
|
|
330
432
|
|
|
433
|
+
portal_description?: string;
|
|
434
|
+
|
|
331
435
|
server_alias?: string;
|
|
436
|
+
|
|
437
|
+
server_description?: string;
|
|
332
438
|
}
|
|
333
439
|
|
|
334
440
|
export interface UpdatedTool {
|
|
335
441
|
name: string;
|
|
336
442
|
|
|
443
|
+
/**
|
|
444
|
+
* @deprecated Deprecated: use `portal_description` or `server_description`
|
|
445
|
+
* instead. Populated for backward compatibility — portal-level wins when present,
|
|
446
|
+
* otherwise falls back to server-level. Will be removed after the deprecation
|
|
447
|
+
* window.
|
|
448
|
+
*/
|
|
337
449
|
description?: string;
|
|
338
450
|
|
|
339
451
|
enabled?: boolean;
|
|
340
452
|
|
|
341
453
|
portal_alias?: string;
|
|
342
454
|
|
|
455
|
+
portal_description?: string;
|
|
456
|
+
|
|
343
457
|
server_alias?: string;
|
|
458
|
+
|
|
459
|
+
server_description?: string;
|
|
344
460
|
}
|
|
345
461
|
}
|
|
346
462
|
}
|
|
@@ -405,6 +521,17 @@ export namespace PortalListResponse {
|
|
|
405
521
|
|
|
406
522
|
error?: string;
|
|
407
523
|
|
|
524
|
+
error_details?: Server.ErrorDetails;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
528
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
529
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
530
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
531
|
+
* mode KV key.
|
|
532
|
+
*/
|
|
533
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
534
|
+
|
|
408
535
|
last_successful_sync?: string;
|
|
409
536
|
|
|
410
537
|
last_synced?: string;
|
|
@@ -423,28 +550,75 @@ export namespace PortalListResponse {
|
|
|
423
550
|
}
|
|
424
551
|
|
|
425
552
|
export namespace Server {
|
|
553
|
+
export interface ErrorDetails {
|
|
554
|
+
/**
|
|
555
|
+
* Underlying error message
|
|
556
|
+
*/
|
|
557
|
+
cause?: string;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
561
|
+
*/
|
|
562
|
+
is_upstream?: boolean;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* MCP protocol error code
|
|
566
|
+
*/
|
|
567
|
+
mcp_code?: number;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Whether the error is transient and worth retrying
|
|
571
|
+
*/
|
|
572
|
+
retryable?: boolean;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* HTTP status code from the server
|
|
576
|
+
*/
|
|
577
|
+
status_code?: number;
|
|
578
|
+
}
|
|
579
|
+
|
|
426
580
|
export interface UpdatedPrompt {
|
|
427
581
|
name: string;
|
|
428
582
|
|
|
583
|
+
/**
|
|
584
|
+
* @deprecated Deprecated: use `portal_description` or `server_description`
|
|
585
|
+
* instead. Populated for backward compatibility — portal-level wins when present,
|
|
586
|
+
* otherwise falls back to server-level. Will be removed after the deprecation
|
|
587
|
+
* window.
|
|
588
|
+
*/
|
|
429
589
|
description?: string;
|
|
430
590
|
|
|
431
591
|
enabled?: boolean;
|
|
432
592
|
|
|
433
593
|
portal_alias?: string;
|
|
434
594
|
|
|
595
|
+
portal_description?: string;
|
|
596
|
+
|
|
435
597
|
server_alias?: string;
|
|
598
|
+
|
|
599
|
+
server_description?: string;
|
|
436
600
|
}
|
|
437
601
|
|
|
438
602
|
export interface UpdatedTool {
|
|
439
603
|
name: string;
|
|
440
604
|
|
|
605
|
+
/**
|
|
606
|
+
* @deprecated Deprecated: use `portal_description` or `server_description`
|
|
607
|
+
* instead. Populated for backward compatibility — portal-level wins when present,
|
|
608
|
+
* otherwise falls back to server-level. Will be removed after the deprecation
|
|
609
|
+
* window.
|
|
610
|
+
*/
|
|
441
611
|
description?: string;
|
|
442
612
|
|
|
443
613
|
enabled?: boolean;
|
|
444
614
|
|
|
445
615
|
portal_alias?: string;
|
|
446
616
|
|
|
617
|
+
portal_description?: string;
|
|
618
|
+
|
|
447
619
|
server_alias?: string;
|
|
620
|
+
|
|
621
|
+
server_description?: string;
|
|
448
622
|
}
|
|
449
623
|
}
|
|
450
624
|
}
|
|
@@ -540,6 +714,17 @@ export namespace PortalReadResponse {
|
|
|
540
714
|
|
|
541
715
|
error?: string;
|
|
542
716
|
|
|
717
|
+
error_details?: Server.ErrorDetails;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
721
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
722
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
723
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
724
|
+
* mode KV key.
|
|
725
|
+
*/
|
|
726
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
727
|
+
|
|
543
728
|
last_successful_sync?: string;
|
|
544
729
|
|
|
545
730
|
last_synced?: string;
|
|
@@ -558,28 +743,75 @@ export namespace PortalReadResponse {
|
|
|
558
743
|
}
|
|
559
744
|
|
|
560
745
|
export namespace Server {
|
|
746
|
+
export interface ErrorDetails {
|
|
747
|
+
/**
|
|
748
|
+
* Underlying error message
|
|
749
|
+
*/
|
|
750
|
+
cause?: string;
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
754
|
+
*/
|
|
755
|
+
is_upstream?: boolean;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* MCP protocol error code
|
|
759
|
+
*/
|
|
760
|
+
mcp_code?: number;
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Whether the error is transient and worth retrying
|
|
764
|
+
*/
|
|
765
|
+
retryable?: boolean;
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* HTTP status code from the server
|
|
769
|
+
*/
|
|
770
|
+
status_code?: number;
|
|
771
|
+
}
|
|
772
|
+
|
|
561
773
|
export interface UpdatedPrompt {
|
|
562
774
|
name: string;
|
|
563
775
|
|
|
776
|
+
/**
|
|
777
|
+
* @deprecated Deprecated: use `portal_description` or `server_description`
|
|
778
|
+
* instead. Populated for backward compatibility — portal-level wins when present,
|
|
779
|
+
* otherwise falls back to server-level. Will be removed after the deprecation
|
|
780
|
+
* window.
|
|
781
|
+
*/
|
|
564
782
|
description?: string;
|
|
565
783
|
|
|
566
784
|
enabled?: boolean;
|
|
567
785
|
|
|
568
786
|
portal_alias?: string;
|
|
569
787
|
|
|
788
|
+
portal_description?: string;
|
|
789
|
+
|
|
570
790
|
server_alias?: string;
|
|
791
|
+
|
|
792
|
+
server_description?: string;
|
|
571
793
|
}
|
|
572
794
|
|
|
573
795
|
export interface UpdatedTool {
|
|
574
796
|
name: string;
|
|
575
797
|
|
|
798
|
+
/**
|
|
799
|
+
* @deprecated Deprecated: use `portal_description` or `server_description`
|
|
800
|
+
* instead. Populated for backward compatibility — portal-level wins when present,
|
|
801
|
+
* otherwise falls back to server-level. Will be removed after the deprecation
|
|
802
|
+
* window.
|
|
803
|
+
*/
|
|
576
804
|
description?: string;
|
|
577
805
|
|
|
578
806
|
enabled?: boolean;
|
|
579
807
|
|
|
580
808
|
portal_alias?: string;
|
|
581
809
|
|
|
810
|
+
portal_description?: string;
|
|
811
|
+
|
|
582
812
|
server_alias?: string;
|
|
813
|
+
|
|
814
|
+
server_description?: string;
|
|
583
815
|
}
|
|
584
816
|
}
|
|
585
817
|
}
|
|
@@ -635,6 +867,8 @@ export namespace PortalCreateParams {
|
|
|
635
867
|
|
|
636
868
|
default_disabled?: boolean;
|
|
637
869
|
|
|
870
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
871
|
+
|
|
638
872
|
on_behalf?: boolean;
|
|
639
873
|
|
|
640
874
|
updated_prompts?: Array<Server.UpdatedPrompt>;
|
|
@@ -711,6 +945,8 @@ export namespace PortalUpdateParams {
|
|
|
711
945
|
|
|
712
946
|
default_disabled?: boolean;
|
|
713
947
|
|
|
948
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
949
|
+
|
|
714
950
|
on_behalf?: boolean;
|
|
715
951
|
|
|
716
952
|
updated_prompts?: Array<Server.UpdatedPrompt>;
|
|
@@ -136,7 +136,8 @@ export class Servers extends APIResource {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
|
-
* Syncs an MCP server's
|
|
139
|
+
* Syncs an MCP server's capabilities and returns the updated server state,
|
|
140
|
+
* including any connection errors.
|
|
140
141
|
*
|
|
141
142
|
* @example
|
|
142
143
|
* ```ts
|
|
@@ -188,6 +189,17 @@ export interface ServerCreateResponse {
|
|
|
188
189
|
|
|
189
190
|
error?: string;
|
|
190
191
|
|
|
192
|
+
error_details?: ServerCreateResponse.ErrorDetails;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
196
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
197
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
198
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
199
|
+
* mode KV key.
|
|
200
|
+
*/
|
|
201
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
202
|
+
|
|
191
203
|
last_successful_sync?: string;
|
|
192
204
|
|
|
193
205
|
last_synced?: string;
|
|
@@ -204,6 +216,33 @@ export interface ServerCreateResponse {
|
|
|
204
216
|
}
|
|
205
217
|
|
|
206
218
|
export namespace ServerCreateResponse {
|
|
219
|
+
export interface ErrorDetails {
|
|
220
|
+
/**
|
|
221
|
+
* Underlying error message
|
|
222
|
+
*/
|
|
223
|
+
cause?: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
227
|
+
*/
|
|
228
|
+
is_upstream?: boolean;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* MCP protocol error code
|
|
232
|
+
*/
|
|
233
|
+
mcp_code?: number;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Whether the error is transient and worth retrying
|
|
237
|
+
*/
|
|
238
|
+
retryable?: boolean;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* HTTP status code from the server
|
|
242
|
+
*/
|
|
243
|
+
status_code?: number;
|
|
244
|
+
}
|
|
245
|
+
|
|
207
246
|
export interface UpdatedPrompt {
|
|
208
247
|
name: string;
|
|
209
248
|
|
|
@@ -249,6 +288,17 @@ export interface ServerUpdateResponse {
|
|
|
249
288
|
|
|
250
289
|
error?: string;
|
|
251
290
|
|
|
291
|
+
error_details?: ServerUpdateResponse.ErrorDetails;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
295
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
296
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
297
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
298
|
+
* mode KV key.
|
|
299
|
+
*/
|
|
300
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
301
|
+
|
|
252
302
|
last_successful_sync?: string;
|
|
253
303
|
|
|
254
304
|
last_synced?: string;
|
|
@@ -265,6 +315,33 @@ export interface ServerUpdateResponse {
|
|
|
265
315
|
}
|
|
266
316
|
|
|
267
317
|
export namespace ServerUpdateResponse {
|
|
318
|
+
export interface ErrorDetails {
|
|
319
|
+
/**
|
|
320
|
+
* Underlying error message
|
|
321
|
+
*/
|
|
322
|
+
cause?: string;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
326
|
+
*/
|
|
327
|
+
is_upstream?: boolean;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* MCP protocol error code
|
|
331
|
+
*/
|
|
332
|
+
mcp_code?: number;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Whether the error is transient and worth retrying
|
|
336
|
+
*/
|
|
337
|
+
retryable?: boolean;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* HTTP status code from the server
|
|
341
|
+
*/
|
|
342
|
+
status_code?: number;
|
|
343
|
+
}
|
|
344
|
+
|
|
268
345
|
export interface UpdatedPrompt {
|
|
269
346
|
name: string;
|
|
270
347
|
|
|
@@ -310,6 +387,17 @@ export interface ServerListResponse {
|
|
|
310
387
|
|
|
311
388
|
error?: string;
|
|
312
389
|
|
|
390
|
+
error_details?: ServerListResponse.ErrorDetails;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
394
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
395
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
396
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
397
|
+
* mode KV key.
|
|
398
|
+
*/
|
|
399
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
400
|
+
|
|
313
401
|
last_successful_sync?: string;
|
|
314
402
|
|
|
315
403
|
last_synced?: string;
|
|
@@ -326,6 +414,33 @@ export interface ServerListResponse {
|
|
|
326
414
|
}
|
|
327
415
|
|
|
328
416
|
export namespace ServerListResponse {
|
|
417
|
+
export interface ErrorDetails {
|
|
418
|
+
/**
|
|
419
|
+
* Underlying error message
|
|
420
|
+
*/
|
|
421
|
+
cause?: string;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
425
|
+
*/
|
|
426
|
+
is_upstream?: boolean;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* MCP protocol error code
|
|
430
|
+
*/
|
|
431
|
+
mcp_code?: number;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Whether the error is transient and worth retrying
|
|
435
|
+
*/
|
|
436
|
+
retryable?: boolean;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* HTTP status code from the server
|
|
440
|
+
*/
|
|
441
|
+
status_code?: number;
|
|
442
|
+
}
|
|
443
|
+
|
|
329
444
|
export interface UpdatedPrompt {
|
|
330
445
|
name: string;
|
|
331
446
|
|
|
@@ -371,6 +486,17 @@ export interface ServerDeleteResponse {
|
|
|
371
486
|
|
|
372
487
|
error?: string;
|
|
373
488
|
|
|
489
|
+
error_details?: ServerDeleteResponse.ErrorDetails;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
493
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
494
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
495
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
496
|
+
* mode KV key.
|
|
497
|
+
*/
|
|
498
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
499
|
+
|
|
374
500
|
last_successful_sync?: string;
|
|
375
501
|
|
|
376
502
|
last_synced?: string;
|
|
@@ -387,6 +513,33 @@ export interface ServerDeleteResponse {
|
|
|
387
513
|
}
|
|
388
514
|
|
|
389
515
|
export namespace ServerDeleteResponse {
|
|
516
|
+
export interface ErrorDetails {
|
|
517
|
+
/**
|
|
518
|
+
* Underlying error message
|
|
519
|
+
*/
|
|
520
|
+
cause?: string;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
524
|
+
*/
|
|
525
|
+
is_upstream?: boolean;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* MCP protocol error code
|
|
529
|
+
*/
|
|
530
|
+
mcp_code?: number;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Whether the error is transient and worth retrying
|
|
534
|
+
*/
|
|
535
|
+
retryable?: boolean;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* HTTP status code from the server
|
|
539
|
+
*/
|
|
540
|
+
status_code?: number;
|
|
541
|
+
}
|
|
542
|
+
|
|
390
543
|
export interface UpdatedPrompt {
|
|
391
544
|
name: string;
|
|
392
545
|
|
|
@@ -432,6 +585,17 @@ export interface ServerReadResponse {
|
|
|
432
585
|
|
|
433
586
|
error?: string;
|
|
434
587
|
|
|
588
|
+
error_details?: ServerReadResponse.ErrorDetails;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* When true, the gateway worker uses the shared Cloudflare-owned OAuth callback
|
|
592
|
+
* endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the
|
|
593
|
+
* customer portal hostname. New servers default to true; existing servers default
|
|
594
|
+
* to false. Effective behavior is gated by the gateway worker's per-env rollout
|
|
595
|
+
* mode KV key.
|
|
596
|
+
*/
|
|
597
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
598
|
+
|
|
435
599
|
last_successful_sync?: string;
|
|
436
600
|
|
|
437
601
|
last_synced?: string;
|
|
@@ -448,6 +612,33 @@ export interface ServerReadResponse {
|
|
|
448
612
|
}
|
|
449
613
|
|
|
450
614
|
export namespace ServerReadResponse {
|
|
615
|
+
export interface ErrorDetails {
|
|
616
|
+
/**
|
|
617
|
+
* Underlying error message
|
|
618
|
+
*/
|
|
619
|
+
cause?: string;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
623
|
+
*/
|
|
624
|
+
is_upstream?: boolean;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* MCP protocol error code
|
|
628
|
+
*/
|
|
629
|
+
mcp_code?: number;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Whether the error is transient and worth retrying
|
|
633
|
+
*/
|
|
634
|
+
retryable?: boolean;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* HTTP status code from the server
|
|
638
|
+
*/
|
|
639
|
+
status_code?: number;
|
|
640
|
+
}
|
|
641
|
+
|
|
451
642
|
export interface UpdatedPrompt {
|
|
452
643
|
name: string;
|
|
453
644
|
|
|
@@ -469,7 +660,42 @@ export namespace ServerReadResponse {
|
|
|
469
660
|
}
|
|
470
661
|
}
|
|
471
662
|
|
|
472
|
-
export
|
|
663
|
+
export interface ServerSyncResponse {
|
|
664
|
+
error?: string;
|
|
665
|
+
|
|
666
|
+
error_details?: ServerSyncResponse.ErrorDetails;
|
|
667
|
+
|
|
668
|
+
status?: string;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
export namespace ServerSyncResponse {
|
|
672
|
+
export interface ErrorDetails {
|
|
673
|
+
/**
|
|
674
|
+
* Underlying error message
|
|
675
|
+
*/
|
|
676
|
+
cause?: string;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* True = MCP server returned an error. False = couldn't reach the server
|
|
680
|
+
*/
|
|
681
|
+
is_upstream?: boolean;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* MCP protocol error code
|
|
685
|
+
*/
|
|
686
|
+
mcp_code?: number;
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* Whether the error is transient and worth retrying
|
|
690
|
+
*/
|
|
691
|
+
retryable?: boolean;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* HTTP status code from the server
|
|
695
|
+
*/
|
|
696
|
+
status_code?: number;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
473
699
|
|
|
474
700
|
export interface ServerCreateParams {
|
|
475
701
|
/**
|
|
@@ -507,6 +733,15 @@ export interface ServerCreateParams {
|
|
|
507
733
|
*/
|
|
508
734
|
description?: string | null;
|
|
509
735
|
|
|
736
|
+
/**
|
|
737
|
+
* Body param: When true, the gateway worker uses the shared Cloudflare-owned OAuth
|
|
738
|
+
* callback endpoint as the redirect_uri for upstream on-behalf OAuth, instead of
|
|
739
|
+
* the customer portal hostname. New servers default to true; existing servers
|
|
740
|
+
* default to false. Effective behavior is gated by the gateway worker's per-env
|
|
741
|
+
* rollout mode KV key.
|
|
742
|
+
*/
|
|
743
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
744
|
+
|
|
510
745
|
/**
|
|
511
746
|
* Body param
|
|
512
747
|
*/
|
|
@@ -556,6 +791,15 @@ export interface ServerUpdateParams {
|
|
|
556
791
|
*/
|
|
557
792
|
description?: string | null;
|
|
558
793
|
|
|
794
|
+
/**
|
|
795
|
+
* Body param: When true, the gateway worker uses the shared Cloudflare-owned OAuth
|
|
796
|
+
* callback endpoint as the redirect_uri for upstream on-behalf OAuth, instead of
|
|
797
|
+
* the customer portal hostname. New servers default to true; existing servers
|
|
798
|
+
* default to false. Effective behavior is gated by the gateway worker's per-env
|
|
799
|
+
* rollout mode KV key.
|
|
800
|
+
*/
|
|
801
|
+
is_shared_oauth_callback_enabled?: boolean;
|
|
802
|
+
|
|
559
803
|
/**
|
|
560
804
|
* Body param
|
|
561
805
|
*/
|