{
  "version": "3.8.0",
  "owner": "P2HSCloud",
  "ports": [
    {
      "port_id": "auth.signup",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/signup",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleSignup"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/signup",
        "files": {
          "pages": "functions/api/auth/signup.js",
          "nuxt": "server/api/auth/signup.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.signin",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/signin",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleSignin"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/signin",
        "files": {
          "pages": "functions/api/auth/signin.js",
          "nuxt": "server/api/auth/signin.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.signout",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/signout",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleSignout"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/signout",
        "files": {
          "pages": "functions/api/auth/signout.js",
          "nuxt": "server/api/auth/signout.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.refresh",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/refresh",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleRefresh"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/refresh",
        "files": {
          "pages": "functions/api/auth/refresh.js",
          "nuxt": "server/api/auth/refresh.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.session",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/session",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleAuthSessionCreate"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/session",
        "files": {
          "pages": "functions/api/auth/session.js",
          "nuxt": "server/api/auth/session.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.me",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/auth/me",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleGetMe"
      },
      "bff": {
        "method": "GET",
        "path": "/api/auth/me",
        "files": {
          "pages": "functions/api/auth/me.js",
          "nuxt": "server/api/auth/me.get.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.profile",
      "cloud": {
        "transport": "http",
        "method": "PUT",
        "path": "/v1/projects/:project_id/auth/me",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleUpdateMe"
      },
      "bff": {
        "method": "PUT",
        "path": "/api/auth/me",
        "files": {
          "pages": "functions/api/auth/me.js",
          "nuxt": "server/api/auth/me.put.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.permissions_check",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/permissions/check",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handlePermissionCheck"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/permissions/check",
        "files": {
          "pages": "functions/api/auth/permissions/check.js",
          "nuxt": "server/api/auth/permissions/check.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.magic_link_request",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/magic-link/request",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleMagicLinkRequest"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/magic-link/request",
        "files": {
          "pages": "functions/api/auth/magic-link/request.js",
          "nuxt": "server/api/auth/magic-link/request.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.magic_link_consume",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/auth/magic-link/consume",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleMagicLinkConsume"
      },
      "bff": {
        "method": "GET",
        "path": "/api/auth/magic-link/consume",
        "files": {
          "pages": "functions/api/auth/magic-link/consume.js",
          "nuxt": "server/api/auth/magic-link/consume.get.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.magic_link_verify",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/magic-link/verify",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleMagicLinkVerify"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/magic-link/verify",
        "files": {
          "pages": "functions/api/auth/magic-link/verify.js",
          "nuxt": "server/api/auth/magic-link/verify.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.otp_request",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/otp/request",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleOtpRequest"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/otp/request",
        "files": {
          "pages": "functions/api/auth/otp/request.js",
          "nuxt": "server/api/auth/otp/request.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.otp_verify",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/otp/verify",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleOtpVerify"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/otp/verify",
        "files": {
          "pages": "functions/api/auth/otp/verify.js",
          "nuxt": "server/api/auth/otp/verify.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.verify_email",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/verify-email",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleVerifyEmail"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/verify-email",
        "files": {
          "pages": "functions/api/auth/verify-email.js",
          "nuxt": "server/api/auth/verify-email.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.invite_accept",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/invite/accept",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleInviteAccept"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/invite/accept",
        "files": {
          "pages": "functions/api/auth/invite/accept.js",
          "nuxt": "server/api/auth/invite/accept.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.password_reset_request",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/password/reset-request",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handlePasswordResetRequest"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/forgot-password",
        "files": {
          "pages": "functions/api/auth/forgot-password.js",
          "nuxt": "server/api/auth/forgot-password.ts"
        },
        "adapter": "password",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.password_reset",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/password/reset",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handlePasswordReset"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/reset-password",
        "files": {
          "pages": "functions/api/auth/reset-password.js",
          "nuxt": "server/api/auth/reset-password.ts"
        },
        "adapter": "password",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.users_list",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/auth/users",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleAdminRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/admin/users",
        "files": {
          "pages": "functions/api/admin/users.js",
          "nuxt": "server/api/admin/users.ts"
        },
        "adapter": "users",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.users_create",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/users",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleAdminRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/admin/users",
        "files": {
          "pages": "functions/api/admin/users.js",
          "nuxt": "server/api/admin/users.ts"
        },
        "adapter": "users",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.users_get",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/auth/users/:user_id",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleAdminRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/admin/users/:user_id",
        "files": {
          "pages": "functions/api/admin/users.js",
          "nuxt": "server/api/admin/users.ts"
        },
        "adapter": "users",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.users_update",
      "cloud": {
        "transport": "http",
        "method": "PATCH",
        "path": "/v1/projects/:project_id/auth/users/:user_id",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleAdminRoutes"
      },
      "bff": {
        "method": "PATCH",
        "path": "/api/admin/users/:user_id",
        "files": {
          "pages": "functions/api/admin/users.js",
          "nuxt": "server/api/admin/users.ts"
        },
        "adapter": "users",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.users_delete",
      "cloud": {
        "transport": "http",
        "method": "DELETE",
        "path": "/v1/projects/:project_id/auth/users/:user_id",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleAdminRoutes"
      },
      "bff": {
        "method": "DELETE",
        "path": "/api/admin/users/:user_id",
        "files": {
          "pages": "functions/api/admin/users.js",
          "nuxt": "server/api/admin/users.ts"
        },
        "adapter": "users",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.users_set_password",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/users",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleAdminRoutes"
      },
      "bff": {
        "method": "PATCH",
        "path": "/api/admin/users/:user_id/password",
        "files": {
          "pages": "functions/api/admin/users.js",
          "nuxt": "server/api/admin/users.ts"
        },
        "adapter": "users",
        "auth": "staff"
      },
      "routing": {
        "owner": "bff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.mfa_totp",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/mfa",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleMfaRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/mfa",
        "files": {
          "pages": "functions/api/auth/mfa.js",
          "nuxt": "server/api/auth/mfa.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.passkey",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/passkey",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handlePasskeyRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/passkey",
        "files": {
          "pages": "functions/api/auth/passkey.js",
          "nuxt": "server/api/auth/passkey.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "auth.mfa_totp_verify",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/auth/mfa/verify",
        "source": "apps/pc-gateway/src/routes/auth.ts",
        "handler": "handleTotpLoginVerify"
      },
      "bff": {
        "method": "POST",
        "path": "/api/auth/mfa/verify",
        "files": {
          "pages": "functions/api/auth/mfa/verify.js",
          "nuxt": "server/api/auth/mfa/verify.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "seo.sitemap",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/seo/sitemap.xml",
        "source": "apps/pc-gateway/src/routes/seo.ts",
        "handler": "handleSeoRoute"
      },
      "bff": {
        "method": "GET",
        "path": "/api/seo/sitemap.xml",
        "files": {
          "pages": "functions/api/seo/sitemap.js",
          "nuxt": "server/api/seo/sitemap.get.ts"
        },
        "adapter": "seo",
        "auth": "public"
      },
      "entitlement": "seo_v1"
    },
    {
      "port_id": "seo.robots",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/seo/robots.txt",
        "source": "apps/pc-gateway/src/routes/seo.ts",
        "handler": "handleSeoRoute"
      },
      "bff": {
        "method": "GET",
        "path": "/api/seo/robots.txt",
        "files": {
          "pages": "functions/api/seo/robots.js",
          "nuxt": "server/api/seo/robots.get.ts"
        },
        "adapter": "seo",
        "auth": "public"
      },
      "entitlement": "seo_v1"
    },
    {
      "port_id": "calculation.evaluate",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/calculation/evaluate",
        "source": "apps/pc-gateway/src/routes/calculation.ts",
        "handler": "handleCalculationEvaluateRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/calculation/evaluate",
        "files": {
          "pages": "functions/api/calculation/evaluate.js",
          "nuxt": "server/api/calculation/evaluate.post.ts"
        },
        "adapter": "calculation",
        "auth": "session"
      },
      "entitlement": "calculation_v1"
    },
    {
      "port_id": "records.search",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/search",
        "source": "apps/pc-gateway/src/routes/record-search.ts",
        "handler": "handleRecordSearchRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/records/search",
        "files": {
          "pages": "functions/api/records/search.js",
          "nuxt": "server/api/records/search.post.ts"
        },
        "adapter": "records",
        "auth": "session"
      },
      "entitlement": "query_dsl_v1"
    },
    {
      "port_id": "records.query",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/query",
        "source": "apps/pc-gateway/src/routes/record-operations.ts",
        "handler": "handleProjectRecordsSection"
      },
      "bff": {
        "method": "POST",
        "path": "/api/records/:entity/query",
        "files": {
          "pages": "functions/api/records/[[path]].js",
          "nuxt": "server/api/records/[...path].ts"
        },
        "adapter": "records",
        "auth": "staff"
      },
      "entitlement": "query_dsl_v1"
    },
    {
      "port_id": "records.create",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/entities/:entity/records",
        "source": "apps/pc-gateway/src/routes/records.ts",
        "handler": "createRecordRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/records/:entity",
        "files": {
          "pages": "functions/api/records/[[path]].js",
          "nuxt": "server/api/records/[...path].ts"
        },
        "adapter": "records",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "records.update",
      "cloud": {
        "transport": "http",
        "method": "PATCH",
        "path": "/v1/projects/:project_id/entities/:entity/records/:id",
        "source": "apps/pc-gateway/src/routes/records.ts",
        "handler": "patchRecordRoute"
      },
      "bff": {
        "method": "PATCH",
        "path": "/api/records/:entity/:id",
        "files": {
          "pages": "functions/api/records/[[path]].js",
          "nuxt": "server/api/records/[...path].ts"
        },
        "adapter": "records",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "records.delete",
      "cloud": {
        "transport": "http",
        "method": "DELETE",
        "path": "/v1/projects/:project_id/entities/:entity/records/:id",
        "source": "apps/pc-gateway/src/routes/records.ts",
        "handler": "deleteRecordRoute"
      },
      "bff": {
        "method": "DELETE",
        "path": "/api/records/:entity/:id",
        "files": {
          "pages": "functions/api/records/[[path]].js",
          "nuxt": "server/api/records/[...path].ts"
        },
        "adapter": "records",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.presign_upload",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/storage/:bucket/presign",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handlePresign"
      },
      "bff": {
        "method": "POST",
        "path": "/api/storage/:bucket/presign",
        "files": {
          "pages": "functions/api/storage/[bucket]/presign.js",
          "nuxt": "server/api/storage/[bucket]/presign.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.list",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/storage/:bucket/files",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handleListFiles"
      },
      "bff": {
        "method": "GET",
        "path": "/api/storage/:bucket/files",
        "files": {
          "pages": "functions/api/storage/[bucket]/files.js",
          "nuxt": "server/api/storage/[bucket]/files.get.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.get",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/storage/:bucket/files/:fid",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handleGetFile"
      },
      "bff": {
        "method": "GET",
        "path": "/api/storage/:bucket/files/:fid",
        "files": {
          "pages": "functions/api/storage/[bucket]/files/[fid].js",
          "nuxt": "server/api/storage/[bucket]/files/[fid].get.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.delete",
      "cloud": {
        "transport": "http",
        "method": "DELETE",
        "path": "/v1/projects/:project_id/storage/:bucket/files/:fid",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handleDeleteFile"
      },
      "bff": {
        "method": "DELETE",
        "path": "/api/storage/:bucket/files/:fid",
        "files": {
          "pages": "functions/api/storage/[bucket]/files/[fid].js",
          "nuxt": "server/api/storage/[bucket]/files/[fid].delete.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.confirm",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/storage/:bucket/files/:fid/confirm",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handleConfirm"
      },
      "bff": {
        "method": "POST",
        "path": "/api/storage/:bucket/files/:fid/confirm",
        "files": {
          "pages": "functions/api/storage/[bucket]/files/[fid]/confirm.js",
          "nuxt": "server/api/storage/[bucket]/files/[fid]/confirm.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.presign_download",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/storage/:bucket/files/:fid/presign-download",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handlePresignDownload"
      },
      "bff": {
        "method": "POST",
        "path": "/api/storage/:bucket/files/:fid/presign-download",
        "files": {
          "pages": "functions/api/storage/[bucket]/files/[fid]/presign-download.js",
          "nuxt": "server/api/storage/[bucket]/files/[fid]/presign-download.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.copy",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/storage/:bucket/files/:fid/copy",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handleFileCopy"
      },
      "bff": {
        "method": "POST",
        "path": "/api/storage/:bucket/files/:fid/copy",
        "files": {
          "pages": "functions/api/storage/[bucket]/files/[fid]/copy.js",
          "nuxt": "server/api/storage/[bucket]/files/[fid]/copy.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.move",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/storage/:bucket/files/:fid/move",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handleFileMove"
      },
      "bff": {
        "method": "POST",
        "path": "/api/storage/:bucket/files/:fid/move",
        "files": {
          "pages": "functions/api/storage/[bucket]/files/[fid]/move.js",
          "nuxt": "server/api/storage/[bucket]/files/[fid]/move.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.attach",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/storage/:bucket/files/:fid/attach",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handleFileAttachToRecord"
      },
      "bff": {
        "method": "POST",
        "path": "/api/storage/:bucket/files/:fid/attach",
        "files": {
          "pages": "functions/api/storage/[bucket]/files/[fid]/attach.js",
          "nuxt": "server/api/storage/[bucket]/files/[fid]/attach.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "storage.metadata",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/storage/:bucket/files/:fid/metadata",
        "source": "apps/pc-gateway/src/routes/storage.ts",
        "handler": "handleFileMetadata"
      },
      "bff": {
        "method": "GET",
        "path": "/api/storage/:bucket/files/:fid/metadata",
        "files": {
          "pages": "functions/api/storage/[bucket]/files/[fid]/metadata.js",
          "nuxt": "server/api/storage/[bucket]/files/[fid]/metadata.get.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "bookings.list_resources",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/bookings/resources",
        "source": "apps/pc-gateway/src/routes/bookings.ts",
        "handler": "handleBookingRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/bookings/resources",
        "files": {
          "pages": "functions/api/bookings/resources.js",
          "nuxt": "server/api/bookings/resources.get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "bookings.upsert_resource",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/bookings/resources",
        "source": "apps/pc-gateway/src/routes/bookings.ts",
        "handler": "handleBookingRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/bookings/resources",
        "files": {
          "pages": "functions/api/bookings/resources.js",
          "nuxt": "server/api/bookings/resources.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "bookings.availability",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/bookings/resources/:resource_key/availability",
        "source": "apps/pc-gateway/src/routes/bookings.ts",
        "handler": "handleBookingRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/bookings/resources/:resource_key/availability",
        "files": {
          "pages": "functions/api/bookings/resources/[resource_key]/availability.js",
          "nuxt": "server/api/bookings/resources/[resource_key]/availability.get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "bookings.reserve",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/bookings/reserve",
        "source": "apps/pc-gateway/src/routes/bookings.ts",
        "handler": "handleBookingRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/bookings/reserve",
        "files": {
          "pages": "functions/api/bookings/reserve.js",
          "nuxt": "server/api/bookings/reserve.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "bookings.get",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/bookings/:reservation_id",
        "source": "apps/pc-gateway/src/routes/bookings.ts",
        "handler": "handleBookingRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/bookings/:reservation_id",
        "files": {
          "pages": "functions/api/bookings/[reservation_id].js",
          "nuxt": "server/api/bookings/[reservation_id].get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "bookings.cancel",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/bookings/:reservation_id/cancel",
        "source": "apps/pc-gateway/src/routes/bookings.ts",
        "handler": "handleBookingRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/bookings/:reservation_id/cancel",
        "files": {
          "pages": "functions/api/bookings/[reservation_id]/cancel.js",
          "nuxt": "server/api/bookings/[reservation_id]/cancel.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.email_send",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "email.send"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/email.send",
        "files": {
          "pages": "functions/api/jobs/email.send.js",
          "nuxt": "server/api/jobs/email.send.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "forms.submit",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/forms/:form_key/submissions",
        "source": "apps/pc-gateway/src/routes/forms.ts",
        "handler": "handleFormsRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/forms/:form_key/submissions",
        "files": {
          "pages": "functions/api/forms/[formKey]/submissions.js",
          "nuxt": "server/api/forms/[formKey]/submissions.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "forms.file_upload",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/forms/:form_key/files",
        "source": "apps/pc-gateway/src/routes/forms.ts",
        "handler": "handleFormsRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/forms/:form_key/files",
        "files": {
          "pages": "functions/api/forms/[formKey]/files.js",
          "nuxt": "server/api/forms/[formKey]/files.post.ts"
        },
        "adapter": "generic",
        "auth": "public"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.form_forward",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "form.forward"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/form.forward",
        "files": {
          "pages": "functions/api/jobs/form.forward.js",
          "nuxt": "server/api/jobs/form.forward.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.webhook_dispatch",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "webhook.dispatch"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/webhook.dispatch",
        "files": {
          "pages": "functions/api/jobs/webhook.dispatch.js",
          "nuxt": "server/api/jobs/webhook.dispatch.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.integration_execute",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "integration.execute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/integration.execute",
        "files": {
          "pages": "functions/api/jobs/integration.execute.js",
          "nuxt": "server/api/jobs/integration.execute.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "integrations.execute"
    },
    {
      "port_id": "jobs.dropbox_import",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "dropbox.import"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/dropbox.import",
        "files": {
          "pages": "functions/api/jobs/dropbox.import.js",
          "nuxt": "server/api/jobs/dropbox.import.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.storage_extract",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "storage.extract"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/storage.extract",
        "files": {
          "pages": "functions/api/jobs/storage.extract.js",
          "nuxt": "server/api/jobs/storage.extract.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.voice_call_outbound",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "voice.call.outbound"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/voice.call.outbound",
        "files": {
          "pages": "functions/api/jobs/voice.call.outbound.js",
          "nuxt": "server/api/jobs/voice.call.outbound.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "voice.enabled"
    },
    {
      "port_id": "jobs.voice_tool_execute",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "voice.tool.execute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/voice.tool.execute",
        "files": {
          "pages": "functions/api/jobs/voice.tool.execute.js",
          "nuxt": "server/api/jobs/voice.tool.execute.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "voice.enabled"
    },
    {
      "port_id": "jobs.booking_reserve",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "booking.reserve"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/booking.reserve",
        "files": {
          "pages": "functions/api/jobs/booking.reserve.js",
          "nuxt": "server/api/jobs/booking.reserve.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.booking_cancel",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "booking.cancel"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/booking.cancel",
        "files": {
          "pages": "functions/api/jobs/booking.cancel.js",
          "nuxt": "server/api/jobs/booking.cancel.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.inventory_reserve",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "inventory.reserve"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/inventory.reserve",
        "files": {
          "pages": "functions/api/jobs/inventory.reserve.js",
          "nuxt": "server/api/jobs/inventory.reserve.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.inventory_release",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "inventory.release"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/inventory.release",
        "files": {
          "pages": "functions/api/jobs/inventory.release.js",
          "nuxt": "server/api/jobs/inventory.release.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.inventory_commit",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "inventory.commit"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/inventory.commit",
        "files": {
          "pages": "functions/api/jobs/inventory.commit.js",
          "nuxt": "server/api/jobs/inventory.commit.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.record_renew",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "record.renew"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/record.renew",
        "files": {
          "pages": "functions/api/jobs/record.renew.js",
          "nuxt": "server/api/jobs/record.renew.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.workforce_shift_assign",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "workforce.shift_assign"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/workforce.shift_assign",
        "files": {
          "pages": "functions/api/jobs/workforce.shift_assign.js",
          "nuxt": "server/api/jobs/workforce.shift_assign.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.workforce_shift_release",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "workforce.shift_release"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/workforce.shift_release",
        "files": {
          "pages": "functions/api/jobs/workforce.shift_release.js",
          "nuxt": "server/api/jobs/workforce.shift_release.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "inventory.reservations.list",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/inventory/reservations",
        "source": "apps/pc-gateway/src/routes/inventory-reservations.ts",
        "handler": "handleInventoryReservationRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/inventory/reservations",
        "files": {
          "pages": "functions/api/inventory/reservations.js",
          "nuxt": "server/api/inventory/reservations.get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "inventory.reservations.get",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/inventory/reservations/:id",
        "source": "apps/pc-gateway/src/routes/inventory-reservations.ts",
        "handler": "handleInventoryReservationRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/inventory/reservations/:id",
        "files": {
          "pages": "functions/api/inventory/reservations/[id].js",
          "nuxt": "server/api/inventory/reservations/[id].get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "workforce.shifts.list",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/workforce/shifts",
        "source": "apps/pc-gateway/src/routes/workforce-shifts.ts",
        "handler": "handleWorkforceShiftRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/workforce/shifts",
        "files": {
          "pages": "functions/api/workforce/shifts.js",
          "nuxt": "server/api/workforce/shifts.get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "workforce.shifts.get",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/workforce/shifts/:id",
        "source": "apps/pc-gateway/src/routes/workforce-shifts.ts",
        "handler": "handleWorkforceShiftRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/workforce/shifts/:id",
        "files": {
          "pages": "functions/api/workforce/shifts/[id].js",
          "nuxt": "server/api/workforce/shifts/[id].get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.reminder_send",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "reminder.send"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/reminder.send",
        "files": {
          "pages": "functions/api/jobs/reminder.send.js",
          "nuxt": "server/api/jobs/reminder.send.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.reminder_schedule",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "reminder.schedule"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/reminder.schedule",
        "files": {
          "pages": "functions/api/jobs/reminder.schedule.js",
          "nuxt": "server/api/jobs/reminder.schedule.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.payment_checkout_create",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "payment.checkout.create"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/payment.checkout.create",
        "files": {
          "pages": "functions/api/jobs/payment.checkout.create.js",
          "nuxt": "server/api/jobs/payment.checkout.create.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.payment_capture",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "payment.capture"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/payment.capture",
        "files": {
          "pages": "functions/api/jobs/payment.capture.js",
          "nuxt": "server/api/jobs/payment.capture.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.payment_refund",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "payment.refund"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/payment.refund",
        "files": {
          "pages": "functions/api/jobs/payment.refund.js",
          "nuxt": "server/api/jobs/payment.refund.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.payment_catalog_upsert",
      "cloud": {
        "transport": "queue",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs",
        "source": "apps/pc-gateway/src/routes/project-jobs.ts",
        "handler": "createProjectJobRoute",
        "request_type": "payment.catalog.upsert"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/payment.catalog.upsert",
        "files": {
          "pages": "functions/api/jobs/payment.catalog.upsert.js",
          "nuxt": "server/api/jobs/payment.catalog.upsert.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.get",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/jobs/:job_id",
        "source": "apps/pc-gateway/src/routes/requests.ts",
        "handler": "getRequestStatus"
      },
      "bff": {
        "method": "GET",
        "path": "/api/jobs/:job_id",
        "files": {
          "pages": "functions/api/jobs/[job_id].js",
          "nuxt": "server/api/jobs/[job_id].get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.result",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/jobs/:job_id/result",
        "source": "apps/pc-gateway/src/routes/requests.ts",
        "handler": "getRequestResult"
      },
      "bff": {
        "method": "GET",
        "path": "/api/jobs/:job_id/result",
        "files": {
          "pages": "functions/api/jobs/[job_id]/result.js",
          "nuxt": "server/api/jobs/[job_id]/result.get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "jobs.cancel",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/jobs/:job_id/cancel",
        "source": "apps/pc-gateway/src/routes/requests.ts",
        "handler": "cancelRequest"
      },
      "bff": {
        "method": "POST",
        "path": "/api/jobs/:job_id/cancel",
        "files": {
          "pages": "functions/api/jobs/[job_id]/cancel.js",
          "nuxt": "server/api/jobs/[job_id]/cancel.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "ai.embed",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/ai/embed",
        "source": "apps/pc-gateway/src/routes/ai.ts",
        "handler": "handleAiRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/ai/embed",
        "files": {
          "pages": "functions/api/ai/embed.js",
          "nuxt": "server/api/ai/embed.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "ai"
    },
    {
      "port_id": "ai.search",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/ai/search",
        "source": "apps/pc-gateway/src/routes/ai.ts",
        "handler": "handleAiRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/ai/search",
        "files": {
          "pages": "functions/api/ai/search.js",
          "nuxt": "server/api/ai/search.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "ai"
    },
    {
      "port_id": "ai.complete",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/ai/complete",
        "source": "apps/pc-gateway/src/routes/ai.ts",
        "handler": "handleAiRoutes"
      },
      "bff": {
        "method": "POST",
        "path": "/api/ai/complete",
        "files": {
          "pages": "functions/api/ai/complete.js",
          "nuxt": "server/api/ai/complete.post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "ai"
    },
    {
      "port_id": "functions.invoke",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/fn/:slug",
        "source": "apps/pc-gateway/src/routes/functions.ts",
        "handler": "handleFunctionHttpTrigger"
      },
      "bff": {
        "method": "POST",
        "path": "/api/fn/:slug",
        "files": {
          "pages": "functions/api/fn/[slug].js",
          "nuxt": "server/api/fn/[slug].post.ts"
        },
        "adapter": "generic",
        "auth": "session"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "voice.call.handle",
      "cloud": {
        "transport": "runtime",
        "method": "POST",
        "path": "/v1/telephony/twilio/inbound/:project_id",
        "request_type": "voice.call.handle",
        "source": "apps/pc-voice/src/index.ts",
        "handler": "handleInbound"
      },
      "bff": null,
      "entitlement": "voice.enabled",
      "audience": "external_runtime"
    },
    {
      "port_id": "livechat.message",
      "cloud": {
        "transport": "runtime",
        "method": "POST",
        "path": "/v1/livechat/messages",
        "request_type": "livechat.message",
        "source": "apps/pc-livechat/src/index.ts",
        "handler": "message"
      },
      "bff": null,
      "entitlement": "livechat.enabled",
      "audience": "external_runtime"
    },
    {
      "port_id": "records.aggregate",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/aggregate",
        "source": "apps/pc-gateway/src/routes/record-operations.ts",
        "handler": "postRecordAggregateRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/records/:entity/aggregate",
        "files": {
          "pages": "functions/api/records/[entity]/aggregate.js",
          "nuxt": "server/api/records/[entity]/aggregate.post.ts"
        },
        "adapter": "generic",
        "auth": "session",
        "body_params": {
          "entity_key": "entity"
        }
      },
      "entitlement": "query_dsl_v1"
    },
    {
      "port_id": "records.facet",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/facet",
        "source": "apps/pc-gateway/src/routes/record-operations.ts",
        "handler": "postRecordFacetRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/records/:entity/facet",
        "files": {
          "pages": "functions/api/records/[entity]/facet.js",
          "nuxt": "server/api/records/[entity]/facet.post.ts"
        },
        "adapter": "generic",
        "auth": "session",
        "body_params": {
          "entity_key": "entity"
        }
      },
      "entitlement": "query_dsl_v1"
    },
    {
      "port_id": "records.bulk_update",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/bulk-update",
        "source": "apps/pc-gateway/src/routes/record-operations.ts",
        "handler": "postRecordBulkUpdateRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/records/:entity/bulk-update",
        "files": {
          "pages": "functions/api/records/[entity]/bulk-update.js",
          "nuxt": "server/api/records/[entity]/bulk-update.post.ts"
        },
        "adapter": "generic",
        "auth": "session",
        "body_params": {
          "entity_key": "entity"
        }
      },
      "entitlement": "query_dsl_v1"
    },
    {
      "port_id": "records.bulk_delete",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/bulk-delete",
        "source": "apps/pc-gateway/src/routes/record-operations.ts",
        "handler": "postRecordBulkDeleteRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/records/:entity/bulk-delete",
        "files": {
          "pages": "functions/api/records/[entity]/bulk-delete.js",
          "nuxt": "server/api/records/[entity]/bulk-delete.post.ts"
        },
        "adapter": "generic",
        "auth": "session",
        "body_params": {
          "entity_key": "entity"
        }
      },
      "entitlement": "query_dsl_v1"
    },
    {
      "port_id": "imports.create",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/imports/sessions",
        "source": "apps/pc-gateway/src/routes/import-sessions.ts",
        "handler": "postImportSessionCreateRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/imports",
        "files": {
          "pages": "functions/api/imports.js",
          "nuxt": "server/api/imports.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "bulk_import"
    },
    {
      "port_id": "imports.get",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/records/imports/sessions/:session_id",
        "source": "apps/pc-gateway/src/routes/import-sessions.ts",
        "handler": "getImportSessionStatusRoute"
      },
      "bff": {
        "method": "GET",
        "path": "/api/imports/:session_id",
        "files": {
          "pages": "functions/api/imports/[session_id].js",
          "nuxt": "server/api/imports/[session_id].get.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "bulk_import"
    },
    {
      "port_id": "imports.preview",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/imports/sessions/:session_id/preview",
        "source": "apps/pc-gateway/src/routes/import-sessions.ts",
        "handler": "postImportSessionPreviewRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/imports/:session_id/preview",
        "files": {
          "pages": "functions/api/imports/[session_id]/preview.js",
          "nuxt": "server/api/imports/[session_id]/preview.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "bulk_import"
    },
    {
      "port_id": "imports.map_fields",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/imports/sessions/:session_id/map-fields",
        "source": "apps/pc-gateway/src/routes/import-sessions.ts",
        "handler": "postImportSessionMapFieldsRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/imports/:session_id/map-fields",
        "files": {
          "pages": "functions/api/imports/[session_id]/map-fields.js",
          "nuxt": "server/api/imports/[session_id]/map-fields.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "bulk_import"
    },
    {
      "port_id": "imports.validate",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/imports/sessions/:session_id/validate",
        "source": "apps/pc-gateway/src/routes/import-sessions.ts",
        "handler": "postImportSessionValidateRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/imports/:session_id/validate",
        "files": {
          "pages": "functions/api/imports/[session_id]/validate.js",
          "nuxt": "server/api/imports/[session_id]/validate.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "bulk_import"
    },
    {
      "port_id": "imports.commit",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/imports/sessions/:session_id/commit",
        "source": "apps/pc-gateway/src/routes/import-sessions.ts",
        "handler": "postImportSessionCommitRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/imports/:session_id/commit",
        "files": {
          "pages": "functions/api/imports/[session_id]/commit.js",
          "nuxt": "server/api/imports/[session_id]/commit.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "bulk_import"
    },
    {
      "port_id": "imports.cancel",
      "cloud": {
        "transport": "http",
        "method": "POST",
        "path": "/v1/projects/:project_id/records/imports/sessions/:session_id/cancel",
        "source": "apps/pc-gateway/src/routes/import-sessions.ts",
        "handler": "postImportSessionCancelRoute"
      },
      "bff": {
        "method": "POST",
        "path": "/api/imports/:session_id/cancel",
        "files": {
          "pages": "functions/api/imports/[session_id]/cancel.js",
          "nuxt": "server/api/imports/[session_id]/cancel.post.ts"
        },
        "adapter": "generic",
        "auth": "staff"
      },
      "entitlement": "bulk_import"
    },
    {
      "port_id": "diagnostics.health",
      "cloud": {
        "transport": "http",
        "method": "GET",
        "path": "/v1/projects/:project_id/__p2hs/health",
        "source": "apps/pc-gateway/src/index.ts",
        "handler": "handleProjectRoutes"
      },
      "bff": {
        "method": "GET",
        "path": "/api/__p2hs/health",
        "adapter": "dispatcher",
        "auth": "public"
      },
      "routing": {
        "owner": "cloud",
        "surface": "dispatcher"
      },
      "entitlement": "cloud"
    },
    {
      "port_id": "diagnostics.unknown",
      "cloud": {
        "transport": "http",
        "method": "*",
        "path": "/v1/projects/:project_id/:path",
        "source": "apps/pc-gateway/src/index.ts",
        "handler": "handleProjectRoutes"
      },
      "bff": {
        "method": "*",
        "path": "/api/:path*",
        "adapter": "dispatcher",
        "auth": "public"
      },
      "routing": {
        "owner": "cloud",
        "surface": "dispatcher"
      },
      "entitlement": "cloud"
    }
  ]
}
