{"version":3,"file":"beta-get-project-network-bans.cjs","names":["z","action"],"sources":["../../src/actions/beta-get-project-network-bans.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { supabase } from \"../app\";\n\nexport const SupabaseBetaGetProjectNetworkBansInput = z.object({\n  ref: z.string().describe(\"The unique project reference identifier for the Supabase project. Must be a valid 20-character project ref. You can retrieve valid project refs using the 'List all projects' action.\"),\n}).describe(\"Request schema for retrieving network bans for a Supabase project.\");\nexport const SupabaseBetaGetProjectNetworkBansOutput = z.object({\n  banned_ipv4_addresses: z.array(z.string()).describe(\"List of IPv4 addresses that are currently banned for the specified project. Empty array when no bans are configured.\"),\n}).passthrough().describe(\"Response body for [Beta] Gets project's network bans (POST /v1/projects/{ref}/network-bans/retrieve).\\nNetwork bans configuration for the project.\");\n\nexport const supabaseBetaGetProjectNetworkBans: AppAction<\n  typeof SupabaseBetaGetProjectNetworkBansInput,\n  typeof SupabaseBetaGetProjectNetworkBansOutput,\n  typeof supabase.credential\n> = action(\"SUPABASE_BETA_GET_PROJECT_NETWORK_BANS\", {\n  slug: \"supabase-beta-get-project-network-bans\",\n  name: \"Retrieve network bans for project\",\n  description: \"Retrieves the list of banned IPv4 addresses for a Supabase project using its unique project reference string; this is a read-only operation.\",\n  input: SupabaseBetaGetProjectNetworkBansInput,\n  output: SupabaseBetaGetProjectNetworkBansOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uLAAuL,EAClN,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sHAAsH,EAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oJAAoJ;AAE9K,MAAa,oCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}