[{"data":1,"prerenderedAt":12668},["ShallowReactive",2],{"docs-navigation":3,"content-query-1ybo5cREMS":342},[4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,169,172,175,178,181,184,187,190,193,196,199,202,205,208,211,214,217,220,223,226,229,232,235,238,241,244,247,250,253,256,259,262,265,268,271,274,277,280,283,285,288,291,294,297,300,303,306,309,312,315,318,321,324,327,330,333,336,339],{"_path":5,"title":6},"/docs/account/account-management","Account management",{"_path":8,"title":9},"/docs/account/mfa","Multi-factor authentication (MFA)",{"_path":11,"title":12},"/docs/account/team","Teams and sub-accounts",{"_path":14,"title":15},"/docs/account/billing-and-subscriptions","Billing & subscriptions",{"_path":17,"title":18},"/docs/account/access-tokens","Webhook Relay access tokens: permissions and subscription scopes",{"_path":20,"title":21},"/docs/clawhub","Webhook Relay on ClawHub",{"_path":23,"title":24},"/docs/email","Receive emails as webhooks",{"_path":26,"title":27},"/docs/email/payload","Email webhook payload",{"_path":29,"title":30},"/docs/email/filtering-and-policy","Sender filtering & policy",{"_path":32,"title":33},"/docs/email/cli","Create & poll email addresses from the CLI",{"_path":35,"title":36},"/docs","Getting Started",{"_path":38,"title":39},"/docs/installation/cli","CLI",{"_path":41,"title":42},"/docs/installation/docker","Docker container",{"_path":44,"title":45},"/docs/installation/docker-compose","Docker Compose",{"_path":47,"title":48},"/docs/installation/kubernetes","Kubernetes",{"_path":50,"title":51},"/docs/installation/autostart-windows","Autostart (Windows)",{"_path":53,"title":54},"/docs/installation/autostart-linux","Autostart (Linux)",{"_path":56,"title":57},"/docs/installation/autostart-macos","Autostart (MacOS)",{"_path":59,"title":60},"/docs/installation/behind-proxy","HTTP proxy configuration",{"_path":62,"title":63},"/docs/mcp","MCP Server",{"_path":65,"title":66},"/docs/outbound","Outbound Gateway: send webhooks to your customers",{"_path":68,"title":69},"/docs/outbound/setup","Set up the Outbound Gateway",{"_path":71,"title":72},"/docs/outbound/receiving","Receive and verify outbound webhooks",{"_path":74,"title":75},"/docs/outbound/operating","Monitor, retry and recover deliveries",{"_path":77,"title":78},"/docs/outbound/migrate","Migrate to the Outbound Gateway",{"_path":80,"title":81},"/docs/outbound/migrate/svix","Migrate from Svix",{"_path":83,"title":84},"/docs/outbound/migrate/hookdeck-outpost","Migrate from Hookdeck Outpost",{"_path":86,"title":87},"/docs/outbound/migrate/convoy","Migrate from Convoy",{"_path":89,"title":90},"/docs/outbound/migrate/hook0","Migrate from Hook0",{"_path":92,"title":93},"/docs/outbound/migrate/diy","Migrate a homegrown webhook sender",{"_path":95,"title":96},"/docs/security","Security & Tech",{"_path":98,"title":99},"/docs/service-connections","Service Connections",{"_path":101,"title":102},"/docs/service-connections/ai-providers","AI provider connections",{"_path":104,"title":105},"/docs/service-connections/aws_s3","AWS S3",{"_path":107,"title":108},"/docs/service-connections/aws_sns","AWS SNS",{"_path":110,"title":111},"/docs/service-connections/aws_sqs","AWS SQS",{"_path":113,"title":114},"/docs/service-connections/azure","Azure",{"_path":116,"title":117},"/docs/service-connections/gcp_gcs","GCP Cloud Storage",{"_path":119,"title":120},"/docs/service-connections/gcp_pubsub","GCP Pub/Sub",{"_path":122,"title":123},"/docs/service-connections/secrets","Secrets",{"_path":125,"title":126},"/docs/skills","Agent Skills",{"_path":128,"title":129},"/docs/skills-cli","skills.sh — the Agent Skills CLI",{"_path":131,"title":132},"/docs/tunnels/demoing-your-website","Demoing your website",{"_path":134,"title":135},"/docs/tunnels/regions","Regions",{"_path":137,"title":138},"/docs/tutorials/cicd/jenkins-bitbucket","Jenkins and Bitbucket",{"_path":140,"title":141},"/docs/tutorials/cicd/jenkins-github","Jenkins and GitHub",{"_path":143,"title":144},"/docs/tutorials/cicd/jenkins-plugin","Jenkins Plugin",{"_path":146,"title":147},"/docs/tutorials/cicd/jenkins-plugin-multibranch","Jenkins Multibranch Pipelines",{"_path":149,"title":150},"/docs/tutorials/cicd/kubernetes-operator","Kubernetes Operator",{"_path":152,"title":153},"/docs/tutorials/cicd/terraform-atlantis","Terraform Atlantis",{"_path":155,"title":156},"/docs/tutorials/cicd/webhook-exec","Execute scripts on webhook",{"_path":158,"title":159},"/docs/tutorials/edge/home-assistant","Home Assistant",{"_path":161,"title":162},"/docs/tutorials/edge/javascript-app","JavaScript app",{"_path":164,"title":165},"/docs/tutorials/edge/node-red","Node-RED",{"_path":167,"title":168},"/docs/tutorials/email/airtable","Email to Airtable",{"_path":170,"title":171},"/docs/tutorials/email/api","Email to API",{"_path":173,"title":174},"/docs/tutorials/email/database","Email to Database",{"_path":176,"title":177},"/docs/tutorials/email/discord","Email to Discord",{"_path":179,"title":180},"/docs/tutorials/email/google-sheets","Email to Google Sheets",{"_path":182,"title":183},"/docs/tutorials/email/microsoft-teams","Email to Microsoft Teams",{"_path":185,"title":186},"/docs/tutorials/email/notion","Email to Notion",{"_path":188,"title":189},"/docs/tutorials/email/slack","Email to Slack",{"_path":191,"title":192},"/docs/tutorials","Tutorials",{"_path":194,"title":195},"/docs/tutorials/n8n/email-trigger","n8n Email Trigger (Inbound Email)",{"_path":197,"title":198},"/docs/tutorials/n8n/webhook-trigger","n8n Webhook Trigger (No Public IP)",{"_path":200,"title":201},"/docs/tutorials/n8n/whatsapp-cloud-api-webhook","n8n WhatsApp Cloud API Webhook Setup",{"_path":203,"title":204},"/docs/tutorials/outbound/send-webhooks-nodejs","Send webhooks to your customers from a Node.js / TypeScript app",{"_path":206,"title":207},"/docs/tutorials/outbound/send-webhooks-go","Send webhooks to your customers from a Go service",{"_path":209,"title":210},"/docs/tutorials/outbound/nextjs-saas-webhooks","Add webhooks to a Next.js SaaS app",{"_path":212,"title":213},"/docs/tutorials/transform/docker-to-slack","DockerHub webhook to Slack notification",{"_path":215,"title":216},"/docs/tutorials/transform/enrich-webhooks","Enrich webhooks from APIs",{"_path":218,"title":219},"/docs/tutorials/transform/stripe-to-plain","Sync Stripe subscriptions to Plain.com tenants",{"_path":221,"title":222},"/docs/tutorials/warehouse/bigquery","GCP BigQuery",{"_path":224,"title":225},"/docs/webhooks/alerts","Alerts",{"_path":227,"title":228},"/docs/webhooks/auth/username-password","Username and password",{"_path":230,"title":231},"/docs/webhooks/auth/hmac","HMAC",{"_path":233,"title":234},"/docs/webhooks/auth/jwt","JWT authentication",{"_path":236,"title":237},"/docs/webhooks/auth/http-method","Auth using request method",{"_path":239,"title":240},"/docs/webhooks/cors","CORS for webhooks",{"_path":242,"title":243},"/docs/webhooks/cron/using-cron-webhooks","Schedule recurring webhooks",{"_path":245,"title":246},"/docs/webhooks/custom-domains","Custom webhook domains",{"_path":248,"title":249},"/docs/webhooks/custom-subdomains","Custom webhook subdomains",{"_path":251,"title":252},"/docs/webhooks/custom-webhook-response","Custom response to webhooks",{"_path":254,"title":255},"/docs/webhooks/durable-webhooks","Durable webhooks: reliable delivery with automatic retries",{"_path":257,"title":258},"/docs/webhooks/functions/manipulating-json","JSON encoding",{"_path":260,"title":261},"/docs/webhooks/functions/make-http-request","Make HTTP request",{"_path":263,"title":264},"/docs/webhooks/functions/modify-request","Modify webhook headers, body, method and path",{"_path":266,"title":267},"/docs/webhooks/functions/multipart-form-data","Multipart form to JSON",{"_path":269,"title":270},"/docs/webhooks/functions/url-encoded-data","URL Encoded Form",{"_path":272,"title":273},"/docs/webhooks/functions/working-with-time","Working with time",{"_path":275,"title":276},"/docs/webhooks/functions/send-emails","Sending emails",{"_path":278,"title":279},"/docs/webhooks/functions/crypto-functions","Base64, encryption",{"_path":281,"title":282},"/docs/webhooks/functions/integrate-into-cicd","Integrating into CI/CD",{"_path":284,"title":222},"/docs/webhooks/functions/big-query",{"_path":286,"title":287},"/docs/webhooks/functions/accessing-metadata","Accessing metadata",{"_path":289,"title":290},"/docs/webhooks/functions/response-functions","Response (post-delivery) functions",{"_path":292,"title":293},"/docs/webhooks/functions/alerting","Alerting from functions",{"_path":295,"title":296},"/docs/webhooks/functions/helper-libraries","Helper libraries",{"_path":298,"title":299},"/docs/webhooks/functions/transform-webhook-payload","Transform a webhook payload",{"_path":301,"title":302},"/docs/webhooks/functions/filter-webhooks","Filter or drop webhooks before forwarding",{"_path":304,"title":305},"/docs/webhooks/functions/provider-helpers","Provider-aware function helpers",{"_path":307,"title":308},"/docs/webhooks/functions","Webhook transformations (functions): modify body, headers, method and path",{"_path":310,"title":311},"/docs/webhooks/internal/localhost","Receive webhooks on localhost with the relay CLI",{"_path":313,"title":314},"/docs/webhooks/large-webhooks","Large Webhooks",{"_path":316,"title":317},"/docs/webhooks/outbound-throttling","Outbound throttling: control webhook delivery speed",{"_path":319,"title":320},"/docs/webhooks/polling-webhooks","Polling webhooks with /v1/events",{"_path":322,"title":323},"/docs/webhooks/public/public-destination","Forward to public URL",{"_path":325,"title":326},"/docs/webhooks/public/multiple-destination-urls","Forward webhooks to multiple destinations",{"_path":328,"title":329},"/docs/webhooks/replay-on-agent-connect","Webhook replay on agent connect: recover missed webhooks",{"_path":331,"title":332},"/docs/webhooks/static-ip-address","Static IP Address",{"_path":334,"title":335},"/docs/webhooks/tls-ssl-errors","Fix TLS/SSL handshake errors: unsupported protocol, wrong version number, handshake failure",{"_path":337,"title":338},"/docs/webhooks/websocket-server","Connecting to websocket server",{"_path":340,"title":341},"/docs/webhooks/zero-retention-buckets","Zero Retention Buckets",{"_path":83,"_dir":343,"_draft":344,"_partial":344,"_locale":345,"title":84,"description":346,"intro":347,"layout":348,"tags":349,"faq":355,"body":371,"_type":12661,"_id":12662,"_source":12663,"_file":12664,"_stem":12665,"_extension":12666,"sitemap":12667},"migrate",false,"","Move outbound webhooks from Hookdeck Outpost to the Webhook Relay Outbound Gateway: tenants, destinations and topics mapped to consumers, endpoints and event types, destination secrets imported, signature changes, a dual-publish cutover with rollback and a TypeScript import script.","An Outpost tenant becomes a consumer, a webhook destination becomes an endpoint with its existing signing secret, and a topic becomes an event type. How much your customers change depends on the signature mode your Outpost instance uses.","doc",[350,351,352,353,354],"Outbound webhooks","Hookdeck Outpost alternative","Outpost migration","Webhook migration","Standard Webhooks",[356,359,362,365,368],{"q":357,"a":358},"What do my customers change when I move from Hookdeck Outpost to Webhook Relay?","It depends on Outpost's webhook mode. In Standard Webhooks mode, Outpost already sends webhook-id, webhook-timestamp and webhook-signature, so a customer whose destination secret is imported changes nothing. In Outpost's default mode, receivers verify a hex HMAC of the body in x-outpost-signature, so they need to add Standard Webhooks verification, but they can keep the same secret value when it is imported.",{"q":360,"a":361},"Can I keep my Outpost destination secrets?","Usually, yes. The import script reads each webhook destination's credentials.secret from the Outpost API and passes it to Webhook Relay when the endpoint is created. Webhook Relay accepts 32 to 100 standard base64 characters with an optional whsec_ prefix. Outpost's default generated secrets, whsec_ followed by 64 hex characters, fit that format. A secret that doesn't fit, for example one from a custom secret template that uses other characters, is replaced with a new whsec_ secret and the script reports that endpoint.",{"q":363,"a":364},"Can I migrate Outpost destinations that aren't webhooks?","No. Outbound Gateway endpoints are public HTTPS URLs. Destinations such as SQS, Pub/Sub, Kafka or S3 are not supported, so keep those on Outpost or deliver them another way. The import script reports them and skips them.",{"q":366,"a":367},"How do Outpost topic wildcards map to Webhook Relay event types?","An endpoint subscribes to a list of event type names or to every event type with an asterisk. A destination subscribed to all topics becomes an endpoint subscribed to all event types. A pattern such as user.* has no direct equivalent, so the import script expands it into the matching topic names from your Outpost topic list.",{"q":369,"a":370},"Does Webhook Relay support publishing an event to one specific destination?","No. A published message goes to every endpoint of the consumer that subscribes to its event type. If you publish to a single Outpost destination with destination_id, use a dedicated event type for that endpoint, or attach a Function that drops messages the endpoint shouldn't receive.",{"type":372,"children":373,"toc":12648},"root",[374,405,434,441,810,816,1164,1194,1200,1213,1441,1453,1635,1656,2086,2091,2292,2298,2303,2519,2538,2719,2738,2815,2821,2843,3077,3150,3177,3720,3746,3752,3944,3950,4351,4357,4376,4395,4421,12528,12540,12546,12605,12611,12642],{"type":375,"tag":376,"props":377,"children":378},"element","p",{},[379,386,388,395,397,403],{"type":375,"tag":380,"props":381,"children":382},"strong",{},[383],{"type":384,"value":385},"text","Moving from Hookdeck Outpost maps one-to-one for webhook destinations.",{"type":384,"value":387}," A tenant becomes a consumer, a webhook destination becomes an endpoint of that consumer, a topic becomes an event type, and ",{"type":375,"tag":389,"props":390,"children":392},"code",{"className":391},[],[393],{"type":384,"value":394},"outpost.publish",{"type":384,"value":396}," becomes ",{"type":375,"tag":389,"props":398,"children":400},{"className":399},[],[401],{"type":384,"value":402},"relay.outbound.messages.publish",{"type":384,"value":404},". Each destination's signing secret is imported when it fits the Standard Webhooks format, which Outpost's generated secrets do. If your instance runs in Standard Webhooks mode, customers with an imported secret change nothing; in Outpost's default mode, receivers switch their verification code to Standard Webhooks but keep their secret.",{"type":375,"tag":376,"props":406,"children":407},{},[408,410,416,418,424,426,432],{"type":384,"value":409},"Read the ",{"type":375,"tag":411,"props":412,"children":413},"a",{"href":77},[414],{"type":384,"value":415},"migration overview",{"type":384,"value":417}," first for the plan limits, secret import rules and the general cutover plan. For how the Outbound Gateway compares with Outpost on price and features, see the ",{"type":375,"tag":411,"props":419,"children":421},{"href":420},"/outbound-webhooks/",[422],{"type":384,"value":423},"Outbound Gateway overview",{"type":384,"value":425}," and the ",{"type":375,"tag":411,"props":427,"children":429},{"href":428},"/blog/webhooks-as-a-service-comparison/",[430],{"type":384,"value":431},"webhooks-as-a-service comparison",{"type":384,"value":433},".",{"type":375,"tag":435,"props":436,"children":438},"h2",{"id":437},"concept-map",[439],{"type":384,"value":440},"Concept map",{"type":375,"tag":442,"props":443,"children":444},"table",{},[445,469],{"type":375,"tag":446,"props":447,"children":448},"thead",{},[449],{"type":375,"tag":450,"props":451,"children":452},"tr",{},[453,459,464],{"type":375,"tag":454,"props":455,"children":456},"th",{},[457],{"type":384,"value":458},"Hookdeck Outpost",{"type":375,"tag":454,"props":460,"children":461},{},[462],{"type":384,"value":463},"Outbound Gateway",{"type":375,"tag":454,"props":465,"children":466},{},[467],{"type":384,"value":468},"Notes",{"type":375,"tag":470,"props":471,"children":472},"tbody",{},[473,490,516,556,574,592,630,657,692,718,752,776,792],{"type":375,"tag":450,"props":474,"children":475},{},[476,482,487],{"type":375,"tag":477,"props":478,"children":479},"td",{},[480],{"type":384,"value":481},"Outpost instance (managed or self-hosted)",{"type":375,"tag":477,"props":483,"children":484},{},[485],{"type":384,"value":486},"Webhook Relay account",{"type":375,"tag":477,"props":488,"children":489},{},[],{"type":375,"tag":450,"props":491,"children":492},{},[493,498,503],{"type":375,"tag":477,"props":494,"children":495},{},[496],{"type":384,"value":497},"Tenant",{"type":375,"tag":477,"props":499,"children":500},{},[501],{"type":384,"value":502},"Consumer",{"type":375,"tag":477,"props":504,"children":505},{},[506,508,514],{"type":384,"value":507},"Use the tenant ID as the consumer ID (up to 128 letters, numbers, dots, colons, underscores or hyphens). Tenant ",{"type":375,"tag":389,"props":509,"children":511},{"className":510},[],[512],{"type":384,"value":513},"metadata.name",{"type":384,"value":515}," can become the consumer name.",{"type":375,"tag":450,"props":517,"children":518},{},[519,530,535],{"type":375,"tag":477,"props":520,"children":521},{},[522,524],{"type":384,"value":523},"Destination, type ",{"type":375,"tag":389,"props":525,"children":527},{"className":526},[],[528],{"type":384,"value":529},"webhook",{"type":375,"tag":477,"props":531,"children":532},{},[533],{"type":384,"value":534},"Endpoint",{"type":375,"tag":477,"props":536,"children":537},{},[538,540,546,548,554],{"type":384,"value":539},"Public HTTPS URL. ",{"type":375,"tag":389,"props":541,"children":543},{"className":542},[],[544],{"type":384,"value":545},"credentials.secret",{"type":384,"value":547}," is imported when it fits the format, otherwise the endpoint gets a new ",{"type":375,"tag":389,"props":549,"children":551},{"className":550},[],[552],{"type":384,"value":553},"whsec_",{"type":384,"value":555}," secret.",{"type":375,"tag":450,"props":557,"children":558},{},[559,564,569],{"type":375,"tag":477,"props":560,"children":561},{},[562],{"type":384,"value":563},"Destination, other types (SQS, Pub/Sub, Kafka, S3, …)",{"type":375,"tag":477,"props":565,"children":566},{},[567],{"type":384,"value":568},"Not supported",{"type":375,"tag":477,"props":570,"children":571},{},[572],{"type":384,"value":573},"Keep on Outpost or deliver another way.",{"type":375,"tag":450,"props":575,"children":576},{},[577,582,587],{"type":375,"tag":477,"props":578,"children":579},{},[580],{"type":384,"value":581},"Topic",{"type":375,"tag":477,"props":583,"children":584},{},[585],{"type":384,"value":586},"Event type",{"type":375,"tag":477,"props":588,"children":589},{},[590],{"type":384,"value":591},"Same name.",{"type":375,"tag":450,"props":593,"children":594},{},[595,606,617],{"type":375,"tag":477,"props":596,"children":597},{},[598,600],{"type":384,"value":599},"Destination ",{"type":375,"tag":389,"props":601,"children":603},{"className":602},[],[604],{"type":384,"value":605},"topics: \"*\"",{"type":375,"tag":477,"props":607,"children":608},{},[609,611],{"type":384,"value":610},"Endpoint ",{"type":375,"tag":389,"props":612,"children":614},{"className":613},[],[615],{"type":384,"value":616},"event_types: [\"*\"]",{"type":375,"tag":477,"props":618,"children":619},{},[620,622,628],{"type":384,"value":621},"Wildcard patterns such as ",{"type":375,"tag":389,"props":623,"children":625},{"className":624},[],[626],{"type":384,"value":627},"user.*",{"type":384,"value":629}," are expanded to topic names.",{"type":375,"tag":450,"props":631,"children":632},{},[633,643,652],{"type":375,"tag":477,"props":634,"children":635},{},[636,637],{"type":384,"value":599},{"type":375,"tag":389,"props":638,"children":640},{"className":639},[],[641],{"type":384,"value":642},"filter",{"type":375,"tag":477,"props":644,"children":645},{},[646],{"type":375,"tag":411,"props":647,"children":649},{"href":648},"/docs/outbound/operating#transform-or-drop-payloads-with-functions",[650],{"type":384,"value":651},"Function",{"type":375,"tag":477,"props":653,"children":654},{},[655],{"type":384,"value":656},"A Function on the endpoint can drop messages.",{"type":375,"tag":450,"props":658,"children":659},{},[660,669,679],{"type":375,"tag":477,"props":661,"children":662},{},[663],{"type":375,"tag":389,"props":664,"children":666},{"className":665},[],[667],{"type":384,"value":668},"config.custom_headers",{"type":375,"tag":477,"props":670,"children":671},{},[672,673],{"type":384,"value":610},{"type":375,"tag":389,"props":674,"children":676},{"className":675},[],[677],{"type":384,"value":678},"headers",{"type":375,"tag":477,"props":680,"children":681},{},[682,684,690],{"type":384,"value":683},"Up to 32. ",{"type":375,"tag":389,"props":685,"children":687},{"className":686},[],[688],{"type":384,"value":689},"webhook-*",{"type":384,"value":691}," headers are reserved.",{"type":375,"tag":450,"props":693,"children":694},{},[695,708,713],{"type":375,"tag":477,"props":696,"children":697},{},[698,700,706],{"type":384,"value":699},"Event ",{"type":375,"tag":389,"props":701,"children":703},{"className":702},[],[704],{"type":384,"value":705},"metadata",{"type":384,"value":707}," (sent as headers)",{"type":375,"tag":477,"props":709,"children":710},{},[711],{"type":384,"value":712},"No per-message headers",{"type":375,"tag":477,"props":714,"children":715},{},[716],{"type":384,"value":717},"Put per-event values in the payload.",{"type":375,"tag":450,"props":719,"children":720},{},[721,731,749],{"type":375,"tag":477,"props":722,"children":723},{},[724,725],{"type":384,"value":699},{"type":375,"tag":389,"props":726,"children":728},{"className":727},[],[729],{"type":384,"value":730},"id",{"type":375,"tag":477,"props":732,"children":733},{},[734,740,741,747],{"type":375,"tag":389,"props":735,"children":737},{"className":736},[],[738],{"type":384,"value":739},"event_id",{"type":384,"value":425},{"type":375,"tag":389,"props":742,"children":744},{"className":743},[],[745],{"type":384,"value":746},"Idempotency-Key",{"type":384,"value":748}," header",{"type":375,"tag":477,"props":750,"children":751},{},[],{"type":375,"tag":450,"props":753,"children":754},{},[755,766,771],{"type":375,"tag":477,"props":756,"children":757},{},[758,760],{"type":384,"value":759},"Publish with ",{"type":375,"tag":389,"props":761,"children":763},{"className":762},[],[764],{"type":384,"value":765},"destination_id",{"type":375,"tag":477,"props":767,"children":768},{},[769],{"type":384,"value":770},"No equivalent",{"type":375,"tag":477,"props":772,"children":773},{},[774],{"type":384,"value":775},"Messages go to every subscribed endpoint of the consumer.",{"type":375,"tag":450,"props":777,"children":778},{},[779,784,789],{"type":375,"tag":477,"props":780,"children":781},{},[782],{"type":384,"value":783},"Disabled destination",{"type":375,"tag":477,"props":785,"children":786},{},[787],{"type":384,"value":788},"Paused endpoint",{"type":375,"tag":477,"props":790,"children":791},{},[],{"type":375,"tag":450,"props":793,"children":794},{},[795,800,805],{"type":375,"tag":477,"props":796,"children":797},{},[798],{"type":384,"value":799},"Tenant portal",{"type":375,"tag":477,"props":801,"children":802},{},[803],{"type":384,"value":804},"Not available",{"type":375,"tag":477,"props":806,"children":807},{},[808],{"type":384,"value":809},"Manage endpoints from your own product with the API.",{"type":375,"tag":435,"props":811,"children":813},{"id":812},"api-map",[814],{"type":384,"value":815},"API map",{"type":375,"tag":442,"props":817,"children":818},{},[819,838],{"type":375,"tag":446,"props":820,"children":821},{},[822],{"type":375,"tag":450,"props":823,"children":824},{},[825,830,834],{"type":375,"tag":454,"props":826,"children":827},{},[828],{"type":384,"value":829},"Task",{"type":375,"tag":454,"props":831,"children":832},{},[833],{"type":384,"value":458},{"type":375,"tag":454,"props":835,"children":836},{},[837],{"type":384,"value":463},{"type":375,"tag":470,"props":839,"children":840},{},[841,867,893,919,945,971,997,1044,1085,1113,1142],{"type":375,"tag":450,"props":842,"children":843},{},[844,849,858],{"type":375,"tag":477,"props":845,"children":846},{},[847],{"type":384,"value":848},"Create a customer",{"type":375,"tag":477,"props":850,"children":851},{},[852],{"type":375,"tag":389,"props":853,"children":855},{"className":854},[],[856],{"type":384,"value":857},"PUT /tenants/{tenant_id}",{"type":375,"tag":477,"props":859,"children":860},{},[861],{"type":375,"tag":389,"props":862,"children":864},{"className":863},[],[865],{"type":384,"value":866},"PUT /v1/outbound/consumers/{id}",{"type":375,"tag":450,"props":868,"children":869},{},[870,875,884],{"type":375,"tag":477,"props":871,"children":872},{},[873],{"type":384,"value":874},"List customers",{"type":375,"tag":477,"props":876,"children":877},{},[878],{"type":375,"tag":389,"props":879,"children":881},{"className":880},[],[882],{"type":384,"value":883},"GET /tenants",{"type":375,"tag":477,"props":885,"children":886},{},[887],{"type":375,"tag":389,"props":888,"children":890},{"className":889},[],[891],{"type":384,"value":892},"GET /v1/outbound/consumers",{"type":375,"tag":450,"props":894,"children":895},{},[896,901,910],{"type":375,"tag":477,"props":897,"children":898},{},[899],{"type":384,"value":900},"Add an endpoint",{"type":375,"tag":477,"props":902,"children":903},{},[904],{"type":375,"tag":389,"props":905,"children":907},{"className":906},[],[908],{"type":384,"value":909},"POST /tenants/{tenant_id}/destinations",{"type":375,"tag":477,"props":911,"children":912},{},[913],{"type":375,"tag":389,"props":914,"children":916},{"className":915},[],[917],{"type":384,"value":918},"POST /v1/outbound/consumers/{consumer}/endpoints",{"type":375,"tag":450,"props":920,"children":921},{},[922,927,936],{"type":375,"tag":477,"props":923,"children":924},{},[925],{"type":384,"value":926},"List endpoints",{"type":375,"tag":477,"props":928,"children":929},{},[930],{"type":375,"tag":389,"props":931,"children":933},{"className":932},[],[934],{"type":384,"value":935},"GET /tenants/{tenant_id}/destinations",{"type":375,"tag":477,"props":937,"children":938},{},[939],{"type":375,"tag":389,"props":940,"children":942},{"className":941},[],[943],{"type":384,"value":944},"GET /v1/outbound/consumers/{consumer}/endpoints",{"type":375,"tag":450,"props":946,"children":947},{},[948,953,962],{"type":375,"tag":477,"props":949,"children":950},{},[951],{"type":384,"value":952},"List topics / event types",{"type":375,"tag":477,"props":954,"children":955},{},[956],{"type":375,"tag":389,"props":957,"children":959},{"className":958},[],[960],{"type":384,"value":961},"GET /topics",{"type":375,"tag":477,"props":963,"children":964},{},[965],{"type":375,"tag":389,"props":966,"children":968},{"className":967},[],[969],{"type":384,"value":970},"GET /v1/outbound/event-types",{"type":375,"tag":450,"props":972,"children":973},{},[974,979,988],{"type":375,"tag":477,"props":975,"children":976},{},[977],{"type":384,"value":978},"Publish",{"type":375,"tag":477,"props":980,"children":981},{},[982],{"type":375,"tag":389,"props":983,"children":985},{"className":984},[],[986],{"type":384,"value":987},"POST /publish",{"type":375,"tag":477,"props":989,"children":990},{},[991],{"type":375,"tag":389,"props":992,"children":994},{"className":993},[],[995],{"type":384,"value":996},"POST /v1/outbound/messages",{"type":375,"tag":450,"props":998,"children":999},{},[1000,1005,1028],{"type":375,"tag":477,"props":1001,"children":1002},{},[1003],{"type":384,"value":1004},"Retry one delivery",{"type":375,"tag":477,"props":1006,"children":1007},{},[1008,1014,1016,1021,1023],{"type":375,"tag":389,"props":1009,"children":1011},{"className":1010},[],[1012],{"type":384,"value":1013},"POST /retry",{"type":384,"value":1015}," with ",{"type":375,"tag":389,"props":1017,"children":1019},{"className":1018},[],[1020],{"type":384,"value":739},{"type":384,"value":1022}," and ",{"type":375,"tag":389,"props":1024,"children":1026},{"className":1025},[],[1027],{"type":384,"value":765},{"type":375,"tag":477,"props":1029,"children":1030},{},[1031,1037,1038],{"type":375,"tag":389,"props":1032,"children":1034},{"className":1033},[],[1035],{"type":384,"value":1036},"POST /v1/outbound/endpoints/{id}/retry",{"type":384,"value":1015},{"type":375,"tag":389,"props":1039,"children":1041},{"className":1040},[],[1042],{"type":384,"value":1043},"message_id",{"type":375,"tag":450,"props":1045,"children":1046},{},[1047,1052,1069],{"type":375,"tag":477,"props":1048,"children":1049},{},[1050],{"type":384,"value":1051},"Disable / enable",{"type":375,"tag":477,"props":1053,"children":1054},{},[1055,1061,1063],{"type":375,"tag":389,"props":1056,"children":1058},{"className":1057},[],[1059],{"type":384,"value":1060},"PUT /tenants/{tenant_id}/destinations/{destination_id}/disable",{"type":384,"value":1062}," / ",{"type":375,"tag":389,"props":1064,"children":1066},{"className":1065},[],[1067],{"type":384,"value":1068},".../enable",{"type":375,"tag":477,"props":1070,"children":1071},{},[1072,1078,1079],{"type":375,"tag":389,"props":1073,"children":1075},{"className":1074},[],[1076],{"type":384,"value":1077},"POST /v1/outbound/endpoints/{id}/pause",{"type":384,"value":1062},{"type":375,"tag":389,"props":1080,"children":1082},{"className":1081},[],[1083],{"type":384,"value":1084},".../resume",{"type":375,"tag":450,"props":1086,"children":1087},{},[1088,1093,1104],{"type":375,"tag":477,"props":1089,"children":1090},{},[1091],{"type":384,"value":1092},"Read a secret",{"type":375,"tag":477,"props":1094,"children":1095},{},[1096,1097,1102],{"type":384,"value":599},{"type":375,"tag":389,"props":1098,"children":1100},{"className":1099},[],[1101],{"type":384,"value":545},{"type":384,"value":1103}," (readable for webhook destinations)",{"type":375,"tag":477,"props":1105,"children":1106},{},[1107],{"type":375,"tag":389,"props":1108,"children":1110},{"className":1109},[],[1111],{"type":384,"value":1112},"POST /v1/outbound/endpoints/{id}/secret/reveal",{"type":375,"tag":450,"props":1114,"children":1115},{},[1116,1121,1126],{"type":375,"tag":477,"props":1117,"children":1118},{},[1119],{"type":384,"value":1120},"Import a secret",{"type":375,"tag":477,"props":1122,"children":1123},{},[1124],{"type":384,"value":1125},"n/a",{"type":375,"tag":477,"props":1127,"children":1128},{},[1129,1135,1137],{"type":375,"tag":389,"props":1130,"children":1132},{"className":1131},[],[1133],{"type":384,"value":1134},"secret",{"type":384,"value":1136}," on ",{"type":375,"tag":389,"props":1138,"children":1140},{"className":1139},[],[1141],{"type":384,"value":918},{"type":375,"tag":450,"props":1143,"children":1144},{},[1145,1150,1155],{"type":375,"tag":477,"props":1146,"children":1147},{},[1148],{"type":384,"value":1149},"Rotate a secret",{"type":375,"tag":477,"props":1151,"children":1152},{},[1153],{"type":384,"value":1154},"See Outpost's secret rotation docs",{"type":375,"tag":477,"props":1156,"children":1157},{},[1158],{"type":375,"tag":389,"props":1159,"children":1161},{"className":1160},[],[1162],{"type":384,"value":1163},"POST /v1/outbound/endpoints/{id}/secret/rotate",{"type":375,"tag":376,"props":1165,"children":1166},{},[1167,1169,1177,1179,1185,1187,1193],{"type":384,"value":1168},"Outpost routes are from the ",{"type":375,"tag":411,"props":1170,"children":1174},{"href":1171,"rel":1172},"https://github.com/hookdeck/outpost/blob/main/docs/apis/openapi.yaml",[1173],"nofollow",[1175],{"type":384,"value":1176},"Outpost OpenAPI spec",{"type":384,"value":1178},". The managed API base URL is ",{"type":375,"tag":389,"props":1180,"children":1182},{"className":1181},[],[1183],{"type":384,"value":1184},"https://api.outpost.hookdeck.com/2025-07-01",{"type":384,"value":1186},"; a self-hosted instance serves the same paths under ",{"type":375,"tag":389,"props":1188,"children":1190},{"className":1189},[],[1191],{"type":384,"value":1192},"/api/v1",{"type":384,"value":433},{"type":375,"tag":1195,"props":1196,"children":1198},"h3",{"id":1197},"publish",[1199],{"type":384,"value":978},{"type":375,"tag":376,"props":1201,"children":1202},{},[1203,1205,1211],{"type":384,"value":1204},"Before, with ",{"type":375,"tag":389,"props":1206,"children":1208},{"className":1207},[],[1209],{"type":384,"value":1210},"@hookdeck/outpost-sdk",{"type":384,"value":1212},":",{"type":375,"tag":1214,"props":1215,"children":1216},"code-block",{},[1217],{"type":375,"tag":1218,"props":1219,"children":1223},"pre",{"className":1220,"code":1221,"language":1222,"meta":345,"style":345},"language-ts shiki shiki-themes github-dark","import { Outpost } from \"@hookdeck/outpost-sdk\";\n\nconst outpost = new Outpost({ apiKey: process.env.OUTPOST_API_KEY });\n\nawait outpost.publish({\n  id: \"evt_9001\",\n  tenantId: \"customer_42\",\n  topic: \"invoice.paid\",\n  data: { invoice_id: \"inv_123\", amount: 4900 },\n});\n","ts",[1224],{"type":375,"tag":389,"props":1225,"children":1226},{"__ignoreMap":345},[1227,1261,1271,1317,1325,1348,1367,1385,1403,1432],{"type":375,"tag":1228,"props":1229,"children":1232},"span",{"class":1230,"line":1231},"line",1,[1233,1239,1245,1250,1256],{"type":375,"tag":1228,"props":1234,"children":1236},{"style":1235},"--shiki-default:#F97583",[1237],{"type":384,"value":1238},"import",{"type":375,"tag":1228,"props":1240,"children":1242},{"style":1241},"--shiki-default:#E1E4E8",[1243],{"type":384,"value":1244}," { Outpost } ",{"type":375,"tag":1228,"props":1246,"children":1247},{"style":1235},[1248],{"type":384,"value":1249},"from",{"type":375,"tag":1228,"props":1251,"children":1253},{"style":1252},"--shiki-default:#9ECBFF",[1254],{"type":384,"value":1255}," \"@hookdeck/outpost-sdk\"",{"type":375,"tag":1228,"props":1257,"children":1258},{"style":1241},[1259],{"type":384,"value":1260},";\n",{"type":375,"tag":1228,"props":1262,"children":1264},{"class":1230,"line":1263},2,[1265],{"type":375,"tag":1228,"props":1266,"children":1268},{"emptyLinePlaceholder":1267},true,[1269],{"type":384,"value":1270},"\n",{"type":375,"tag":1228,"props":1272,"children":1274},{"class":1230,"line":1273},3,[1275,1280,1286,1291,1296,1302,1307,1312],{"type":375,"tag":1228,"props":1276,"children":1277},{"style":1235},[1278],{"type":384,"value":1279},"const",{"type":375,"tag":1228,"props":1281,"children":1283},{"style":1282},"--shiki-default:#79B8FF",[1284],{"type":384,"value":1285}," outpost",{"type":375,"tag":1228,"props":1287,"children":1288},{"style":1235},[1289],{"type":384,"value":1290}," =",{"type":375,"tag":1228,"props":1292,"children":1293},{"style":1235},[1294],{"type":384,"value":1295}," new",{"type":375,"tag":1228,"props":1297,"children":1299},{"style":1298},"--shiki-default:#B392F0",[1300],{"type":384,"value":1301}," Outpost",{"type":375,"tag":1228,"props":1303,"children":1304},{"style":1241},[1305],{"type":384,"value":1306},"({ apiKey: process.env.",{"type":375,"tag":1228,"props":1308,"children":1309},{"style":1282},[1310],{"type":384,"value":1311},"OUTPOST_API_KEY",{"type":375,"tag":1228,"props":1313,"children":1314},{"style":1241},[1315],{"type":384,"value":1316}," });\n",{"type":375,"tag":1228,"props":1318,"children":1320},{"class":1230,"line":1319},4,[1321],{"type":375,"tag":1228,"props":1322,"children":1323},{"emptyLinePlaceholder":1267},[1324],{"type":384,"value":1270},{"type":375,"tag":1228,"props":1326,"children":1328},{"class":1230,"line":1327},5,[1329,1334,1339,1343],{"type":375,"tag":1228,"props":1330,"children":1331},{"style":1235},[1332],{"type":384,"value":1333},"await",{"type":375,"tag":1228,"props":1335,"children":1336},{"style":1241},[1337],{"type":384,"value":1338}," outpost.",{"type":375,"tag":1228,"props":1340,"children":1341},{"style":1298},[1342],{"type":384,"value":1197},{"type":375,"tag":1228,"props":1344,"children":1345},{"style":1241},[1346],{"type":384,"value":1347},"({\n",{"type":375,"tag":1228,"props":1349,"children":1351},{"class":1230,"line":1350},6,[1352,1357,1362],{"type":375,"tag":1228,"props":1353,"children":1354},{"style":1241},[1355],{"type":384,"value":1356},"  id: ",{"type":375,"tag":1228,"props":1358,"children":1359},{"style":1252},[1360],{"type":384,"value":1361},"\"evt_9001\"",{"type":375,"tag":1228,"props":1363,"children":1364},{"style":1241},[1365],{"type":384,"value":1366},",\n",{"type":375,"tag":1228,"props":1368,"children":1370},{"class":1230,"line":1369},7,[1371,1376,1381],{"type":375,"tag":1228,"props":1372,"children":1373},{"style":1241},[1374],{"type":384,"value":1375},"  tenantId: ",{"type":375,"tag":1228,"props":1377,"children":1378},{"style":1252},[1379],{"type":384,"value":1380},"\"customer_42\"",{"type":375,"tag":1228,"props":1382,"children":1383},{"style":1241},[1384],{"type":384,"value":1366},{"type":375,"tag":1228,"props":1386,"children":1388},{"class":1230,"line":1387},8,[1389,1394,1399],{"type":375,"tag":1228,"props":1390,"children":1391},{"style":1241},[1392],{"type":384,"value":1393},"  topic: ",{"type":375,"tag":1228,"props":1395,"children":1396},{"style":1252},[1397],{"type":384,"value":1398},"\"invoice.paid\"",{"type":375,"tag":1228,"props":1400,"children":1401},{"style":1241},[1402],{"type":384,"value":1366},{"type":375,"tag":1228,"props":1404,"children":1406},{"class":1230,"line":1405},9,[1407,1412,1417,1422,1427],{"type":375,"tag":1228,"props":1408,"children":1409},{"style":1241},[1410],{"type":384,"value":1411},"  data: { invoice_id: ",{"type":375,"tag":1228,"props":1413,"children":1414},{"style":1252},[1415],{"type":384,"value":1416},"\"inv_123\"",{"type":375,"tag":1228,"props":1418,"children":1419},{"style":1241},[1420],{"type":384,"value":1421},", amount: ",{"type":375,"tag":1228,"props":1423,"children":1424},{"style":1282},[1425],{"type":384,"value":1426},"4900",{"type":375,"tag":1228,"props":1428,"children":1429},{"style":1241},[1430],{"type":384,"value":1431}," },\n",{"type":375,"tag":1228,"props":1433,"children":1435},{"class":1230,"line":1434},10,[1436],{"type":375,"tag":1228,"props":1437,"children":1438},{"style":1241},[1439],{"type":384,"value":1440},"});\n",{"type":375,"tag":376,"props":1442,"children":1443},{},[1444,1446,1452],{"type":384,"value":1445},"After, with ",{"type":375,"tag":389,"props":1447,"children":1449},{"className":1448},[],[1450],{"type":384,"value":1451},"@webhookrelay/sdk",{"type":384,"value":1212},{"type":375,"tag":1214,"props":1454,"children":1455},{},[1456],{"type":375,"tag":1218,"props":1457,"children":1459},{"className":1220,"code":1458,"language":1222,"meta":345,"style":345},"import { WebhookRelay } from \"@webhookrelay/sdk\";\n\nconst relay = new WebhookRelay(); // reads RELAY_KEY and RELAY_SECRET\n\nawait relay.outbound.messages.publish(\n  { consumer: \"customer_42\", eventType: \"invoice.paid\", eventId: \"evt_9001\", payload: { invoice_id: \"inv_123\", amount: 4900 } },\n  { idempotencyKey: \"evt_9001\" },\n);\n",[1460],{"type":375,"tag":389,"props":1461,"children":1462},{"__ignoreMap":345},[1463,1488,1495,1531,1538,1559,1611,1627],{"type":375,"tag":1228,"props":1464,"children":1465},{"class":1230,"line":1231},[1466,1470,1475,1479,1484],{"type":375,"tag":1228,"props":1467,"children":1468},{"style":1235},[1469],{"type":384,"value":1238},{"type":375,"tag":1228,"props":1471,"children":1472},{"style":1241},[1473],{"type":384,"value":1474}," { WebhookRelay } ",{"type":375,"tag":1228,"props":1476,"children":1477},{"style":1235},[1478],{"type":384,"value":1249},{"type":375,"tag":1228,"props":1480,"children":1481},{"style":1252},[1482],{"type":384,"value":1483}," \"@webhookrelay/sdk\"",{"type":375,"tag":1228,"props":1485,"children":1486},{"style":1241},[1487],{"type":384,"value":1260},{"type":375,"tag":1228,"props":1489,"children":1490},{"class":1230,"line":1263},[1491],{"type":375,"tag":1228,"props":1492,"children":1493},{"emptyLinePlaceholder":1267},[1494],{"type":384,"value":1270},{"type":375,"tag":1228,"props":1496,"children":1497},{"class":1230,"line":1273},[1498,1502,1507,1511,1515,1520,1525],{"type":375,"tag":1228,"props":1499,"children":1500},{"style":1235},[1501],{"type":384,"value":1279},{"type":375,"tag":1228,"props":1503,"children":1504},{"style":1282},[1505],{"type":384,"value":1506}," relay",{"type":375,"tag":1228,"props":1508,"children":1509},{"style":1235},[1510],{"type":384,"value":1290},{"type":375,"tag":1228,"props":1512,"children":1513},{"style":1235},[1514],{"type":384,"value":1295},{"type":375,"tag":1228,"props":1516,"children":1517},{"style":1298},[1518],{"type":384,"value":1519}," WebhookRelay",{"type":375,"tag":1228,"props":1521,"children":1522},{"style":1241},[1523],{"type":384,"value":1524},"(); ",{"type":375,"tag":1228,"props":1526,"children":1528},{"style":1527},"--shiki-default:#6A737D",[1529],{"type":384,"value":1530},"// reads RELAY_KEY and RELAY_SECRET\n",{"type":375,"tag":1228,"props":1532,"children":1533},{"class":1230,"line":1319},[1534],{"type":375,"tag":1228,"props":1535,"children":1536},{"emptyLinePlaceholder":1267},[1537],{"type":384,"value":1270},{"type":375,"tag":1228,"props":1539,"children":1540},{"class":1230,"line":1327},[1541,1545,1550,1554],{"type":375,"tag":1228,"props":1542,"children":1543},{"style":1235},[1544],{"type":384,"value":1333},{"type":375,"tag":1228,"props":1546,"children":1547},{"style":1241},[1548],{"type":384,"value":1549}," relay.outbound.messages.",{"type":375,"tag":1228,"props":1551,"children":1552},{"style":1298},[1553],{"type":384,"value":1197},{"type":375,"tag":1228,"props":1555,"children":1556},{"style":1241},[1557],{"type":384,"value":1558},"(\n",{"type":375,"tag":1228,"props":1560,"children":1561},{"class":1230,"line":1350},[1562,1567,1571,1576,1580,1585,1589,1594,1598,1602,1606],{"type":375,"tag":1228,"props":1563,"children":1564},{"style":1241},[1565],{"type":384,"value":1566},"  { consumer: ",{"type":375,"tag":1228,"props":1568,"children":1569},{"style":1252},[1570],{"type":384,"value":1380},{"type":375,"tag":1228,"props":1572,"children":1573},{"style":1241},[1574],{"type":384,"value":1575},", eventType: ",{"type":375,"tag":1228,"props":1577,"children":1578},{"style":1252},[1579],{"type":384,"value":1398},{"type":375,"tag":1228,"props":1581,"children":1582},{"style":1241},[1583],{"type":384,"value":1584},", eventId: ",{"type":375,"tag":1228,"props":1586,"children":1587},{"style":1252},[1588],{"type":384,"value":1361},{"type":375,"tag":1228,"props":1590,"children":1591},{"style":1241},[1592],{"type":384,"value":1593},", payload: { invoice_id: ",{"type":375,"tag":1228,"props":1595,"children":1596},{"style":1252},[1597],{"type":384,"value":1416},{"type":375,"tag":1228,"props":1599,"children":1600},{"style":1241},[1601],{"type":384,"value":1421},{"type":375,"tag":1228,"props":1603,"children":1604},{"style":1282},[1605],{"type":384,"value":1426},{"type":375,"tag":1228,"props":1607,"children":1608},{"style":1241},[1609],{"type":384,"value":1610}," } },\n",{"type":375,"tag":1228,"props":1612,"children":1613},{"class":1230,"line":1369},[1614,1619,1623],{"type":375,"tag":1228,"props":1615,"children":1616},{"style":1241},[1617],{"type":384,"value":1618},"  { idempotencyKey: ",{"type":375,"tag":1228,"props":1620,"children":1621},{"style":1252},[1622],{"type":384,"value":1361},{"type":375,"tag":1228,"props":1624,"children":1625},{"style":1241},[1626],{"type":384,"value":1431},{"type":375,"tag":1228,"props":1628,"children":1629},{"class":1230,"line":1387},[1630],{"type":375,"tag":1228,"props":1631,"children":1632},{"style":1241},[1633],{"type":384,"value":1634},");\n",{"type":375,"tag":376,"props":1636,"children":1637},{},[1638,1640,1646,1648,1654],{"type":384,"value":1639},"Go, before (",{"type":375,"tag":389,"props":1641,"children":1643},{"className":1642},[],[1644],{"type":384,"value":1645},"github.com/hookdeck/outpost/sdks/outpost-go",{"type":384,"value":1647},") and after (",{"type":375,"tag":389,"props":1649,"children":1651},{"className":1650},[],[1652],{"type":384,"value":1653},"github.com/webhookrelay/webhookrelay-go",{"type":384,"value":1655},"):",{"type":375,"tag":1214,"props":1657,"children":1658},{},[1659],{"type":375,"tag":1218,"props":1660,"children":1664},{"className":1661,"code":1662,"language":1663,"meta":345,"style":345},"language-go shiki shiki-themes github-dark","// Before\n_, err := s.Publish(ctx, components.PublishRequest{\n    ID:       outpostgo.Pointer(\"evt_9001\"),\n    TenantID: outpostgo.Pointer(\"customer_42\"),\n    Topic:    outpostgo.Pointer(\"invoice.paid\"),\n    Data:     map[string]any{\"invoice_id\": \"inv_123\", \"amount\": 4900},\n})\n\n// After\n_, err := api.PublishOutboundMessage(&webhookrelay.OutboundMessagePublishOptions{\n    Consumer:       \"customer_42\",\n    EventType:      \"invoice.paid\",\n    EventID:        \"evt_9001\",\n    Payload:        map[string]interface{}{\"invoice_id\": \"inv_123\", \"amount\": 4900},\n    IdempotencyKey: \"evt_9001\",\n})\n","go",[1665],{"type":375,"tag":389,"props":1666,"children":1667},{"__ignoreMap":345},[1668,1676,1722,1749,1773,1797,1872,1880,1887,1895,1943,1960,1977,1994,2061,2078],{"type":375,"tag":1228,"props":1669,"children":1670},{"class":1230,"line":1231},[1671],{"type":375,"tag":1228,"props":1672,"children":1673},{"style":1527},[1674],{"type":384,"value":1675},"// Before\n",{"type":375,"tag":1228,"props":1677,"children":1678},{"class":1230,"line":1263},[1679,1684,1689,1694,1698,1703,1708,1712,1717],{"type":375,"tag":1228,"props":1680,"children":1681},{"style":1241},[1682],{"type":384,"value":1683},"_, err ",{"type":375,"tag":1228,"props":1685,"children":1686},{"style":1235},[1687],{"type":384,"value":1688},":=",{"type":375,"tag":1228,"props":1690,"children":1691},{"style":1241},[1692],{"type":384,"value":1693}," s.",{"type":375,"tag":1228,"props":1695,"children":1696},{"style":1298},[1697],{"type":384,"value":978},{"type":375,"tag":1228,"props":1699,"children":1700},{"style":1241},[1701],{"type":384,"value":1702},"(ctx, ",{"type":375,"tag":1228,"props":1704,"children":1705},{"style":1298},[1706],{"type":384,"value":1707},"components",{"type":375,"tag":1228,"props":1709,"children":1710},{"style":1241},[1711],{"type":384,"value":433},{"type":375,"tag":1228,"props":1713,"children":1714},{"style":1298},[1715],{"type":384,"value":1716},"PublishRequest",{"type":375,"tag":1228,"props":1718,"children":1719},{"style":1241},[1720],{"type":384,"value":1721},"{\n",{"type":375,"tag":1228,"props":1723,"children":1724},{"class":1230,"line":1273},[1725,1730,1735,1740,1744],{"type":375,"tag":1228,"props":1726,"children":1727},{"style":1241},[1728],{"type":384,"value":1729},"    ID:       outpostgo.",{"type":375,"tag":1228,"props":1731,"children":1732},{"style":1298},[1733],{"type":384,"value":1734},"Pointer",{"type":375,"tag":1228,"props":1736,"children":1737},{"style":1241},[1738],{"type":384,"value":1739},"(",{"type":375,"tag":1228,"props":1741,"children":1742},{"style":1252},[1743],{"type":384,"value":1361},{"type":375,"tag":1228,"props":1745,"children":1746},{"style":1241},[1747],{"type":384,"value":1748},"),\n",{"type":375,"tag":1228,"props":1750,"children":1751},{"class":1230,"line":1319},[1752,1757,1761,1765,1769],{"type":375,"tag":1228,"props":1753,"children":1754},{"style":1241},[1755],{"type":384,"value":1756},"    TenantID: outpostgo.",{"type":375,"tag":1228,"props":1758,"children":1759},{"style":1298},[1760],{"type":384,"value":1734},{"type":375,"tag":1228,"props":1762,"children":1763},{"style":1241},[1764],{"type":384,"value":1739},{"type":375,"tag":1228,"props":1766,"children":1767},{"style":1252},[1768],{"type":384,"value":1380},{"type":375,"tag":1228,"props":1770,"children":1771},{"style":1241},[1772],{"type":384,"value":1748},{"type":375,"tag":1228,"props":1774,"children":1775},{"class":1230,"line":1327},[1776,1781,1785,1789,1793],{"type":375,"tag":1228,"props":1777,"children":1778},{"style":1241},[1779],{"type":384,"value":1780},"    Topic:    outpostgo.",{"type":375,"tag":1228,"props":1782,"children":1783},{"style":1298},[1784],{"type":384,"value":1734},{"type":375,"tag":1228,"props":1786,"children":1787},{"style":1241},[1788],{"type":384,"value":1739},{"type":375,"tag":1228,"props":1790,"children":1791},{"style":1252},[1792],{"type":384,"value":1398},{"type":375,"tag":1228,"props":1794,"children":1795},{"style":1241},[1796],{"type":384,"value":1748},{"type":375,"tag":1228,"props":1798,"children":1799},{"class":1230,"line":1350},[1800,1805,1810,1815,1820,1825,1830,1835,1840,1845,1849,1854,1859,1863,1867],{"type":375,"tag":1228,"props":1801,"children":1802},{"style":1241},[1803],{"type":384,"value":1804},"    Data:     ",{"type":375,"tag":1228,"props":1806,"children":1807},{"style":1235},[1808],{"type":384,"value":1809},"map",{"type":375,"tag":1228,"props":1811,"children":1812},{"style":1241},[1813],{"type":384,"value":1814},"[",{"type":375,"tag":1228,"props":1816,"children":1817},{"style":1235},[1818],{"type":384,"value":1819},"string",{"type":375,"tag":1228,"props":1821,"children":1822},{"style":1241},[1823],{"type":384,"value":1824},"]",{"type":375,"tag":1228,"props":1826,"children":1827},{"style":1298},[1828],{"type":384,"value":1829},"any",{"type":375,"tag":1228,"props":1831,"children":1832},{"style":1241},[1833],{"type":384,"value":1834},"{",{"type":375,"tag":1228,"props":1836,"children":1837},{"style":1252},[1838],{"type":384,"value":1839},"\"invoice_id\"",{"type":375,"tag":1228,"props":1841,"children":1842},{"style":1241},[1843],{"type":384,"value":1844},": ",{"type":375,"tag":1228,"props":1846,"children":1847},{"style":1252},[1848],{"type":384,"value":1416},{"type":375,"tag":1228,"props":1850,"children":1851},{"style":1241},[1852],{"type":384,"value":1853},", ",{"type":375,"tag":1228,"props":1855,"children":1856},{"style":1252},[1857],{"type":384,"value":1858},"\"amount\"",{"type":375,"tag":1228,"props":1860,"children":1861},{"style":1241},[1862],{"type":384,"value":1844},{"type":375,"tag":1228,"props":1864,"children":1865},{"style":1282},[1866],{"type":384,"value":1426},{"type":375,"tag":1228,"props":1868,"children":1869},{"style":1241},[1870],{"type":384,"value":1871},"},\n",{"type":375,"tag":1228,"props":1873,"children":1874},{"class":1230,"line":1369},[1875],{"type":375,"tag":1228,"props":1876,"children":1877},{"style":1241},[1878],{"type":384,"value":1879},"})\n",{"type":375,"tag":1228,"props":1881,"children":1882},{"class":1230,"line":1387},[1883],{"type":375,"tag":1228,"props":1884,"children":1885},{"emptyLinePlaceholder":1267},[1886],{"type":384,"value":1270},{"type":375,"tag":1228,"props":1888,"children":1889},{"class":1230,"line":1405},[1890],{"type":375,"tag":1228,"props":1891,"children":1892},{"style":1527},[1893],{"type":384,"value":1894},"// After\n",{"type":375,"tag":1228,"props":1896,"children":1897},{"class":1230,"line":1434},[1898,1902,1906,1911,1916,1920,1925,1930,1934,1939],{"type":375,"tag":1228,"props":1899,"children":1900},{"style":1241},[1901],{"type":384,"value":1683},{"type":375,"tag":1228,"props":1903,"children":1904},{"style":1235},[1905],{"type":384,"value":1688},{"type":375,"tag":1228,"props":1907,"children":1908},{"style":1241},[1909],{"type":384,"value":1910}," api.",{"type":375,"tag":1228,"props":1912,"children":1913},{"style":1298},[1914],{"type":384,"value":1915},"PublishOutboundMessage",{"type":375,"tag":1228,"props":1917,"children":1918},{"style":1241},[1919],{"type":384,"value":1739},{"type":375,"tag":1228,"props":1921,"children":1922},{"style":1235},[1923],{"type":384,"value":1924},"&",{"type":375,"tag":1228,"props":1926,"children":1927},{"style":1298},[1928],{"type":384,"value":1929},"webhookrelay",{"type":375,"tag":1228,"props":1931,"children":1932},{"style":1241},[1933],{"type":384,"value":433},{"type":375,"tag":1228,"props":1935,"children":1936},{"style":1298},[1937],{"type":384,"value":1938},"OutboundMessagePublishOptions",{"type":375,"tag":1228,"props":1940,"children":1941},{"style":1241},[1942],{"type":384,"value":1721},{"type":375,"tag":1228,"props":1944,"children":1946},{"class":1230,"line":1945},11,[1947,1952,1956],{"type":375,"tag":1228,"props":1948,"children":1949},{"style":1241},[1950],{"type":384,"value":1951},"    Consumer:       ",{"type":375,"tag":1228,"props":1953,"children":1954},{"style":1252},[1955],{"type":384,"value":1380},{"type":375,"tag":1228,"props":1957,"children":1958},{"style":1241},[1959],{"type":384,"value":1366},{"type":375,"tag":1228,"props":1961,"children":1963},{"class":1230,"line":1962},12,[1964,1969,1973],{"type":375,"tag":1228,"props":1965,"children":1966},{"style":1241},[1967],{"type":384,"value":1968},"    EventType:      ",{"type":375,"tag":1228,"props":1970,"children":1971},{"style":1252},[1972],{"type":384,"value":1398},{"type":375,"tag":1228,"props":1974,"children":1975},{"style":1241},[1976],{"type":384,"value":1366},{"type":375,"tag":1228,"props":1978,"children":1980},{"class":1230,"line":1979},13,[1981,1986,1990],{"type":375,"tag":1228,"props":1982,"children":1983},{"style":1241},[1984],{"type":384,"value":1985},"    EventID:        ",{"type":375,"tag":1228,"props":1987,"children":1988},{"style":1252},[1989],{"type":384,"value":1361},{"type":375,"tag":1228,"props":1991,"children":1992},{"style":1241},[1993],{"type":384,"value":1366},{"type":375,"tag":1228,"props":1995,"children":1997},{"class":1230,"line":1996},14,[1998,2003,2007,2011,2015,2019,2024,2029,2033,2037,2041,2045,2049,2053,2057],{"type":375,"tag":1228,"props":1999,"children":2000},{"style":1241},[2001],{"type":384,"value":2002},"    Payload:        ",{"type":375,"tag":1228,"props":2004,"children":2005},{"style":1235},[2006],{"type":384,"value":1809},{"type":375,"tag":1228,"props":2008,"children":2009},{"style":1241},[2010],{"type":384,"value":1814},{"type":375,"tag":1228,"props":2012,"children":2013},{"style":1235},[2014],{"type":384,"value":1819},{"type":375,"tag":1228,"props":2016,"children":2017},{"style":1241},[2018],{"type":384,"value":1824},{"type":375,"tag":1228,"props":2020,"children":2021},{"style":1235},[2022],{"type":384,"value":2023},"interface",{"type":375,"tag":1228,"props":2025,"children":2026},{"style":1241},[2027],{"type":384,"value":2028},"{}{",{"type":375,"tag":1228,"props":2030,"children":2031},{"style":1252},[2032],{"type":384,"value":1839},{"type":375,"tag":1228,"props":2034,"children":2035},{"style":1241},[2036],{"type":384,"value":1844},{"type":375,"tag":1228,"props":2038,"children":2039},{"style":1252},[2040],{"type":384,"value":1416},{"type":375,"tag":1228,"props":2042,"children":2043},{"style":1241},[2044],{"type":384,"value":1853},{"type":375,"tag":1228,"props":2046,"children":2047},{"style":1252},[2048],{"type":384,"value":1858},{"type":375,"tag":1228,"props":2050,"children":2051},{"style":1241},[2052],{"type":384,"value":1844},{"type":375,"tag":1228,"props":2054,"children":2055},{"style":1282},[2056],{"type":384,"value":1426},{"type":375,"tag":1228,"props":2058,"children":2059},{"style":1241},[2060],{"type":384,"value":1871},{"type":375,"tag":1228,"props":2062,"children":2064},{"class":1230,"line":2063},15,[2065,2070,2074],{"type":375,"tag":1228,"props":2066,"children":2067},{"style":1241},[2068],{"type":384,"value":2069},"    IdempotencyKey: ",{"type":375,"tag":1228,"props":2071,"children":2072},{"style":1252},[2073],{"type":384,"value":1361},{"type":375,"tag":1228,"props":2075,"children":2076},{"style":1241},[2077],{"type":384,"value":1366},{"type":375,"tag":1228,"props":2079,"children":2081},{"class":1230,"line":2080},16,[2082],{"type":375,"tag":1228,"props":2083,"children":2084},{"style":1241},[2085],{"type":384,"value":1879},{"type":375,"tag":376,"props":2087,"children":2088},{},[2089],{"type":384,"value":2090},"curl:",{"type":375,"tag":1214,"props":2092,"children":2093},{},[2094],{"type":375,"tag":1218,"props":2095,"children":2099},{"className":2096,"code":2097,"language":2098,"meta":345,"style":345},"language-bash shiki shiki-themes github-dark","# Before\ncurl -X POST https://api.outpost.hookdeck.com/2025-07-01/publish \\\n  -H \"Authorization: Bearer $OUTPOST_API_KEY\" -H 'Content-Type: application/json' \\\n  -d '{\"id\":\"evt_9001\",\"tenant_id\":\"customer_42\",\"topic\":\"invoice.paid\",\"data\":{\"invoice_id\":\"inv_123\",\"amount\":4900}}'\n\n# After\ncurl --user \"$RELAY_KEY:$RELAY_SECRET\" -X POST https://my.webhookrelay.com/v1/outbound/messages \\\n  -H 'Content-Type: application/json' -H 'Idempotency-Key: evt_9001' \\\n  -d '{\"consumer\":\"customer_42\",\"event_type\":\"invoice.paid\",\"event_id\":\"evt_9001\",\"payload\":{\"invoice_id\":\"inv_123\",\"amount\":4900}}'\n","bash",[2100],{"type":375,"tag":389,"props":2101,"children":2102},{"__ignoreMap":345},[2103,2111,2139,2176,2189,2196,2204,2256,2280],{"type":375,"tag":1228,"props":2104,"children":2105},{"class":1230,"line":1231},[2106],{"type":375,"tag":1228,"props":2107,"children":2108},{"style":1527},[2109],{"type":384,"value":2110},"# Before\n",{"type":375,"tag":1228,"props":2112,"children":2113},{"class":1230,"line":1263},[2114,2119,2124,2129,2134],{"type":375,"tag":1228,"props":2115,"children":2116},{"style":1298},[2117],{"type":384,"value":2118},"curl",{"type":375,"tag":1228,"props":2120,"children":2121},{"style":1282},[2122],{"type":384,"value":2123}," -X",{"type":375,"tag":1228,"props":2125,"children":2126},{"style":1252},[2127],{"type":384,"value":2128}," POST",{"type":375,"tag":1228,"props":2130,"children":2131},{"style":1252},[2132],{"type":384,"value":2133}," https://api.outpost.hookdeck.com/2025-07-01/publish",{"type":375,"tag":1228,"props":2135,"children":2136},{"style":1282},[2137],{"type":384,"value":2138}," \\\n",{"type":375,"tag":1228,"props":2140,"children":2141},{"class":1230,"line":1273},[2142,2147,2152,2157,2162,2167,2172],{"type":375,"tag":1228,"props":2143,"children":2144},{"style":1282},[2145],{"type":384,"value":2146},"  -H",{"type":375,"tag":1228,"props":2148,"children":2149},{"style":1252},[2150],{"type":384,"value":2151}," \"Authorization: Bearer ",{"type":375,"tag":1228,"props":2153,"children":2154},{"style":1241},[2155],{"type":384,"value":2156},"$OUTPOST_API_KEY",{"type":375,"tag":1228,"props":2158,"children":2159},{"style":1252},[2160],{"type":384,"value":2161},"\"",{"type":375,"tag":1228,"props":2163,"children":2164},{"style":1282},[2165],{"type":384,"value":2166}," -H",{"type":375,"tag":1228,"props":2168,"children":2169},{"style":1252},[2170],{"type":384,"value":2171}," 'Content-Type: application/json'",{"type":375,"tag":1228,"props":2173,"children":2174},{"style":1282},[2175],{"type":384,"value":2138},{"type":375,"tag":1228,"props":2177,"children":2178},{"class":1230,"line":1319},[2179,2184],{"type":375,"tag":1228,"props":2180,"children":2181},{"style":1282},[2182],{"type":384,"value":2183},"  -d",{"type":375,"tag":1228,"props":2185,"children":2186},{"style":1252},[2187],{"type":384,"value":2188}," '{\"id\":\"evt_9001\",\"tenant_id\":\"customer_42\",\"topic\":\"invoice.paid\",\"data\":{\"invoice_id\":\"inv_123\",\"amount\":4900}}'\n",{"type":375,"tag":1228,"props":2190,"children":2191},{"class":1230,"line":1327},[2192],{"type":375,"tag":1228,"props":2193,"children":2194},{"emptyLinePlaceholder":1267},[2195],{"type":384,"value":1270},{"type":375,"tag":1228,"props":2197,"children":2198},{"class":1230,"line":1350},[2199],{"type":375,"tag":1228,"props":2200,"children":2201},{"style":1527},[2202],{"type":384,"value":2203},"# After\n",{"type":375,"tag":1228,"props":2205,"children":2206},{"class":1230,"line":1369},[2207,2211,2216,2221,2226,2230,2235,2239,2243,2247,2252],{"type":375,"tag":1228,"props":2208,"children":2209},{"style":1298},[2210],{"type":384,"value":2118},{"type":375,"tag":1228,"props":2212,"children":2213},{"style":1282},[2214],{"type":384,"value":2215}," --user",{"type":375,"tag":1228,"props":2217,"children":2218},{"style":1252},[2219],{"type":384,"value":2220}," \"",{"type":375,"tag":1228,"props":2222,"children":2223},{"style":1241},[2224],{"type":384,"value":2225},"$RELAY_KEY",{"type":375,"tag":1228,"props":2227,"children":2228},{"style":1252},[2229],{"type":384,"value":1212},{"type":375,"tag":1228,"props":2231,"children":2232},{"style":1241},[2233],{"type":384,"value":2234},"$RELAY_SECRET",{"type":375,"tag":1228,"props":2236,"children":2237},{"style":1252},[2238],{"type":384,"value":2161},{"type":375,"tag":1228,"props":2240,"children":2241},{"style":1282},[2242],{"type":384,"value":2123},{"type":375,"tag":1228,"props":2244,"children":2245},{"style":1252},[2246],{"type":384,"value":2128},{"type":375,"tag":1228,"props":2248,"children":2249},{"style":1252},[2250],{"type":384,"value":2251}," https://my.webhookrelay.com/v1/outbound/messages",{"type":375,"tag":1228,"props":2253,"children":2254},{"style":1282},[2255],{"type":384,"value":2138},{"type":375,"tag":1228,"props":2257,"children":2258},{"class":1230,"line":1387},[2259,2263,2267,2271,2276],{"type":375,"tag":1228,"props":2260,"children":2261},{"style":1282},[2262],{"type":384,"value":2146},{"type":375,"tag":1228,"props":2264,"children":2265},{"style":1252},[2266],{"type":384,"value":2171},{"type":375,"tag":1228,"props":2268,"children":2269},{"style":1282},[2270],{"type":384,"value":2166},{"type":375,"tag":1228,"props":2272,"children":2273},{"style":1252},[2274],{"type":384,"value":2275}," 'Idempotency-Key: evt_9001'",{"type":375,"tag":1228,"props":2277,"children":2278},{"style":1282},[2279],{"type":384,"value":2138},{"type":375,"tag":1228,"props":2281,"children":2282},{"class":1230,"line":1405},[2283,2287],{"type":375,"tag":1228,"props":2284,"children":2285},{"style":1282},[2286],{"type":384,"value":2183},{"type":375,"tag":1228,"props":2288,"children":2289},{"style":1252},[2290],{"type":384,"value":2291}," '{\"consumer\":\"customer_42\",\"event_type\":\"invoice.paid\",\"event_id\":\"evt_9001\",\"payload\":{\"invoice_id\":\"inv_123\",\"amount\":4900}}'\n",{"type":375,"tag":1195,"props":2293,"children":2295},{"id":2294},"add-a-customer-and-an-endpoint",[2296],{"type":384,"value":2297},"Add a customer and an endpoint",{"type":375,"tag":376,"props":2299,"children":2300},{},[2301],{"type":384,"value":2302},"New customers you onboard after the migration get a generated secret:",{"type":375,"tag":1214,"props":2304,"children":2305},{},[2306],{"type":375,"tag":1218,"props":2307,"children":2309},{"className":1220,"code":2308,"language":1222,"meta":345,"style":345},"// Before\nawait outpost.tenants.upsert(\"customer_42\");\n// POST /tenants/customer_42/destinations {\"type\":\"webhook\",\"topics\":[\"invoice.paid\"],\"config\":{\"url\":\"https://acme.example/webhooks\"}}\n\n// After\nawait relay.outbound.consumers.upsert(\"customer_42\", { name: \"Acme\" });\nconst endpoint = await relay.outbound.endpoints.create(\"customer_42\", {\n  url: \"https://acme.example/webhooks\",\n  eventTypes: [\"invoice.paid\"],\n  autoDisable: true,\n});\n// endpoint.secret is the customer's new whsec_ secret. Store it like a password.\n",[2310],{"type":375,"tag":389,"props":2311,"children":2312},{"__ignoreMap":345},[2313,2320,2349,2357,2364,2371,2409,2453,2470,2487,2504,2511],{"type":375,"tag":1228,"props":2314,"children":2315},{"class":1230,"line":1231},[2316],{"type":375,"tag":1228,"props":2317,"children":2318},{"style":1527},[2319],{"type":384,"value":1675},{"type":375,"tag":1228,"props":2321,"children":2322},{"class":1230,"line":1263},[2323,2327,2332,2337,2341,2345],{"type":375,"tag":1228,"props":2324,"children":2325},{"style":1235},[2326],{"type":384,"value":1333},{"type":375,"tag":1228,"props":2328,"children":2329},{"style":1241},[2330],{"type":384,"value":2331}," outpost.tenants.",{"type":375,"tag":1228,"props":2333,"children":2334},{"style":1298},[2335],{"type":384,"value":2336},"upsert",{"type":375,"tag":1228,"props":2338,"children":2339},{"style":1241},[2340],{"type":384,"value":1739},{"type":375,"tag":1228,"props":2342,"children":2343},{"style":1252},[2344],{"type":384,"value":1380},{"type":375,"tag":1228,"props":2346,"children":2347},{"style":1241},[2348],{"type":384,"value":1634},{"type":375,"tag":1228,"props":2350,"children":2351},{"class":1230,"line":1273},[2352],{"type":375,"tag":1228,"props":2353,"children":2354},{"style":1527},[2355],{"type":384,"value":2356},"// POST /tenants/customer_42/destinations {\"type\":\"webhook\",\"topics\":[\"invoice.paid\"],\"config\":{\"url\":\"https://acme.example/webhooks\"}}\n",{"type":375,"tag":1228,"props":2358,"children":2359},{"class":1230,"line":1319},[2360],{"type":375,"tag":1228,"props":2361,"children":2362},{"emptyLinePlaceholder":1267},[2363],{"type":384,"value":1270},{"type":375,"tag":1228,"props":2365,"children":2366},{"class":1230,"line":1327},[2367],{"type":375,"tag":1228,"props":2368,"children":2369},{"style":1527},[2370],{"type":384,"value":1894},{"type":375,"tag":1228,"props":2372,"children":2373},{"class":1230,"line":1350},[2374,2378,2383,2387,2391,2395,2400,2405],{"type":375,"tag":1228,"props":2375,"children":2376},{"style":1235},[2377],{"type":384,"value":1333},{"type":375,"tag":1228,"props":2379,"children":2380},{"style":1241},[2381],{"type":384,"value":2382}," relay.outbound.consumers.",{"type":375,"tag":1228,"props":2384,"children":2385},{"style":1298},[2386],{"type":384,"value":2336},{"type":375,"tag":1228,"props":2388,"children":2389},{"style":1241},[2390],{"type":384,"value":1739},{"type":375,"tag":1228,"props":2392,"children":2393},{"style":1252},[2394],{"type":384,"value":1380},{"type":375,"tag":1228,"props":2396,"children":2397},{"style":1241},[2398],{"type":384,"value":2399},", { name: ",{"type":375,"tag":1228,"props":2401,"children":2402},{"style":1252},[2403],{"type":384,"value":2404},"\"Acme\"",{"type":375,"tag":1228,"props":2406,"children":2407},{"style":1241},[2408],{"type":384,"value":1316},{"type":375,"tag":1228,"props":2410,"children":2411},{"class":1230,"line":1369},[2412,2416,2421,2425,2430,2435,2440,2444,2448],{"type":375,"tag":1228,"props":2413,"children":2414},{"style":1235},[2415],{"type":384,"value":1279},{"type":375,"tag":1228,"props":2417,"children":2418},{"style":1282},[2419],{"type":384,"value":2420}," endpoint",{"type":375,"tag":1228,"props":2422,"children":2423},{"style":1235},[2424],{"type":384,"value":1290},{"type":375,"tag":1228,"props":2426,"children":2427},{"style":1235},[2428],{"type":384,"value":2429}," await",{"type":375,"tag":1228,"props":2431,"children":2432},{"style":1241},[2433],{"type":384,"value":2434}," relay.outbound.endpoints.",{"type":375,"tag":1228,"props":2436,"children":2437},{"style":1298},[2438],{"type":384,"value":2439},"create",{"type":375,"tag":1228,"props":2441,"children":2442},{"style":1241},[2443],{"type":384,"value":1739},{"type":375,"tag":1228,"props":2445,"children":2446},{"style":1252},[2447],{"type":384,"value":1380},{"type":375,"tag":1228,"props":2449,"children":2450},{"style":1241},[2451],{"type":384,"value":2452},", {\n",{"type":375,"tag":1228,"props":2454,"children":2455},{"class":1230,"line":1387},[2456,2461,2466],{"type":375,"tag":1228,"props":2457,"children":2458},{"style":1241},[2459],{"type":384,"value":2460},"  url: ",{"type":375,"tag":1228,"props":2462,"children":2463},{"style":1252},[2464],{"type":384,"value":2465},"\"https://acme.example/webhooks\"",{"type":375,"tag":1228,"props":2467,"children":2468},{"style":1241},[2469],{"type":384,"value":1366},{"type":375,"tag":1228,"props":2471,"children":2472},{"class":1230,"line":1405},[2473,2478,2482],{"type":375,"tag":1228,"props":2474,"children":2475},{"style":1241},[2476],{"type":384,"value":2477},"  eventTypes: [",{"type":375,"tag":1228,"props":2479,"children":2480},{"style":1252},[2481],{"type":384,"value":1398},{"type":375,"tag":1228,"props":2483,"children":2484},{"style":1241},[2485],{"type":384,"value":2486},"],\n",{"type":375,"tag":1228,"props":2488,"children":2489},{"class":1230,"line":1434},[2490,2495,2500],{"type":375,"tag":1228,"props":2491,"children":2492},{"style":1241},[2493],{"type":384,"value":2494},"  autoDisable: ",{"type":375,"tag":1228,"props":2496,"children":2497},{"style":1282},[2498],{"type":384,"value":2499},"true",{"type":375,"tag":1228,"props":2501,"children":2502},{"style":1241},[2503],{"type":384,"value":1366},{"type":375,"tag":1228,"props":2505,"children":2506},{"class":1230,"line":1945},[2507],{"type":375,"tag":1228,"props":2508,"children":2509},{"style":1241},[2510],{"type":384,"value":1440},{"type":375,"tag":1228,"props":2512,"children":2513},{"class":1230,"line":1962},[2514],{"type":375,"tag":1228,"props":2515,"children":2516},{"style":1527},[2517],{"type":384,"value":2518},"// endpoint.secret is the customer's new whsec_ secret. Store it like a password.\n",{"type":375,"tag":376,"props":2520,"children":2521},{},[2522,2524,2529,2531,2536],{"type":384,"value":2523},"To migrate an existing destination, pass its current secret in ",{"type":375,"tag":389,"props":2525,"children":2527},{"className":2526},[],[2528],{"type":384,"value":1134},{"type":384,"value":2530},". The SDKs add a ",{"type":375,"tag":389,"props":2532,"children":2534},{"className":2533},[],[2535],{"type":384,"value":1134},{"type":384,"value":2537}," option in their next release; until then, use the REST call:",{"type":375,"tag":1214,"props":2539,"children":2540},{},[2541],{"type":375,"tag":1218,"props":2542,"children":2544},{"className":2096,"code":2543,"language":2098,"meta":345,"style":345},"# OUTPOST_SECRET holds the destination's credentials.secret. Never echo it.\njq -n --arg url \"https://acme.example/webhooks\" --arg secret \"$OUTPOST_SECRET\" \\\n  '{url: $url, event_types: [\"invoice.paid\"], secret: $secret}' |\ncurl -s --user \"$RELAY_KEY:$RELAY_SECRET\" -X POST \\\n  https://my.webhookrelay.com/v1/outbound/consumers/customer_42/endpoints \\\n  -H 'Content-Type: application/json' --data @- | jq '{id, state}'\n",[2545],{"type":375,"tag":389,"props":2546,"children":2547},{"__ignoreMap":345},[2548,2556,2610,2623,2671,2683],{"type":375,"tag":1228,"props":2549,"children":2550},{"class":1230,"line":1231},[2551],{"type":375,"tag":1228,"props":2552,"children":2553},{"style":1527},[2554],{"type":384,"value":2555},"# OUTPOST_SECRET holds the destination's credentials.secret. Never echo it.\n",{"type":375,"tag":1228,"props":2557,"children":2558},{"class":1230,"line":1263},[2559,2564,2569,2574,2579,2584,2588,2593,2597,2602,2606],{"type":375,"tag":1228,"props":2560,"children":2561},{"style":1298},[2562],{"type":384,"value":2563},"jq",{"type":375,"tag":1228,"props":2565,"children":2566},{"style":1282},[2567],{"type":384,"value":2568}," -n",{"type":375,"tag":1228,"props":2570,"children":2571},{"style":1282},[2572],{"type":384,"value":2573}," --arg",{"type":375,"tag":1228,"props":2575,"children":2576},{"style":1252},[2577],{"type":384,"value":2578}," url",{"type":375,"tag":1228,"props":2580,"children":2581},{"style":1252},[2582],{"type":384,"value":2583}," \"https://acme.example/webhooks\"",{"type":375,"tag":1228,"props":2585,"children":2586},{"style":1282},[2587],{"type":384,"value":2573},{"type":375,"tag":1228,"props":2589,"children":2590},{"style":1252},[2591],{"type":384,"value":2592}," secret",{"type":375,"tag":1228,"props":2594,"children":2595},{"style":1252},[2596],{"type":384,"value":2220},{"type":375,"tag":1228,"props":2598,"children":2599},{"style":1241},[2600],{"type":384,"value":2601},"$OUTPOST_SECRET",{"type":375,"tag":1228,"props":2603,"children":2604},{"style":1252},[2605],{"type":384,"value":2161},{"type":375,"tag":1228,"props":2607,"children":2608},{"style":1282},[2609],{"type":384,"value":2138},{"type":375,"tag":1228,"props":2611,"children":2612},{"class":1230,"line":1273},[2613,2618],{"type":375,"tag":1228,"props":2614,"children":2615},{"style":1252},[2616],{"type":384,"value":2617},"  '{url: $url, event_types: [\"invoice.paid\"], secret: $secret}'",{"type":375,"tag":1228,"props":2619,"children":2620},{"style":1235},[2621],{"type":384,"value":2622}," |\n",{"type":375,"tag":1228,"props":2624,"children":2625},{"class":1230,"line":1319},[2626,2630,2635,2639,2643,2647,2651,2655,2659,2663,2667],{"type":375,"tag":1228,"props":2627,"children":2628},{"style":1298},[2629],{"type":384,"value":2118},{"type":375,"tag":1228,"props":2631,"children":2632},{"style":1282},[2633],{"type":384,"value":2634}," -s",{"type":375,"tag":1228,"props":2636,"children":2637},{"style":1282},[2638],{"type":384,"value":2215},{"type":375,"tag":1228,"props":2640,"children":2641},{"style":1252},[2642],{"type":384,"value":2220},{"type":375,"tag":1228,"props":2644,"children":2645},{"style":1241},[2646],{"type":384,"value":2225},{"type":375,"tag":1228,"props":2648,"children":2649},{"style":1252},[2650],{"type":384,"value":1212},{"type":375,"tag":1228,"props":2652,"children":2653},{"style":1241},[2654],{"type":384,"value":2234},{"type":375,"tag":1228,"props":2656,"children":2657},{"style":1252},[2658],{"type":384,"value":2161},{"type":375,"tag":1228,"props":2660,"children":2661},{"style":1282},[2662],{"type":384,"value":2123},{"type":375,"tag":1228,"props":2664,"children":2665},{"style":1252},[2666],{"type":384,"value":2128},{"type":375,"tag":1228,"props":2668,"children":2669},{"style":1282},[2670],{"type":384,"value":2138},{"type":375,"tag":1228,"props":2672,"children":2673},{"class":1230,"line":1327},[2674,2679],{"type":375,"tag":1228,"props":2675,"children":2676},{"style":1252},[2677],{"type":384,"value":2678},"  https://my.webhookrelay.com/v1/outbound/consumers/customer_42/endpoints",{"type":375,"tag":1228,"props":2680,"children":2681},{"style":1282},[2682],{"type":384,"value":2138},{"type":375,"tag":1228,"props":2684,"children":2685},{"class":1230,"line":1350},[2686,2690,2694,2699,2704,2709,2714],{"type":375,"tag":1228,"props":2687,"children":2688},{"style":1282},[2689],{"type":384,"value":2146},{"type":375,"tag":1228,"props":2691,"children":2692},{"style":1252},[2693],{"type":384,"value":2171},{"type":375,"tag":1228,"props":2695,"children":2696},{"style":1282},[2697],{"type":384,"value":2698}," --data",{"type":375,"tag":1228,"props":2700,"children":2701},{"style":1252},[2702],{"type":384,"value":2703}," @-",{"type":375,"tag":1228,"props":2705,"children":2706},{"style":1235},[2707],{"type":384,"value":2708}," |",{"type":375,"tag":1228,"props":2710,"children":2711},{"style":1298},[2712],{"type":384,"value":2713}," jq",{"type":375,"tag":1228,"props":2715,"children":2716},{"style":1252},[2717],{"type":384,"value":2718}," '{id, state}'\n",{"type":375,"tag":376,"props":2720,"children":2721},{},[2722,2724,2729,2731,2736],{"type":384,"value":2723},"For a few customers, the dashboard's ",{"type":375,"tag":380,"props":2725,"children":2726},{},[2727],{"type":384,"value":2728},"Add endpoint",{"type":384,"value":2730}," dialog has an optional ",{"type":375,"tag":380,"props":2732,"children":2733},{},[2734],{"type":384,"value":2735},"Existing signing secret",{"type":384,"value":2737}," field that does the same without code.",{"type":375,"tag":376,"props":2739,"children":2740},{},[2741,2743,2749,2750,2756,2757,2763,2764,2770,2772,2778,2779,2785,2787,2792,2794,2800,2801,2807,2808,2814],{"type":384,"value":2742},"Go: ",{"type":375,"tag":389,"props":2744,"children":2746},{"className":2745},[],[2747],{"type":384,"value":2748},"api.UpsertOutboundConsumer(...)",{"type":384,"value":1853},{"type":375,"tag":389,"props":2751,"children":2753},{"className":2752},[],[2754],{"type":384,"value":2755},"api.CreateOutboundEndpoint(...)",{"type":384,"value":1853},{"type":375,"tag":389,"props":2758,"children":2760},{"className":2759},[],[2761],{"type":384,"value":2762},"api.PauseOutboundEndpoint(id)",{"type":384,"value":1853},{"type":375,"tag":389,"props":2765,"children":2767},{"className":2766},[],[2768],{"type":384,"value":2769},"api.RetryOutboundDelivery(endpointID, messageID)",{"type":384,"value":2771},". MCP: ",{"type":375,"tag":389,"props":2773,"children":2775},{"className":2774},[],[2776],{"type":384,"value":2777},"upsert_outbound_consumer",{"type":384,"value":1853},{"type":375,"tag":389,"props":2780,"children":2782},{"className":2781},[],[2783],{"type":384,"value":2784},"create_outbound_endpoint",{"type":384,"value":2786}," (accepts ",{"type":375,"tag":389,"props":2788,"children":2790},{"className":2789},[],[2791],{"type":384,"value":1134},{"type":384,"value":2793},"), ",{"type":375,"tag":389,"props":2795,"children":2797},{"className":2796},[],[2798],{"type":384,"value":2799},"publish_outbound_message",{"type":384,"value":1853},{"type":375,"tag":389,"props":2802,"children":2804},{"className":2803},[],[2805],{"type":384,"value":2806},"pause_outbound_endpoint",{"type":384,"value":1853},{"type":375,"tag":389,"props":2809,"children":2811},{"className":2810},[],[2812],{"type":384,"value":2813},"retry_outbound_delivery",{"type":384,"value":433},{"type":375,"tag":435,"props":2816,"children":2818},{"id":2817},"signature-changes-for-your-customers",[2819],{"type":384,"value":2820},"Signature changes for your customers",{"type":375,"tag":376,"props":2822,"children":2823},{},[2824,2826,2832,2834,2841],{"type":384,"value":2825},"Outpost has two webhook modes, set per instance with ",{"type":375,"tag":389,"props":2827,"children":2829},{"className":2828},[],[2830],{"type":384,"value":2831},"DESTINATIONS_WEBHOOK_MODE",{"type":384,"value":2833}," (",{"type":375,"tag":411,"props":2835,"children":2838},{"href":2836,"rel":2837},"https://hookdeck.com/docs/outpost/destinations/webhook",[1173],[2839],{"type":384,"value":2840},"Outpost webhook destination docs",{"type":384,"value":2842},"). Check which one yours uses.",{"type":375,"tag":442,"props":2844,"children":2845},{},[2846,2869],{"type":375,"tag":446,"props":2847,"children":2848},{},[2849],{"type":375,"tag":450,"props":2850,"children":2851},{},[2852,2855,2860,2865],{"type":375,"tag":454,"props":2853,"children":2854},{},[],{"type":375,"tag":454,"props":2856,"children":2857},{},[2858],{"type":384,"value":2859},"Outpost default mode",{"type":375,"tag":454,"props":2861,"children":2862},{},[2863],{"type":384,"value":2864},"Outpost Standard Webhooks mode",{"type":375,"tag":454,"props":2866,"children":2867},{},[2868],{"type":384,"value":463},{"type":375,"tag":470,"props":2870,"children":2871},{},[2872,2906,2944,2978,3008,3049],{"type":375,"tag":450,"props":2873,"children":2874},{},[2875,2880,2889,2898],{"type":375,"tag":477,"props":2876,"children":2877},{},[2878],{"type":384,"value":2879},"ID header",{"type":375,"tag":477,"props":2881,"children":2882},{},[2883],{"type":375,"tag":389,"props":2884,"children":2886},{"className":2885},[],[2887],{"type":384,"value":2888},"x-outpost-event-id",{"type":375,"tag":477,"props":2890,"children":2891},{},[2892],{"type":375,"tag":389,"props":2893,"children":2895},{"className":2894},[],[2896],{"type":384,"value":2897},"webhook-id",{"type":375,"tag":477,"props":2899,"children":2900},{},[2901],{"type":375,"tag":389,"props":2902,"children":2904},{"className":2903},[],[2905],{"type":384,"value":2897},{"type":375,"tag":450,"props":2907,"children":2908},{},[2909,2914,2925,2934],{"type":375,"tag":477,"props":2910,"children":2911},{},[2912],{"type":384,"value":2913},"Timestamp header",{"type":375,"tag":477,"props":2915,"children":2916},{},[2917,2923],{"type":375,"tag":389,"props":2918,"children":2920},{"className":2919},[],[2921],{"type":384,"value":2922},"x-outpost-timestamp",{"type":384,"value":2924}," (RFC 3339)",{"type":375,"tag":477,"props":2926,"children":2927},{},[2928],{"type":375,"tag":389,"props":2929,"children":2931},{"className":2930},[],[2932],{"type":384,"value":2933},"webhook-timestamp",{"type":375,"tag":477,"props":2935,"children":2936},{},[2937,2942],{"type":375,"tag":389,"props":2938,"children":2940},{"className":2939},[],[2941],{"type":384,"value":2933},{"type":384,"value":2943}," (Unix seconds)",{"type":375,"tag":450,"props":2945,"children":2946},{},[2947,2952,2961,2970],{"type":375,"tag":477,"props":2948,"children":2949},{},[2950],{"type":384,"value":2951},"Signature header",{"type":375,"tag":477,"props":2953,"children":2954},{},[2955],{"type":375,"tag":389,"props":2956,"children":2958},{"className":2957},[],[2959],{"type":384,"value":2960},"x-outpost-signature: v0=\u003Chex>",{"type":375,"tag":477,"props":2962,"children":2963},{},[2964],{"type":375,"tag":389,"props":2965,"children":2967},{"className":2966},[],[2968],{"type":384,"value":2969},"webhook-signature: v1,\u003Cbase64>",{"type":375,"tag":477,"props":2971,"children":2972},{},[2973],{"type":375,"tag":389,"props":2974,"children":2976},{"className":2975},[],[2977],{"type":384,"value":2969},{"type":375,"tag":450,"props":2979,"children":2980},{},[2981,2986,2991,3000],{"type":375,"tag":477,"props":2982,"children":2983},{},[2984],{"type":384,"value":2985},"Signed content",{"type":375,"tag":477,"props":2987,"children":2988},{},[2989],{"type":384,"value":2990},"The raw body (unless the operator changed the templates)",{"type":375,"tag":477,"props":2992,"children":2993},{},[2994],{"type":375,"tag":389,"props":2995,"children":2997},{"className":2996},[],[2998],{"type":384,"value":2999},"{id}.{timestamp}.{body}",{"type":375,"tag":477,"props":3001,"children":3002},{},[3003],{"type":375,"tag":389,"props":3004,"children":3006},{"className":3005},[],[3007],{"type":384,"value":2999},{"type":375,"tag":450,"props":3009,"children":3010},{},[3011,3016,3021,3032],{"type":375,"tag":477,"props":3012,"children":3013},{},[3014],{"type":384,"value":3015},"Key",{"type":375,"tag":477,"props":3017,"children":3018},{},[3019],{"type":384,"value":3020},"The whole secret string",{"type":375,"tag":477,"props":3022,"children":3023},{},[3024,3026],{"type":384,"value":3025},"Base64 part of ",{"type":375,"tag":389,"props":3027,"children":3029},{"className":3028},[],[3030],{"type":384,"value":3031},"whsec_…",{"type":375,"tag":477,"props":3033,"children":3034},{},[3035,3037,3042,3044],{"type":384,"value":3036},"Base64-decoded secret (after ",{"type":375,"tag":389,"props":3038,"children":3040},{"className":3039},[],[3041],{"type":384,"value":553},{"type":384,"value":3043},"), imported when it fits the format, otherwise a new ",{"type":375,"tag":389,"props":3045,"children":3047},{"className":3046},[],[3048],{"type":384,"value":3031},{"type":375,"tag":450,"props":3050,"children":3051},{},[3052,3056,3065,3068],{"type":375,"tag":477,"props":3053,"children":3054},{},[3055],{"type":384,"value":586},{"type":375,"tag":477,"props":3057,"children":3058},{},[3059],{"type":375,"tag":389,"props":3060,"children":3062},{"className":3061},[],[3063],{"type":384,"value":3064},"x-outpost-topic",{"type":375,"tag":477,"props":3066,"children":3067},{},[],{"type":375,"tag":477,"props":3069,"children":3070},{},[3071],{"type":375,"tag":389,"props":3072,"children":3074},{"className":3073},[],[3075],{"type":384,"value":3076},"webhook-event-type",{"type":375,"tag":3078,"props":3079,"children":3080},"ul",{},[3081,3092,3109],{"type":375,"tag":3082,"props":3083,"children":3084},"li",{},[3085,3090],{"type":375,"tag":380,"props":3086,"children":3087},{},[3088],{"type":384,"value":3089},"Standard Webhooks mode, secret imported:",{"type":384,"value":3091}," nothing changes for the receiver. Same headers, same scheme, same secret.",{"type":375,"tag":3082,"props":3093,"children":3094},{},[3095,3100,3102,3107],{"type":375,"tag":380,"props":3096,"children":3097},{},[3098],{"type":384,"value":3099},"Standard Webhooks mode, secret not imported:",{"type":384,"value":3101}," the receiver switches to the new ",{"type":375,"tag":389,"props":3103,"children":3105},{"className":3104},[],[3106],{"type":384,"value":553},{"type":384,"value":3108}," secret, trying the new secret and then the old one during the window.",{"type":375,"tag":3082,"props":3110,"children":3111},{},[3112,3117,3119,3125,3127,3132,3134,3140,3142,3148],{"type":375,"tag":380,"props":3113,"children":3114},{},[3115],{"type":384,"value":3116},"Default mode:",{"type":384,"value":3118}," receivers add Standard Webhooks verification (",{"type":375,"tag":411,"props":3120,"children":3122},{"href":3121},"/docs/outbound/receiving#verify-the-signature",[3123],{"type":384,"value":3124},"receiving guide",{"type":384,"value":3126},"). If the secret was imported, they keep the same secret value in their configuration: a Standard Webhooks library strips ",{"type":375,"tag":389,"props":3128,"children":3130},{"className":3129},[],[3131],{"type":384,"value":553},{"type":384,"value":3133}," and base64-decodes the rest, and Webhook Relay signs with that same decoded key. (Outpost's default mode used the whole string as the key, so the old check and the new check use the same value differently; that's expected.) If your operator customized ",{"type":375,"tag":389,"props":3135,"children":3137},{"className":3136},[],[3138],{"type":384,"value":3139},"DESTINATIONS_WEBHOOK_SIGNATURE_CONTENT_TEMPLATE",{"type":384,"value":3141}," or ",{"type":375,"tag":389,"props":3143,"children":3145},{"className":3144},[],[3146],{"type":384,"value":3147},"..._HEADER_TEMPLATE",{"type":384,"value":3149},", the old check is whatever those templates produce.",{"type":375,"tag":376,"props":3151,"children":3152},{},[3153,3155,3161,3163,3168,3170,3176],{"type":384,"value":3154},"During the migration window, a default-mode receiver accepts either provider by checking which headers are present. ",{"type":375,"tag":389,"props":3156,"children":3158},{"className":3157},[],[3159],{"type":384,"value":3160},"verifyWebhook",{"type":384,"value":3162}," is the Standard Webhooks function from the ",{"type":375,"tag":411,"props":3164,"children":3166},{"href":3165},"/docs/outbound/receiving#nodejs",[3167],{"type":384,"value":3124},{"type":384,"value":3169},". With an imported secret, both checks read the same ",{"type":375,"tag":389,"props":3171,"children":3173},{"className":3172},[],[3174],{"type":384,"value":3175},"WEBHOOK_SECRET",{"type":384,"value":1212},{"type":375,"tag":1214,"props":3178,"children":3179},{},[3180],{"type":375,"tag":1218,"props":3181,"children":3185},{"className":3182,"code":3183,"language":3184,"meta":345,"style":345},"language-js shiki shiki-themes github-dark","import crypto from \"node:crypto\";\nimport { verifyWebhook } from \"./verify-webhook.js\"; // from the receiving guide\n\nexport function verify(rawBody, headers) {\n  if (headers[\"webhook-signature\"]) {\n    // Standard Webhooks: the key is the base64-decoded part after \"whsec_\".\n    // If the secret wasn't imported, pass the new Webhook Relay secret here instead.\n    return verifyWebhook(rawBody, headers, process.env.WEBHOOK_SECRET);\n  }\n  const header = headers[\"x-outpost-signature\"]; // \"v0=\u003Chex>[,\u003Chex>]\" with Outpost's default templates\n  if (!header?.startsWith(\"v0=\")) return false;\n  // Outpost default mode: the key is the whole secret string.\n  const expected = crypto.createHmac(\"sha256\", process.env.WEBHOOK_SECRET).update(rawBody).digest();\n  return header.slice(3).split(\",\").some((sig) => {\n    const received = Buffer.from(sig, \"hex\");\n    return received.length === expected.length && crypto.timingSafeEqual(received, expected);\n  });\n}\n","js",[3186],{"type":375,"tag":389,"props":3187,"children":3188},{"__ignoreMap":345},[3189,3214,3245,3252,3293,3316,3324,3332,3358,3366,3402,3456,3464,3533,3612,3652,3702,3711],{"type":375,"tag":1228,"props":3190,"children":3191},{"class":1230,"line":1231},[3192,3196,3201,3205,3210],{"type":375,"tag":1228,"props":3193,"children":3194},{"style":1235},[3195],{"type":384,"value":1238},{"type":375,"tag":1228,"props":3197,"children":3198},{"style":1241},[3199],{"type":384,"value":3200}," crypto ",{"type":375,"tag":1228,"props":3202,"children":3203},{"style":1235},[3204],{"type":384,"value":1249},{"type":375,"tag":1228,"props":3206,"children":3207},{"style":1252},[3208],{"type":384,"value":3209}," \"node:crypto\"",{"type":375,"tag":1228,"props":3211,"children":3212},{"style":1241},[3213],{"type":384,"value":1260},{"type":375,"tag":1228,"props":3215,"children":3216},{"class":1230,"line":1263},[3217,3221,3226,3230,3235,3240],{"type":375,"tag":1228,"props":3218,"children":3219},{"style":1235},[3220],{"type":384,"value":1238},{"type":375,"tag":1228,"props":3222,"children":3223},{"style":1241},[3224],{"type":384,"value":3225}," { verifyWebhook } ",{"type":375,"tag":1228,"props":3227,"children":3228},{"style":1235},[3229],{"type":384,"value":1249},{"type":375,"tag":1228,"props":3231,"children":3232},{"style":1252},[3233],{"type":384,"value":3234}," \"./verify-webhook.js\"",{"type":375,"tag":1228,"props":3236,"children":3237},{"style":1241},[3238],{"type":384,"value":3239},"; ",{"type":375,"tag":1228,"props":3241,"children":3242},{"style":1527},[3243],{"type":384,"value":3244},"// from the receiving guide\n",{"type":375,"tag":1228,"props":3246,"children":3247},{"class":1230,"line":1273},[3248],{"type":375,"tag":1228,"props":3249,"children":3250},{"emptyLinePlaceholder":1267},[3251],{"type":384,"value":1270},{"type":375,"tag":1228,"props":3253,"children":3254},{"class":1230,"line":1319},[3255,3260,3265,3270,3274,3280,3284,3288],{"type":375,"tag":1228,"props":3256,"children":3257},{"style":1235},[3258],{"type":384,"value":3259},"export",{"type":375,"tag":1228,"props":3261,"children":3262},{"style":1235},[3263],{"type":384,"value":3264}," function",{"type":375,"tag":1228,"props":3266,"children":3267},{"style":1298},[3268],{"type":384,"value":3269}," verify",{"type":375,"tag":1228,"props":3271,"children":3272},{"style":1241},[3273],{"type":384,"value":1739},{"type":375,"tag":1228,"props":3275,"children":3277},{"style":3276},"--shiki-default:#FFAB70",[3278],{"type":384,"value":3279},"rawBody",{"type":375,"tag":1228,"props":3281,"children":3282},{"style":1241},[3283],{"type":384,"value":1853},{"type":375,"tag":1228,"props":3285,"children":3286},{"style":3276},[3287],{"type":384,"value":678},{"type":375,"tag":1228,"props":3289,"children":3290},{"style":1241},[3291],{"type":384,"value":3292},") {\n",{"type":375,"tag":1228,"props":3294,"children":3295},{"class":1230,"line":1327},[3296,3301,3306,3311],{"type":375,"tag":1228,"props":3297,"children":3298},{"style":1235},[3299],{"type":384,"value":3300},"  if",{"type":375,"tag":1228,"props":3302,"children":3303},{"style":1241},[3304],{"type":384,"value":3305}," (headers[",{"type":375,"tag":1228,"props":3307,"children":3308},{"style":1252},[3309],{"type":384,"value":3310},"\"webhook-signature\"",{"type":375,"tag":1228,"props":3312,"children":3313},{"style":1241},[3314],{"type":384,"value":3315},"]) {\n",{"type":375,"tag":1228,"props":3317,"children":3318},{"class":1230,"line":1350},[3319],{"type":375,"tag":1228,"props":3320,"children":3321},{"style":1527},[3322],{"type":384,"value":3323},"    // Standard Webhooks: the key is the base64-decoded part after \"whsec_\".\n",{"type":375,"tag":1228,"props":3325,"children":3326},{"class":1230,"line":1369},[3327],{"type":375,"tag":1228,"props":3328,"children":3329},{"style":1527},[3330],{"type":384,"value":3331},"    // If the secret wasn't imported, pass the new Webhook Relay secret here instead.\n",{"type":375,"tag":1228,"props":3333,"children":3334},{"class":1230,"line":1387},[3335,3340,3345,3350,3354],{"type":375,"tag":1228,"props":3336,"children":3337},{"style":1235},[3338],{"type":384,"value":3339},"    return",{"type":375,"tag":1228,"props":3341,"children":3342},{"style":1298},[3343],{"type":384,"value":3344}," verifyWebhook",{"type":375,"tag":1228,"props":3346,"children":3347},{"style":1241},[3348],{"type":384,"value":3349},"(rawBody, headers, process.env.",{"type":375,"tag":1228,"props":3351,"children":3352},{"style":1282},[3353],{"type":384,"value":3175},{"type":375,"tag":1228,"props":3355,"children":3356},{"style":1241},[3357],{"type":384,"value":1634},{"type":375,"tag":1228,"props":3359,"children":3360},{"class":1230,"line":1405},[3361],{"type":375,"tag":1228,"props":3362,"children":3363},{"style":1241},[3364],{"type":384,"value":3365},"  }\n",{"type":375,"tag":1228,"props":3367,"children":3368},{"class":1230,"line":1434},[3369,3374,3378,3382,3387,3392,3397],{"type":375,"tag":1228,"props":3370,"children":3371},{"style":1235},[3372],{"type":384,"value":3373},"  const",{"type":375,"tag":1228,"props":3375,"children":3376},{"style":1282},[3377],{"type":384,"value":748},{"type":375,"tag":1228,"props":3379,"children":3380},{"style":1235},[3381],{"type":384,"value":1290},{"type":375,"tag":1228,"props":3383,"children":3384},{"style":1241},[3385],{"type":384,"value":3386}," headers[",{"type":375,"tag":1228,"props":3388,"children":3389},{"style":1252},[3390],{"type":384,"value":3391},"\"x-outpost-signature\"",{"type":375,"tag":1228,"props":3393,"children":3394},{"style":1241},[3395],{"type":384,"value":3396},"]; ",{"type":375,"tag":1228,"props":3398,"children":3399},{"style":1527},[3400],{"type":384,"value":3401},"// \"v0=\u003Chex>[,\u003Chex>]\" with Outpost's default templates\n",{"type":375,"tag":1228,"props":3403,"children":3404},{"class":1230,"line":1945},[3405,3409,3413,3418,3423,3428,3432,3437,3442,3447,3452],{"type":375,"tag":1228,"props":3406,"children":3407},{"style":1235},[3408],{"type":384,"value":3300},{"type":375,"tag":1228,"props":3410,"children":3411},{"style":1241},[3412],{"type":384,"value":2833},{"type":375,"tag":1228,"props":3414,"children":3415},{"style":1235},[3416],{"type":384,"value":3417},"!",{"type":375,"tag":1228,"props":3419,"children":3420},{"style":1241},[3421],{"type":384,"value":3422},"header?.",{"type":375,"tag":1228,"props":3424,"children":3425},{"style":1298},[3426],{"type":384,"value":3427},"startsWith",{"type":375,"tag":1228,"props":3429,"children":3430},{"style":1241},[3431],{"type":384,"value":1739},{"type":375,"tag":1228,"props":3433,"children":3434},{"style":1252},[3435],{"type":384,"value":3436},"\"v0=\"",{"type":375,"tag":1228,"props":3438,"children":3439},{"style":1241},[3440],{"type":384,"value":3441},")) ",{"type":375,"tag":1228,"props":3443,"children":3444},{"style":1235},[3445],{"type":384,"value":3446},"return",{"type":375,"tag":1228,"props":3448,"children":3449},{"style":1282},[3450],{"type":384,"value":3451}," false",{"type":375,"tag":1228,"props":3453,"children":3454},{"style":1241},[3455],{"type":384,"value":1260},{"type":375,"tag":1228,"props":3457,"children":3458},{"class":1230,"line":1962},[3459],{"type":375,"tag":1228,"props":3460,"children":3461},{"style":1527},[3462],{"type":384,"value":3463},"  // Outpost default mode: the key is the whole secret string.\n",{"type":375,"tag":1228,"props":3465,"children":3466},{"class":1230,"line":1979},[3467,3471,3476,3480,3485,3490,3494,3499,3504,3508,3513,3518,3523,3528],{"type":375,"tag":1228,"props":3468,"children":3469},{"style":1235},[3470],{"type":384,"value":3373},{"type":375,"tag":1228,"props":3472,"children":3473},{"style":1282},[3474],{"type":384,"value":3475}," expected",{"type":375,"tag":1228,"props":3477,"children":3478},{"style":1235},[3479],{"type":384,"value":1290},{"type":375,"tag":1228,"props":3481,"children":3482},{"style":1241},[3483],{"type":384,"value":3484}," crypto.",{"type":375,"tag":1228,"props":3486,"children":3487},{"style":1298},[3488],{"type":384,"value":3489},"createHmac",{"type":375,"tag":1228,"props":3491,"children":3492},{"style":1241},[3493],{"type":384,"value":1739},{"type":375,"tag":1228,"props":3495,"children":3496},{"style":1252},[3497],{"type":384,"value":3498},"\"sha256\"",{"type":375,"tag":1228,"props":3500,"children":3501},{"style":1241},[3502],{"type":384,"value":3503},", process.env.",{"type":375,"tag":1228,"props":3505,"children":3506},{"style":1282},[3507],{"type":384,"value":3175},{"type":375,"tag":1228,"props":3509,"children":3510},{"style":1241},[3511],{"type":384,"value":3512},").",{"type":375,"tag":1228,"props":3514,"children":3515},{"style":1298},[3516],{"type":384,"value":3517},"update",{"type":375,"tag":1228,"props":3519,"children":3520},{"style":1241},[3521],{"type":384,"value":3522},"(rawBody).",{"type":375,"tag":1228,"props":3524,"children":3525},{"style":1298},[3526],{"type":384,"value":3527},"digest",{"type":375,"tag":1228,"props":3529,"children":3530},{"style":1241},[3531],{"type":384,"value":3532},"();\n",{"type":375,"tag":1228,"props":3534,"children":3535},{"class":1230,"line":1996},[3536,3541,3546,3551,3555,3560,3564,3569,3573,3578,3582,3587,3592,3597,3602,3607],{"type":375,"tag":1228,"props":3537,"children":3538},{"style":1235},[3539],{"type":384,"value":3540},"  return",{"type":375,"tag":1228,"props":3542,"children":3543},{"style":1241},[3544],{"type":384,"value":3545}," header.",{"type":375,"tag":1228,"props":3547,"children":3548},{"style":1298},[3549],{"type":384,"value":3550},"slice",{"type":375,"tag":1228,"props":3552,"children":3553},{"style":1241},[3554],{"type":384,"value":1739},{"type":375,"tag":1228,"props":3556,"children":3557},{"style":1282},[3558],{"type":384,"value":3559},"3",{"type":375,"tag":1228,"props":3561,"children":3562},{"style":1241},[3563],{"type":384,"value":3512},{"type":375,"tag":1228,"props":3565,"children":3566},{"style":1298},[3567],{"type":384,"value":3568},"split",{"type":375,"tag":1228,"props":3570,"children":3571},{"style":1241},[3572],{"type":384,"value":1739},{"type":375,"tag":1228,"props":3574,"children":3575},{"style":1252},[3576],{"type":384,"value":3577},"\",\"",{"type":375,"tag":1228,"props":3579,"children":3580},{"style":1241},[3581],{"type":384,"value":3512},{"type":375,"tag":1228,"props":3583,"children":3584},{"style":1298},[3585],{"type":384,"value":3586},"some",{"type":375,"tag":1228,"props":3588,"children":3589},{"style":1241},[3590],{"type":384,"value":3591},"((",{"type":375,"tag":1228,"props":3593,"children":3594},{"style":3276},[3595],{"type":384,"value":3596},"sig",{"type":375,"tag":1228,"props":3598,"children":3599},{"style":1241},[3600],{"type":384,"value":3601},") ",{"type":375,"tag":1228,"props":3603,"children":3604},{"style":1235},[3605],{"type":384,"value":3606},"=>",{"type":375,"tag":1228,"props":3608,"children":3609},{"style":1241},[3610],{"type":384,"value":3611}," {\n",{"type":375,"tag":1228,"props":3613,"children":3614},{"class":1230,"line":2063},[3615,3620,3625,3629,3634,3638,3643,3648],{"type":375,"tag":1228,"props":3616,"children":3617},{"style":1235},[3618],{"type":384,"value":3619},"    const",{"type":375,"tag":1228,"props":3621,"children":3622},{"style":1282},[3623],{"type":384,"value":3624}," received",{"type":375,"tag":1228,"props":3626,"children":3627},{"style":1235},[3628],{"type":384,"value":1290},{"type":375,"tag":1228,"props":3630,"children":3631},{"style":1241},[3632],{"type":384,"value":3633}," Buffer.",{"type":375,"tag":1228,"props":3635,"children":3636},{"style":1298},[3637],{"type":384,"value":1249},{"type":375,"tag":1228,"props":3639,"children":3640},{"style":1241},[3641],{"type":384,"value":3642},"(sig, ",{"type":375,"tag":1228,"props":3644,"children":3645},{"style":1252},[3646],{"type":384,"value":3647},"\"hex\"",{"type":375,"tag":1228,"props":3649,"children":3650},{"style":1241},[3651],{"type":384,"value":1634},{"type":375,"tag":1228,"props":3653,"children":3654},{"class":1230,"line":2080},[3655,3659,3664,3669,3674,3679,3683,3688,3692,3697],{"type":375,"tag":1228,"props":3656,"children":3657},{"style":1235},[3658],{"type":384,"value":3339},{"type":375,"tag":1228,"props":3660,"children":3661},{"style":1241},[3662],{"type":384,"value":3663}," received.",{"type":375,"tag":1228,"props":3665,"children":3666},{"style":1282},[3667],{"type":384,"value":3668},"length",{"type":375,"tag":1228,"props":3670,"children":3671},{"style":1235},[3672],{"type":384,"value":3673}," ===",{"type":375,"tag":1228,"props":3675,"children":3676},{"style":1241},[3677],{"type":384,"value":3678}," expected.",{"type":375,"tag":1228,"props":3680,"children":3681},{"style":1282},[3682],{"type":384,"value":3668},{"type":375,"tag":1228,"props":3684,"children":3685},{"style":1235},[3686],{"type":384,"value":3687}," &&",{"type":375,"tag":1228,"props":3689,"children":3690},{"style":1241},[3691],{"type":384,"value":3484},{"type":375,"tag":1228,"props":3693,"children":3694},{"style":1298},[3695],{"type":384,"value":3696},"timingSafeEqual",{"type":375,"tag":1228,"props":3698,"children":3699},{"style":1241},[3700],{"type":384,"value":3701},"(received, expected);\n",{"type":375,"tag":1228,"props":3703,"children":3705},{"class":1230,"line":3704},17,[3706],{"type":375,"tag":1228,"props":3707,"children":3708},{"style":1241},[3709],{"type":384,"value":3710},"  });\n",{"type":375,"tag":1228,"props":3712,"children":3714},{"class":1230,"line":3713},18,[3715],{"type":375,"tag":1228,"props":3716,"children":3717},{"style":1241},[3718],{"type":384,"value":3719},"}\n",{"type":375,"tag":376,"props":3721,"children":3722},{},[3723,3725,3730,3732,3737,3739,3744],{"type":384,"value":3724},"Deduplicate on ",{"type":375,"tag":389,"props":3726,"children":3728},{"className":3727},[],[3729],{"type":384,"value":2897},{"type":384,"value":3731}," for Webhook Relay deliveries and on ",{"type":375,"tag":389,"props":3733,"children":3735},{"className":3734},[],[3736],{"type":384,"value":2888},{"type":384,"value":3738}," for Outpost ones. If you publish to Webhook Relay with ",{"type":375,"tag":389,"props":3740,"children":3742},{"className":3741},[],[3743],{"type":384,"value":739},{"type":384,"value":3745}," set to the Outpost event ID and also include it in the payload, receivers can deduplicate across providers.",{"type":375,"tag":435,"props":3747,"children":3749},{"id":3748},"cutover-plan",[3750],{"type":384,"value":3751},"Cutover plan",{"type":375,"tag":3753,"props":3754,"children":3755},"ol",{},[3756,3797,3849,3878,3918,3934],{"type":375,"tag":3082,"props":3757,"children":3758},{},[3759,3764,3766,3772,3773,3779,3781,3787,3789,3795],{"type":375,"tag":380,"props":3760,"children":3761},{},[3762],{"type":384,"value":3763},"Import.",{"type":384,"value":3765}," Run the ",{"type":375,"tag":411,"props":3767,"children":3769},{"href":3768},"#import-script",[3770],{"type":384,"value":3771},"import script",{"type":384,"value":1015},{"type":375,"tag":389,"props":3774,"children":3776},{"className":3775},[],[3777],{"type":384,"value":3778},"DRY_RUN=true",{"type":384,"value":3780},", review the report, then with ",{"type":375,"tag":389,"props":3782,"children":3784},{"className":3783},[],[3785],{"type":384,"value":3786},"DRY_RUN=false",{"type":384,"value":3788},". It creates event types from your topics, one consumer per tenant and an endpoint per webhook destination with the destination's existing secret where it fits the format, then pauses every new endpoint. The report lists the endpoints that got a new secret. ",{"type":375,"tag":3790,"props":3791,"children":3792},"em",{},[3793],{"type":384,"value":3794},"Rollback:",{"type":384,"value":3796}," nothing is live. Leave the endpoints paused or delete them.",{"type":375,"tag":3082,"props":3798,"children":3799},{},[3800,3805,3807,3812,3814,3819,3821,3826,3828,3833,3835,3841,3843,3847],{"type":375,"tag":380,"props":3801,"children":3802},{},[3803],{"type":384,"value":3804},"Shadow publish.",{"type":384,"value":3806}," Next to every ",{"type":375,"tag":389,"props":3808,"children":3810},{"className":3809},[],[3811],{"type":384,"value":394},{"type":384,"value":3813},", call ",{"type":375,"tag":389,"props":3815,"children":3817},{"className":3816},[],[3818],{"type":384,"value":402},{"type":384,"value":3820}," with the tenant ID as the consumer, the topic as the event type and the Outpost event ",{"type":375,"tag":389,"props":3822,"children":3824},{"className":3823},[],[3825],{"type":384,"value":730},{"type":384,"value":3827}," as both ",{"type":375,"tag":389,"props":3829,"children":3831},{"className":3830},[],[3832],{"type":384,"value":739},{"type":384,"value":3834}," and the idempotency key, behind a feature flag. Outpost still delivers. Webhook Relay records each message as ",{"type":375,"tag":389,"props":3836,"children":3838},{"className":3837},[],[3839],{"type":384,"value":3840},"rejected",{"type":384,"value":3842}," on the paused endpoints. ",{"type":375,"tag":3790,"props":3844,"children":3845},{},[3846],{"type":384,"value":3794},{"type":384,"value":3848}," turn the flag off.",{"type":375,"tag":3082,"props":3850,"children":3851},{},[3852,3857,3859,3864,3866,3870,3872,3876],{"type":375,"tag":380,"props":3853,"children":3854},{},[3855],{"type":384,"value":3856},"Receiver changes, only where needed.",{"type":384,"value":3858}," In Standard Webhooks mode, skip this for customers whose secret was imported. In default mode, every receiver adds Standard Webhooks verification and accepts either provider as shown above. Customers whose secret couldn't be imported also need their new secret: show it in your product (read it with ",{"type":375,"tag":389,"props":3860,"children":3862},{"className":3861},[],[3863],{"type":384,"value":1112},{"type":384,"value":3865},"). Send the ",{"type":375,"tag":411,"props":3867,"children":3868},{"href":71},[3869],{"type":384,"value":3124},{"type":384,"value":3871}," to everyone whose receiver changes. ",{"type":375,"tag":3790,"props":3873,"children":3874},{},[3875],{"type":384,"value":3794},{"type":384,"value":3877}," nothing to undo.",{"type":375,"tag":3082,"props":3879,"children":3880},{},[3881,3886,3888,3894,3896,3902,3904,3908,3910,3916],{"type":375,"tag":380,"props":3882,"children":3883},{},[3884],{"type":384,"value":3885},"Switch, one customer at a time",{"type":384,"value":3887}," (needs approval). Resume the customer's Webhook Relay endpoints and disable their Outpost destinations (",{"type":375,"tag":389,"props":3889,"children":3891},{"className":3890},[],[3892],{"type":384,"value":3893},"PUT .../disable",{"type":384,"value":3895},"). Don't delete anything, and don't call ",{"type":375,"tag":389,"props":3897,"children":3899},{"className":3898},[],[3900],{"type":384,"value":3901},"replay-missing",{"type":384,"value":3903}," for the shadow period. Start with an internal test tenant. ",{"type":375,"tag":3790,"props":3905,"children":3906},{},[3907],{"type":384,"value":3794},{"type":384,"value":3909}," pause the Webhook Relay endpoints and ",{"type":375,"tag":389,"props":3911,"children":3913},{"className":3912},[],[3914],{"type":384,"value":3915},"PUT .../enable",{"type":384,"value":3917}," the Outpost destinations.",{"type":375,"tag":3082,"props":3919,"children":3920},{},[3921,3926,3928,3932],{"type":375,"tag":380,"props":3922,"children":3923},{},[3924],{"type":384,"value":3925},"End dual publish.",{"type":384,"value":3927}," When every customer is switched and Outpost has no deliveries left in retry, remove the Outpost publish call and SDK. ",{"type":375,"tag":3790,"props":3929,"children":3930},{},[3931],{"type":384,"value":3794},{"type":384,"value":3933}," restore the call; tenants and destinations are untouched.",{"type":375,"tag":3082,"props":3935,"children":3936},{},[3937,3942],{"type":375,"tag":380,"props":3938,"children":3939},{},[3940],{"type":384,"value":3941},"Decommission.",{"type":384,"value":3943}," A human shuts down the Outpost instance or plan after exporting any history they need.",{"type":375,"tag":435,"props":3945,"children":3947},{"id":3946},"verify",[3948],{"type":384,"value":3949},"Verify",{"type":375,"tag":3753,"props":3951,"children":3952},{},[3953,4257,4277,4297,4332],{"type":375,"tag":3082,"props":3954,"children":3955},{},[3956,3958,3964,3966],{"type":384,"value":3957},"Create a free ",{"type":375,"tag":411,"props":3959,"children":3961},{"href":3960},"/webhook-bin",[3962],{"type":384,"value":3963},"Webhook Bin",{"type":384,"value":3965}," and add it as an endpoint of a test consumer:",{"type":375,"tag":1218,"props":3967,"children":3969},{"className":2096,"code":3968,"language":2098,"meta":345,"style":345},"BIN=$(curl -s -X POST https://bin.webhookrelay.com/v1/bins | jq -r .id)\ncurl --user \"$RELAY_KEY:$RELAY_SECRET\" -X PUT https://my.webhookrelay.com/v1/outbound/consumers/migration-test \\\n  -H 'Content-Type: application/json' -d '{\"name\":\"Migration test\"}'\ncurl --user \"$RELAY_KEY:$RELAY_SECRET\" -X POST https://my.webhookrelay.com/v1/outbound/consumers/migration-test/endpoints \\\n  -H 'Content-Type: application/json' \\\n  -d \"{\\\"url\\\":\\\"https://bin.webhookrelay.com/v1/webhooks/$BIN\\\",\\\"event_types\\\":[\\\"*\\\"]}\"\n",[3970],{"type":375,"tag":389,"props":3971,"children":3972},{"__ignoreMap":345},[3973,4035,4084,4105,4153,4168],{"type":375,"tag":1228,"props":3974,"children":3975},{"class":1230,"line":1231},[3976,3981,3986,3991,3995,3999,4003,4007,4012,4016,4020,4025,4030],{"type":375,"tag":1228,"props":3977,"children":3978},{"style":1241},[3979],{"type":384,"value":3980},"BIN",{"type":375,"tag":1228,"props":3982,"children":3983},{"style":1235},[3984],{"type":384,"value":3985},"=",{"type":375,"tag":1228,"props":3987,"children":3988},{"style":1241},[3989],{"type":384,"value":3990},"$(",{"type":375,"tag":1228,"props":3992,"children":3993},{"style":1298},[3994],{"type":384,"value":2118},{"type":375,"tag":1228,"props":3996,"children":3997},{"style":1282},[3998],{"type":384,"value":2634},{"type":375,"tag":1228,"props":4000,"children":4001},{"style":1282},[4002],{"type":384,"value":2123},{"type":375,"tag":1228,"props":4004,"children":4005},{"style":1252},[4006],{"type":384,"value":2128},{"type":375,"tag":1228,"props":4008,"children":4009},{"style":1252},[4010],{"type":384,"value":4011}," https://bin.webhookrelay.com/v1/bins",{"type":375,"tag":1228,"props":4013,"children":4014},{"style":1235},[4015],{"type":384,"value":2708},{"type":375,"tag":1228,"props":4017,"children":4018},{"style":1298},[4019],{"type":384,"value":2713},{"type":375,"tag":1228,"props":4021,"children":4022},{"style":1282},[4023],{"type":384,"value":4024}," -r",{"type":375,"tag":1228,"props":4026,"children":4027},{"style":1252},[4028],{"type":384,"value":4029}," .id",{"type":375,"tag":1228,"props":4031,"children":4032},{"style":1241},[4033],{"type":384,"value":4034},")\n",{"type":375,"tag":1228,"props":4036,"children":4037},{"class":1230,"line":1263},[4038,4042,4046,4050,4054,4058,4062,4066,4070,4075,4080],{"type":375,"tag":1228,"props":4039,"children":4040},{"style":1298},[4041],{"type":384,"value":2118},{"type":375,"tag":1228,"props":4043,"children":4044},{"style":1282},[4045],{"type":384,"value":2215},{"type":375,"tag":1228,"props":4047,"children":4048},{"style":1252},[4049],{"type":384,"value":2220},{"type":375,"tag":1228,"props":4051,"children":4052},{"style":1241},[4053],{"type":384,"value":2225},{"type":375,"tag":1228,"props":4055,"children":4056},{"style":1252},[4057],{"type":384,"value":1212},{"type":375,"tag":1228,"props":4059,"children":4060},{"style":1241},[4061],{"type":384,"value":2234},{"type":375,"tag":1228,"props":4063,"children":4064},{"style":1252},[4065],{"type":384,"value":2161},{"type":375,"tag":1228,"props":4067,"children":4068},{"style":1282},[4069],{"type":384,"value":2123},{"type":375,"tag":1228,"props":4071,"children":4072},{"style":1252},[4073],{"type":384,"value":4074}," PUT",{"type":375,"tag":1228,"props":4076,"children":4077},{"style":1252},[4078],{"type":384,"value":4079}," https://my.webhookrelay.com/v1/outbound/consumers/migration-test",{"type":375,"tag":1228,"props":4081,"children":4082},{"style":1282},[4083],{"type":384,"value":2138},{"type":375,"tag":1228,"props":4085,"children":4086},{"class":1230,"line":1273},[4087,4091,4095,4100],{"type":375,"tag":1228,"props":4088,"children":4089},{"style":1282},[4090],{"type":384,"value":2146},{"type":375,"tag":1228,"props":4092,"children":4093},{"style":1252},[4094],{"type":384,"value":2171},{"type":375,"tag":1228,"props":4096,"children":4097},{"style":1282},[4098],{"type":384,"value":4099}," -d",{"type":375,"tag":1228,"props":4101,"children":4102},{"style":1252},[4103],{"type":384,"value":4104}," '{\"name\":\"Migration test\"}'\n",{"type":375,"tag":1228,"props":4106,"children":4107},{"class":1230,"line":1319},[4108,4112,4116,4120,4124,4128,4132,4136,4140,4144,4149],{"type":375,"tag":1228,"props":4109,"children":4110},{"style":1298},[4111],{"type":384,"value":2118},{"type":375,"tag":1228,"props":4113,"children":4114},{"style":1282},[4115],{"type":384,"value":2215},{"type":375,"tag":1228,"props":4117,"children":4118},{"style":1252},[4119],{"type":384,"value":2220},{"type":375,"tag":1228,"props":4121,"children":4122},{"style":1241},[4123],{"type":384,"value":2225},{"type":375,"tag":1228,"props":4125,"children":4126},{"style":1252},[4127],{"type":384,"value":1212},{"type":375,"tag":1228,"props":4129,"children":4130},{"style":1241},[4131],{"type":384,"value":2234},{"type":375,"tag":1228,"props":4133,"children":4134},{"style":1252},[4135],{"type":384,"value":2161},{"type":375,"tag":1228,"props":4137,"children":4138},{"style":1282},[4139],{"type":384,"value":2123},{"type":375,"tag":1228,"props":4141,"children":4142},{"style":1252},[4143],{"type":384,"value":2128},{"type":375,"tag":1228,"props":4145,"children":4146},{"style":1252},[4147],{"type":384,"value":4148}," https://my.webhookrelay.com/v1/outbound/consumers/migration-test/endpoints",{"type":375,"tag":1228,"props":4150,"children":4151},{"style":1282},[4152],{"type":384,"value":2138},{"type":375,"tag":1228,"props":4154,"children":4155},{"class":1230,"line":1327},[4156,4160,4164],{"type":375,"tag":1228,"props":4157,"children":4158},{"style":1282},[4159],{"type":384,"value":2146},{"type":375,"tag":1228,"props":4161,"children":4162},{"style":1252},[4163],{"type":384,"value":2171},{"type":375,"tag":1228,"props":4165,"children":4166},{"style":1282},[4167],{"type":384,"value":2138},{"type":375,"tag":1228,"props":4169,"children":4170},{"class":1230,"line":1350},[4171,4175,4180,4185,4190,4194,4198,4202,4207,4212,4216,4221,4225,4230,4234,4239,4243,4248,4252],{"type":375,"tag":1228,"props":4172,"children":4173},{"style":1282},[4174],{"type":384,"value":2183},{"type":375,"tag":1228,"props":4176,"children":4177},{"style":1252},[4178],{"type":384,"value":4179}," \"{",{"type":375,"tag":1228,"props":4181,"children":4182},{"style":1282},[4183],{"type":384,"value":4184},"\\\"",{"type":375,"tag":1228,"props":4186,"children":4187},{"style":1252},[4188],{"type":384,"value":4189},"url",{"type":375,"tag":1228,"props":4191,"children":4192},{"style":1282},[4193],{"type":384,"value":4184},{"type":375,"tag":1228,"props":4195,"children":4196},{"style":1252},[4197],{"type":384,"value":1212},{"type":375,"tag":1228,"props":4199,"children":4200},{"style":1282},[4201],{"type":384,"value":4184},{"type":375,"tag":1228,"props":4203,"children":4204},{"style":1252},[4205],{"type":384,"value":4206},"https://bin.webhookrelay.com/v1/webhooks/",{"type":375,"tag":1228,"props":4208,"children":4209},{"style":1241},[4210],{"type":384,"value":4211},"$BIN",{"type":375,"tag":1228,"props":4213,"children":4214},{"style":1282},[4215],{"type":384,"value":4184},{"type":375,"tag":1228,"props":4217,"children":4218},{"style":1252},[4219],{"type":384,"value":4220},",",{"type":375,"tag":1228,"props":4222,"children":4223},{"style":1282},[4224],{"type":384,"value":4184},{"type":375,"tag":1228,"props":4226,"children":4227},{"style":1252},[4228],{"type":384,"value":4229},"event_types",{"type":375,"tag":1228,"props":4231,"children":4232},{"style":1282},[4233],{"type":384,"value":4184},{"type":375,"tag":1228,"props":4235,"children":4236},{"style":1252},[4237],{"type":384,"value":4238},":[",{"type":375,"tag":1228,"props":4240,"children":4241},{"style":1282},[4242],{"type":384,"value":4184},{"type":375,"tag":1228,"props":4244,"children":4245},{"style":1252},[4246],{"type":384,"value":4247},"*",{"type":375,"tag":1228,"props":4249,"children":4250},{"style":1282},[4251],{"type":384,"value":4184},{"type":375,"tag":1228,"props":4253,"children":4254},{"style":1252},[4255],{"type":384,"value":4256},"]}\"\n",{"type":375,"tag":3082,"props":4258,"children":4259},{},[4260,4262,4268,4270,4276],{"type":384,"value":4261},"Publish a test message to ",{"type":375,"tag":389,"props":4263,"children":4265},{"className":4264},[],[4266],{"type":384,"value":4267},"migration-test",{"type":384,"value":4269}," through your new code path and read the capture with ",{"type":375,"tag":389,"props":4271,"children":4273},{"className":4272},[],[4274],{"type":384,"value":4275},"curl -s https://bin.webhookrelay.com/v1/bins/$BIN | jq '.requests[0]'",{"type":384,"value":433},{"type":375,"tag":3082,"props":4278,"children":4279},{},[4280,4282,4288,4290,4295],{"type":384,"value":4281},"Paste the headers, body and that endpoint's secret into the ",{"type":375,"tag":411,"props":4283,"children":4285},{"href":4284},"/verify-standard-webhooks-signature",[4286],{"type":384,"value":4287},"Standard Webhooks signature verifier",{"type":384,"value":4289},", then run the same request through your customers' sample receiver. To test secret import, create a test Outpost destination, then create the bin endpoint with its secret (as in ",{"type":375,"tag":411,"props":4291,"children":4293},{"href":4292},"#add-a-customer-and-an-endpoint",[4294],{"type":384,"value":2297},{"type":384,"value":4296},") and verify with the Outpost secret.",{"type":375,"tag":3082,"props":4298,"children":4299},{},[4300,4302,4308,4310,4316,4318,4323,4325,4331],{"type":384,"value":4301},"During shadow publishing, compare per tenant and topic: Outpost's events (",{"type":375,"tag":389,"props":4303,"children":4305},{"className":4304},[],[4306],{"type":384,"value":4307},"GET /events?tenant_id=…",{"type":384,"value":4309},") against ",{"type":375,"tag":389,"props":4311,"children":4313},{"className":4312},[],[4314],{"type":384,"value":4315},"GET /v1/outbound/messages?consumer=\u003Cid>",{"type":384,"value":4317},", and the ",{"type":375,"tag":389,"props":4319,"children":4321},{"className":4320},[],[4322],{"type":384,"value":3840},{"type":384,"value":4324}," deliveries on each paused endpoint (",{"type":375,"tag":389,"props":4326,"children":4328},{"className":4327},[],[4329],{"type":384,"value":4330},"GET /v1/outbound/endpoints/{id}/deliveries?status=rejected",{"type":384,"value":3512},{"type":375,"tag":3082,"props":4333,"children":4334},{},[4335,4337,4343,4344,4350],{"type":384,"value":4336},"After switching a customer, watch ",{"type":375,"tag":389,"props":4338,"children":4340},{"className":4339},[],[4341],{"type":384,"value":4342},"GET /v1/outbound/endpoints/{id}/deliveries?status=failed",{"type":384,"value":1022},{"type":375,"tag":389,"props":4345,"children":4347},{"className":4346},[],[4348],{"type":384,"value":4349},"GET /v1/outbound/health",{"type":384,"value":433},{"type":375,"tag":435,"props":4352,"children":4354},{"id":4353},"import-script",[4355],{"type":384,"value":4356},"Import script",{"type":375,"tag":376,"props":4358,"children":4359},{},[4360,4362,4367,4369,4375],{"type":384,"value":4361},"This script reads Outpost (read-only), including each webhook destination's ",{"type":375,"tag":389,"props":4363,"children":4365},{"className":4364},[],[4366],{"type":384,"value":545},{"type":384,"value":4368},", and creates the same configuration in Webhook Relay. It checks your plan limits before writing anything, skips non-webhook destinations, imports each secret that fits the format and reports the endpoints that get a new one, keeps secrets in memory only (never printed, logged or written to the state file), pauses every endpoint it creates and stops at the first error with its progress saved. Run it with ",{"type":375,"tag":389,"props":4370,"children":4372},{"className":4371},[],[4373],{"type":384,"value":4374},"npx tsx migrate-outpost.mts",{"type":384,"value":433},{"type":375,"tag":376,"props":4377,"children":4378},{},[4379,4381,4386,4388,4393],{"type":384,"value":4380},"The SDKs add a ",{"type":375,"tag":389,"props":4382,"children":4384},{"className":4383},[],[4385],{"type":384,"value":1134},{"type":384,"value":4387}," option to endpoint create in their next release; until then, the script creates endpoints with the REST call and uses ",{"type":375,"tag":389,"props":4389,"children":4391},{"className":4390},[],[4392],{"type":384,"value":1451},{"type":384,"value":4394}," for everything else.",{"type":375,"tag":376,"props":4396,"children":4397},{},[4398,4403,4405,4411,4413,4419],{"type":375,"tag":389,"props":4399,"children":4401},{"className":4400},[],[4402],{"type":384,"value":883},{"type":384,"value":4404}," needs RediSearch on a self-hosted instance and returns ",{"type":375,"tag":389,"props":4406,"children":4408},{"className":4407},[],[4409],{"type":384,"value":4410},"501",{"type":384,"value":4412}," without it. In that case, set ",{"type":375,"tag":389,"props":4414,"children":4416},{"className":4415},[],[4417],{"type":384,"value":4418},"TENANT_IDS",{"type":384,"value":4420}," to a comma-separated list of tenant IDs from your own database.",{"type":375,"tag":1214,"props":4422,"children":4423},{},[4424],{"type":375,"tag":1218,"props":4425,"children":4427},{"className":1220,"code":4426,"language":1222,"meta":345,"style":345},"// migrate-outpost.mts\n// Env: OUTPOST_API_KEY, OUTPOST_API_URL (default managed; self-hosted: https://\u003Chost>/api/v1), TENANT_IDS (optional),\n//      RELAY_KEY, RELAY_SECRET (token with \"Outbound: manage\"), DRY_RUN=false to write.\nimport { existsSync, readFileSync, writeFileSync } from \"node:fs\";\nimport { WebhookRelay, WebhookRelayAPIError } from \"@webhookrelay/sdk\";\n\nconst OUTPOST_API = process.env.OUTPOST_API_URL ?? \"https://api.outpost.hookdeck.com/2025-07-01\";\nconst DRY_RUN = process.env.DRY_RUN !== \"false\";\nconst STATE_FILE = \"migration-state.json\"; // source destination ID -> Webhook Relay endpoint ID. Never secrets.\nconst ID = /^[a-zA-Z0-9][a-zA-Z0-9_.:-]{0,127}$/;\nconst RESERVED = /^(webhook-|host$|content-length$|transfer-encoding$|connection$)/i;\nconst RELAY_AUTH = `Basic ${Buffer.from(`${process.env.RELAY_KEY}:${process.env.RELAY_SECRET}`).toString(\"base64\")}`;\n\nconst relay = new WebhookRelay();\n\ntype PlanEndpoint = {\n  sourceId: string; url: string; eventTypes: string[]; description?: string;\n  headers?: Record\u003Cstring, string>; rate?: number; disabledAtSource?: boolean;\n  secret?: string; // in memory only: never printed, logged or written to the state file\n};\n\n// Webhook Relay imports 32-100 standard base64 characters (padded or not) with an optional whsec_ prefix.\n// Anything else (URL-safe base64, other characters, wrong length) gets a new generated secret.\nfunction importableSecret(secret: unknown): string | undefined {\n  if (typeof secret !== \"string\") return undefined;\n  const encoded = secret.replace(/^whsec_/, \"\");\n  const bare = encoded.replace(/={1,2}$/, \"\");\n  if (encoded.length > 100 || !/^[A-Za-z0-9+/]{32,100}$/.test(bare) || bare.length % 4 === 1) return undefined;\n  if (bare !== encoded && encoded.length % 4 !== 0) return undefined; // bad padding\n  return secret;\n}\ntype Plan = {\n  eventTypes: { name: string; description?: string; deprecated?: boolean }[];\n  consumers: { id: string; name?: string; endpoints: PlanEndpoint[] }[];\n  warnings: string[];\n};\n\n// ---- 1. Export from Outpost (read-only) ----\nasync function outpost\u003CT>(path: string, query: Record\u003Cstring, string> = {}): Promise\u003C{ status: number; body: T }> {\n  const qs = new URLSearchParams(query).toString();\n  const res = await fetch(`${OUTPOST_API}${path}${qs ? `?${qs}` : \"\"}`, {\n    headers: { Authorization: `Bearer ${process.env.OUTPOST_API_KEY}` },\n  });\n  if (res.status === 501) return { status: 501, body: undefined as T };\n  if (!res.ok) throw new Error(`Outpost GET ${path}: ${res.status} ${await res.text()}`);\n  return { status: res.status, body: (await res.json()) as T };\n}\n\nasync function tenantIds(): Promise\u003C{ id: string; name?: string }[]> {\n  if (process.env.TENANT_IDS) return process.env.TENANT_IDS.split(\",\").map((id) => ({ id: id.trim() }));\n  const out: { id: string; name?: string }[] = [];\n  let next: string | undefined;\n  for (;;) {\n    const { status, body } = await outpost\u003C{ models: any[]; pagination?: { next?: string | null } }>(\n      \"/tenants\", { limit: \"100\", ...(next ? { next } : {}) });\n    if (status === 501) throw new Error(\"GET /tenants is not available on this instance: set TENANT_IDS\");\n    for (const t of body.models) out.push({ id: t.id, name: t.metadata?.name });\n    if (!body.pagination?.next) return out;\n    next = body.pagination.next;\n  }\n}\n\nasync function exportPlan(): Promise\u003CPlan> {\n  const plan: Plan = { eventTypes: [], consumers: [], warnings: [] };\n  const topics = (await outpost\u003Cstring[]>(\"/topics\")).body;\n  plan.eventTypes = topics.map((name) => ({ name }));\n  const expand = (t: string | string[]): string[] => {\n    const list = Array.isArray(t) ? t : [t];\n    if (list.includes(\"*\")) return [\"*\"];\n    return [...new Set(list.flatMap((p) => {\n      if (!p.includes(\"*\")) return [p];\n      const re = new RegExp(`^${p.split(\"*\").map((s) => s.replace(/[.+?^${}()|[\\]\\\\]/g, \"\\\\$&\")).join(\".*\")}$`);\n      return topics.filter((name) => re.test(name));\n    }))];\n  };\n  for (const tenant of await tenantIds()) {\n    const consumer = { id: tenant.id, name: tenant.name, endpoints: [] as PlanEndpoint[] };\n    const { body: destinations } = await outpost\u003Cany[]>(`/tenants/${encodeURIComponent(tenant.id)}/destinations`);\n    for (const d of destinations) {\n      if (d.type !== \"webhook\") {\n        plan.warnings.push(`${tenant.id}: ${d.type} destination ${d.id} skipped (only HTTPS endpoints are supported)`);\n        continue;\n      }\n      if (d.filter) plan.warnings.push(`${tenant.id} ${d.config.url}: has a filter; recreate it as a Function`);\n      const secret = importableSecret(d.credentials?.secret);\n      if (!secret) plan.warnings.push(`${tenant.id} destination ${d.id}: secret doesn't fit the import format; the endpoint gets a new one`);\n      const custom = d.config.custom_headers ? JSON.parse(d.config.custom_headers) : {};\n      const headers = Object.fromEntries(Object.entries(custom).filter(([k]) => !RESERVED.test(k))) as Record\u003Cstring, string>;\n      consumer.endpoints.push({\n        sourceId: d.id, url: d.config.url, eventTypes: expand(d.topics), headers,\n        disabledAtSource: Boolean(d.disabled_at), secret,\n      });\n    }\n    plan.consumers.push(consumer);\n  }\n  return plan;\n}\n\n// ---- 2. Check access and limits before writing anything ----\nasync function checkPlan(plan: Plan) {\n  const res = await fetch(\"https://my.webhookrelay.com/v1/outbound/access\", { headers: { Authorization: RELAY_AUTH } });\n  const access = await res.json();\n  if (!access.enabled) throw new Error(\"The Outbound Gateway isn't available on this account: upgrade to Basic or above.\");\n  const limits = access.limits as { consumers: number; endpoints_per_consumer: number; event_types: number };\n\n  const haveConsumers = new Set((await relay.outbound.consumers.list()).map((c) => c.id));\n  const haveTypes = new Set((await relay.outbound.eventTypes.list()).map((e) => e.name));\n  const consumers = new Set([...haveConsumers, ...plan.consumers.map((c) => c.id)]).size;\n  const types = new Set([...haveTypes, ...plan.eventTypes.map((e) => e.name)]).size;\n\n  const problems: string[] = [];\n  if (consumers > limits.consumers) problems.push(`${consumers} consumers exceed the limit of ${limits.consumers}`);\n  if (types > limits.event_types) problems.push(`${types} event types exceed the limit of ${limits.event_types}`);\n  for (const et of plan.eventTypes) if (!ID.test(et.name)) problems.push(`event type \"${et.name}\" is not a valid name`);\n  for (const c of plan.consumers) {\n    if (!ID.test(c.id)) problems.push(`consumer \"${c.id}\" is not a valid ID: map it to your own customer ID`);\n    if (c.endpoints.length > limits.endpoints_per_consumer)\n      problems.push(`${c.id} has ${c.endpoints.length} endpoints, the limit is ${limits.endpoints_per_consumer}`);\n    for (const e of c.endpoints) {\n      if (!e.url.startsWith(\"https://\")) problems.push(`${c.id} ${e.url}: endpoints must be public HTTPS`);\n      if (e.eventTypes.length === 0) problems.push(`${c.id} ${e.url}: no topics matched`);\n      if (e.eventTypes.length > 100) problems.push(`${c.id} ${e.url}: more than 100 event types`);\n    }\n  }\n  for (const w of plan.warnings) console.warn(`warning: ${w}`);\n  if (problems.length) {\n    console.error(`Not importing:\\n- ${problems.join(\"\\n- \")}`);\n    process.exit(1);\n  }\n}\n\n// ---- 3. Import into Webhook Relay ----\nconst state: Record\u003Cstring, string> = existsSync(STATE_FILE) ? JSON.parse(readFileSync(STATE_FILE, \"utf8\")) : {};\n\nclass RelayError extends Error {\n  constructor(readonly status: number, message: string) { super(message); }\n}\n\n// REST create, because the SDKs expose `secret` only from their next release. Webhook Relay's errors never echo the secret.\nasync function createEndpoint(consumer: string, e: PlanEndpoint): Promise\u003C{ id: string }> {\n  const res = await fetch(`https://my.webhookrelay.com/v1/outbound/consumers/${encodeURIComponent(consumer)}/endpoints`, {\n    method: \"POST\",\n    headers: { Authorization: RELAY_AUTH, \"Content-Type\": \"application/json\" },\n    body: JSON.stringify({\n      url: e.url, event_types: e.eventTypes, description: e.description, headers: e.headers, rate: e.rate,\n      ...(e.secret ? { secret: e.secret } : {}),\n    }),\n  });\n  if (!res.ok) throw new RelayError(res.status, `create endpoint: ${res.status} ${await res.text()}`);\n  const { id } = (await res.json()) as { id: string }; // the response also has the secret: don't log or store it\n  return { id };\n}\n\nasync function step\u003CT>(what: string, fn: () => Promise\u003CT>): Promise\u003CT> {\n  for (let attempt = 1; ; attempt++) {\n    try {\n      return await fn();\n    } catch (err) {\n      const status = err instanceof WebhookRelayAPIError || err instanceof RelayError ? err.status : 0;\n      if (status === 429 && attempt \u003C 5) {\n        await new Promise((r) => setTimeout(r, attempt * 2000));\n        continue;\n      }\n      console.error(`Stopped at ${what}: ${err instanceof Error ? err.message : String(err)}`);\n      console.error(`Progress is saved in ${STATE_FILE}. Fix the cause and run the script again.`);\n      process.exit(1);\n    }\n  }\n}\n\nasync function importPlan(plan: Plan) {\n  for (const et of plan.eventTypes) {\n    await step(`event type ${et.name}`, () =>\n      relay.outbound.eventTypes.upsert(et.name, { description: et.description, deprecated: et.deprecated }));\n  }\n  for (const c of plan.consumers) {\n    await step(`consumer ${c.id}`, () => relay.outbound.consumers.upsert(c.id, { name: c.name }));\n    for (const e of c.endpoints) {\n      if (state[e.sourceId]) continue; // imported on an earlier run\n      const { id, created } = await step(`endpoint ${c.id} ${e.url}`, async () => {\n        try {\n          return { ...(await createEndpoint(c.id, e)), created: true };\n        } catch (err) {\n          if (err instanceof RelayError && err.status === 409) {\n            const existing = (await relay.outbound.endpoints.list(c.id)).find((x) => x.url === e.url);\n            if (existing) return { id: existing.id, created: false }; // already there: leave its state alone\n          }\n          throw err;\n        }\n      });\n      if (created) await step(`pause ${id}`, () => relay.outbound.endpoints.pause(id));\n      state[e.sourceId] = id;\n      writeFileSync(STATE_FILE, JSON.stringify(state, null, 2));\n      const secretNote = created ? (e.secret ? \", secret imported\" : \", NEW secret\") : \"\";\n      console.log(`${c.id}: ${e.url} -> ${id} ${created ? \"(created, paused\" : \"(already existed, unchanged\"}${secretNote})${e.disabledAtSource ? \" [disabled at Outpost]\" : \"\"}`);\n    }\n  }\n}\n\nconst plan = await exportPlan();\nawait checkPlan(plan);\nconst endpoints = plan.consumers.flatMap((c) => c.endpoints);\nconst imported = endpoints.filter((e) => e.secret).length;\nconsole.log(`Plan: ${plan.eventTypes.length} event types, ${plan.consumers.length} consumers, ${endpoints.length} endpoints (${imported} with an imported secret, ${endpoints.length - imported} with a new one).`);\nif (DRY_RUN) console.log(\"Dry run: nothing was written. Run again with DRY_RUN=false to import.\");\nelse await importPlan(plan);\n",[4428],{"type":375,"tag":389,"props":4429,"children":4430},{"__ignoreMap":345},[4431,4439,4447,4455,4480,4504,4511,4551,4590,4620,4665,4756,4883,4890,4917,4924,4945,5018,5093,5119,5128,5136,5145,5154,5210,5258,5317,5376,5498,5571,5584,5592,5613,5682,5749,5771,5779,5787,5796,5937,5976,6065,6107,6115,6179,6279,6324,6332,6340,6406,6494,6557,6591,6605,6708,6760,6811,6853,6883,6901,6909,6917,6925,6968,6998,7050,7093,7161,7211,7260,7312,7359,7535,7582,7591,7600,7638,7673,7766,7796,7822,7898,7911,7920,7991,8016,8086,8140,8256,8273,8292,8311,8320,8329,8347,8355,8368,8376,8384,8393,8431,8479,8512,8558,8638,8646,8719,8791,8864,8936,8944,8977,9042,9106,9202,9232,9299,9325,9408,9438,9526,9605,9682,9690,9698,9755,9776,9851,9878,9886,9894,9902,9911,10028,10036,10063,10126,10134,10142,10151,10233,10291,10309,10343,10370,10379,10411,10420,10428,10514,10588,10601,10609,10617,10718,10762,10775,10796,10815,10883,10925,10983,10995,11003,11093,11127,11152,11160,11168,11176,11184,11221,11250,11298,11316,11324,11352,11410,11438,11465,11567,11580,11622,11639,11682,11757,11794,11803,11817,11826,11834,11894,11912,11968,12034,12161,12169,12177,12185,12193,12221,12238,12285,12340,12469,12507],{"type":375,"tag":1228,"props":4432,"children":4433},{"class":1230,"line":1231},[4434],{"type":375,"tag":1228,"props":4435,"children":4436},{"style":1527},[4437],{"type":384,"value":4438},"// migrate-outpost.mts\n",{"type":375,"tag":1228,"props":4440,"children":4441},{"class":1230,"line":1263},[4442],{"type":375,"tag":1228,"props":4443,"children":4444},{"style":1527},[4445],{"type":384,"value":4446},"// Env: OUTPOST_API_KEY, OUTPOST_API_URL (default managed; self-hosted: https://\u003Chost>/api/v1), TENANT_IDS (optional),\n",{"type":375,"tag":1228,"props":4448,"children":4449},{"class":1230,"line":1273},[4450],{"type":375,"tag":1228,"props":4451,"children":4452},{"style":1527},[4453],{"type":384,"value":4454},"//      RELAY_KEY, RELAY_SECRET (token with \"Outbound: manage\"), DRY_RUN=false to write.\n",{"type":375,"tag":1228,"props":4456,"children":4457},{"class":1230,"line":1319},[4458,4462,4467,4471,4476],{"type":375,"tag":1228,"props":4459,"children":4460},{"style":1235},[4461],{"type":384,"value":1238},{"type":375,"tag":1228,"props":4463,"children":4464},{"style":1241},[4465],{"type":384,"value":4466}," { existsSync, readFileSync, writeFileSync } ",{"type":375,"tag":1228,"props":4468,"children":4469},{"style":1235},[4470],{"type":384,"value":1249},{"type":375,"tag":1228,"props":4472,"children":4473},{"style":1252},[4474],{"type":384,"value":4475}," \"node:fs\"",{"type":375,"tag":1228,"props":4477,"children":4478},{"style":1241},[4479],{"type":384,"value":1260},{"type":375,"tag":1228,"props":4481,"children":4482},{"class":1230,"line":1327},[4483,4487,4492,4496,4500],{"type":375,"tag":1228,"props":4484,"children":4485},{"style":1235},[4486],{"type":384,"value":1238},{"type":375,"tag":1228,"props":4488,"children":4489},{"style":1241},[4490],{"type":384,"value":4491}," { WebhookRelay, WebhookRelayAPIError } ",{"type":375,"tag":1228,"props":4493,"children":4494},{"style":1235},[4495],{"type":384,"value":1249},{"type":375,"tag":1228,"props":4497,"children":4498},{"style":1252},[4499],{"type":384,"value":1483},{"type":375,"tag":1228,"props":4501,"children":4502},{"style":1241},[4503],{"type":384,"value":1260},{"type":375,"tag":1228,"props":4505,"children":4506},{"class":1230,"line":1350},[4507],{"type":375,"tag":1228,"props":4508,"children":4509},{"emptyLinePlaceholder":1267},[4510],{"type":384,"value":1270},{"type":375,"tag":1228,"props":4512,"children":4513},{"class":1230,"line":1369},[4514,4518,4523,4527,4532,4537,4542,4547],{"type":375,"tag":1228,"props":4515,"children":4516},{"style":1235},[4517],{"type":384,"value":1279},{"type":375,"tag":1228,"props":4519,"children":4520},{"style":1282},[4521],{"type":384,"value":4522}," OUTPOST_API",{"type":375,"tag":1228,"props":4524,"children":4525},{"style":1235},[4526],{"type":384,"value":1290},{"type":375,"tag":1228,"props":4528,"children":4529},{"style":1241},[4530],{"type":384,"value":4531}," process.env.",{"type":375,"tag":1228,"props":4533,"children":4534},{"style":1282},[4535],{"type":384,"value":4536},"OUTPOST_API_URL",{"type":375,"tag":1228,"props":4538,"children":4539},{"style":1235},[4540],{"type":384,"value":4541}," ??",{"type":375,"tag":1228,"props":4543,"children":4544},{"style":1252},[4545],{"type":384,"value":4546}," \"https://api.outpost.hookdeck.com/2025-07-01\"",{"type":375,"tag":1228,"props":4548,"children":4549},{"style":1241},[4550],{"type":384,"value":1260},{"type":375,"tag":1228,"props":4552,"children":4553},{"class":1230,"line":1387},[4554,4558,4563,4567,4571,4576,4581,4586],{"type":375,"tag":1228,"props":4555,"children":4556},{"style":1235},[4557],{"type":384,"value":1279},{"type":375,"tag":1228,"props":4559,"children":4560},{"style":1282},[4561],{"type":384,"value":4562}," DRY_RUN",{"type":375,"tag":1228,"props":4564,"children":4565},{"style":1235},[4566],{"type":384,"value":1290},{"type":375,"tag":1228,"props":4568,"children":4569},{"style":1241},[4570],{"type":384,"value":4531},{"type":375,"tag":1228,"props":4572,"children":4573},{"style":1282},[4574],{"type":384,"value":4575},"DRY_RUN",{"type":375,"tag":1228,"props":4577,"children":4578},{"style":1235},[4579],{"type":384,"value":4580}," !==",{"type":375,"tag":1228,"props":4582,"children":4583},{"style":1252},[4584],{"type":384,"value":4585}," \"false\"",{"type":375,"tag":1228,"props":4587,"children":4588},{"style":1241},[4589],{"type":384,"value":1260},{"type":375,"tag":1228,"props":4591,"children":4592},{"class":1230,"line":1405},[4593,4597,4602,4606,4611,4615],{"type":375,"tag":1228,"props":4594,"children":4595},{"style":1235},[4596],{"type":384,"value":1279},{"type":375,"tag":1228,"props":4598,"children":4599},{"style":1282},[4600],{"type":384,"value":4601}," STATE_FILE",{"type":375,"tag":1228,"props":4603,"children":4604},{"style":1235},[4605],{"type":384,"value":1290},{"type":375,"tag":1228,"props":4607,"children":4608},{"style":1252},[4609],{"type":384,"value":4610}," \"migration-state.json\"",{"type":375,"tag":1228,"props":4612,"children":4613},{"style":1241},[4614],{"type":384,"value":3239},{"type":375,"tag":1228,"props":4616,"children":4617},{"style":1527},[4618],{"type":384,"value":4619},"// source destination ID -> Webhook Relay endpoint ID. Never secrets.\n",{"type":375,"tag":1228,"props":4621,"children":4622},{"class":1230,"line":1434},[4623,4627,4632,4636,4641,4646,4651,4656,4661],{"type":375,"tag":1228,"props":4624,"children":4625},{"style":1235},[4626],{"type":384,"value":1279},{"type":375,"tag":1228,"props":4628,"children":4629},{"style":1282},[4630],{"type":384,"value":4631}," ID",{"type":375,"tag":1228,"props":4633,"children":4634},{"style":1235},[4635],{"type":384,"value":1290},{"type":375,"tag":1228,"props":4637,"children":4638},{"style":1252},[4639],{"type":384,"value":4640}," /",{"type":375,"tag":1228,"props":4642,"children":4643},{"style":1235},[4644],{"type":384,"value":4645},"^",{"type":375,"tag":1228,"props":4647,"children":4648},{"style":1282},[4649],{"type":384,"value":4650},"[a-zA-Z0-9][a-zA-Z0-9_.:-]",{"type":375,"tag":1228,"props":4652,"children":4653},{"style":1235},[4654],{"type":384,"value":4655},"{0,127}$",{"type":375,"tag":1228,"props":4657,"children":4658},{"style":1252},[4659],{"type":384,"value":4660},"/",{"type":375,"tag":1228,"props":4662,"children":4663},{"style":1241},[4664],{"type":384,"value":1260},{"type":375,"tag":1228,"props":4666,"children":4667},{"class":1230,"line":1945},[4668,4672,4677,4681,4685,4689,4695,4700,4705,4710,4715,4719,4724,4728,4733,4738,4743,4747,4752],{"type":375,"tag":1228,"props":4669,"children":4670},{"style":1235},[4671],{"type":384,"value":1279},{"type":375,"tag":1228,"props":4673,"children":4674},{"style":1282},[4675],{"type":384,"value":4676}," RESERVED",{"type":375,"tag":1228,"props":4678,"children":4679},{"style":1235},[4680],{"type":384,"value":1290},{"type":375,"tag":1228,"props":4682,"children":4683},{"style":1252},[4684],{"type":384,"value":4640},{"type":375,"tag":1228,"props":4686,"children":4687},{"style":1235},[4688],{"type":384,"value":4645},{"type":375,"tag":1228,"props":4690,"children":4692},{"style":4691},"--shiki-default:#DBEDFF",[4693],{"type":384,"value":4694},"(webhook-",{"type":375,"tag":1228,"props":4696,"children":4697},{"style":1235},[4698],{"type":384,"value":4699},"|",{"type":375,"tag":1228,"props":4701,"children":4702},{"style":4691},[4703],{"type":384,"value":4704},"host",{"type":375,"tag":1228,"props":4706,"children":4707},{"style":1235},[4708],{"type":384,"value":4709},"$|",{"type":375,"tag":1228,"props":4711,"children":4712},{"style":4691},[4713],{"type":384,"value":4714},"content-length",{"type":375,"tag":1228,"props":4716,"children":4717},{"style":1235},[4718],{"type":384,"value":4709},{"type":375,"tag":1228,"props":4720,"children":4721},{"style":4691},[4722],{"type":384,"value":4723},"transfer-encoding",{"type":375,"tag":1228,"props":4725,"children":4726},{"style":1235},[4727],{"type":384,"value":4709},{"type":375,"tag":1228,"props":4729,"children":4730},{"style":4691},[4731],{"type":384,"value":4732},"connection",{"type":375,"tag":1228,"props":4734,"children":4735},{"style":1235},[4736],{"type":384,"value":4737},"$",{"type":375,"tag":1228,"props":4739,"children":4740},{"style":4691},[4741],{"type":384,"value":4742},")",{"type":375,"tag":1228,"props":4744,"children":4745},{"style":1252},[4746],{"type":384,"value":4660},{"type":375,"tag":1228,"props":4748,"children":4749},{"style":1235},[4750],{"type":384,"value":4751},"i",{"type":375,"tag":1228,"props":4753,"children":4754},{"style":1241},[4755],{"type":384,"value":1260},{"type":375,"tag":1228,"props":4757,"children":4758},{"class":1230,"line":1962},[4759,4763,4768,4772,4777,4782,4786,4790,4794,4799,4804,4808,4813,4817,4822,4827,4831,4835,4839,4843,4848,4853,4857,4862,4866,4871,4875,4879],{"type":375,"tag":1228,"props":4760,"children":4761},{"style":1235},[4762],{"type":384,"value":1279},{"type":375,"tag":1228,"props":4764,"children":4765},{"style":1282},[4766],{"type":384,"value":4767}," RELAY_AUTH",{"type":375,"tag":1228,"props":4769,"children":4770},{"style":1235},[4771],{"type":384,"value":1290},{"type":375,"tag":1228,"props":4773,"children":4774},{"style":1252},[4775],{"type":384,"value":4776}," `Basic ${",{"type":375,"tag":1228,"props":4778,"children":4779},{"style":1241},[4780],{"type":384,"value":4781},"Buffer",{"type":375,"tag":1228,"props":4783,"children":4784},{"style":1252},[4785],{"type":384,"value":433},{"type":375,"tag":1228,"props":4787,"children":4788},{"style":1298},[4789],{"type":384,"value":1249},{"type":375,"tag":1228,"props":4791,"children":4792},{"style":1252},[4793],{"type":384,"value":1739},{"type":375,"tag":1228,"props":4795,"children":4796},{"style":1252},[4797],{"type":384,"value":4798},"`${",{"type":375,"tag":1228,"props":4800,"children":4801},{"style":1241},[4802],{"type":384,"value":4803},"process",{"type":375,"tag":1228,"props":4805,"children":4806},{"style":1252},[4807],{"type":384,"value":433},{"type":375,"tag":1228,"props":4809,"children":4810},{"style":1241},[4811],{"type":384,"value":4812},"env",{"type":375,"tag":1228,"props":4814,"children":4815},{"style":1252},[4816],{"type":384,"value":433},{"type":375,"tag":1228,"props":4818,"children":4819},{"style":1282},[4820],{"type":384,"value":4821},"RELAY_KEY",{"type":375,"tag":1228,"props":4823,"children":4824},{"style":1252},[4825],{"type":384,"value":4826},"}:${",{"type":375,"tag":1228,"props":4828,"children":4829},{"style":1241},[4830],{"type":384,"value":4803},{"type":375,"tag":1228,"props":4832,"children":4833},{"style":1252},[4834],{"type":384,"value":433},{"type":375,"tag":1228,"props":4836,"children":4837},{"style":1241},[4838],{"type":384,"value":4812},{"type":375,"tag":1228,"props":4840,"children":4841},{"style":1252},[4842],{"type":384,"value":433},{"type":375,"tag":1228,"props":4844,"children":4845},{"style":1282},[4846],{"type":384,"value":4847},"RELAY_SECRET",{"type":375,"tag":1228,"props":4849,"children":4850},{"style":1252},[4851],{"type":384,"value":4852},"}`",{"type":375,"tag":1228,"props":4854,"children":4855},{"style":1252},[4856],{"type":384,"value":3512},{"type":375,"tag":1228,"props":4858,"children":4859},{"style":1298},[4860],{"type":384,"value":4861},"toString",{"type":375,"tag":1228,"props":4863,"children":4864},{"style":1252},[4865],{"type":384,"value":1739},{"type":375,"tag":1228,"props":4867,"children":4868},{"style":1252},[4869],{"type":384,"value":4870},"\"base64\"",{"type":375,"tag":1228,"props":4872,"children":4873},{"style":1252},[4874],{"type":384,"value":4742},{"type":375,"tag":1228,"props":4876,"children":4877},{"style":1252},[4878],{"type":384,"value":4852},{"type":375,"tag":1228,"props":4880,"children":4881},{"style":1241},[4882],{"type":384,"value":1260},{"type":375,"tag":1228,"props":4884,"children":4885},{"class":1230,"line":1979},[4886],{"type":375,"tag":1228,"props":4887,"children":4888},{"emptyLinePlaceholder":1267},[4889],{"type":384,"value":1270},{"type":375,"tag":1228,"props":4891,"children":4892},{"class":1230,"line":1996},[4893,4897,4901,4905,4909,4913],{"type":375,"tag":1228,"props":4894,"children":4895},{"style":1235},[4896],{"type":384,"value":1279},{"type":375,"tag":1228,"props":4898,"children":4899},{"style":1282},[4900],{"type":384,"value":1506},{"type":375,"tag":1228,"props":4902,"children":4903},{"style":1235},[4904],{"type":384,"value":1290},{"type":375,"tag":1228,"props":4906,"children":4907},{"style":1235},[4908],{"type":384,"value":1295},{"type":375,"tag":1228,"props":4910,"children":4911},{"style":1298},[4912],{"type":384,"value":1519},{"type":375,"tag":1228,"props":4914,"children":4915},{"style":1241},[4916],{"type":384,"value":3532},{"type":375,"tag":1228,"props":4918,"children":4919},{"class":1230,"line":2063},[4920],{"type":375,"tag":1228,"props":4921,"children":4922},{"emptyLinePlaceholder":1267},[4923],{"type":384,"value":1270},{"type":375,"tag":1228,"props":4925,"children":4926},{"class":1230,"line":2080},[4927,4932,4937,4941],{"type":375,"tag":1228,"props":4928,"children":4929},{"style":1235},[4930],{"type":384,"value":4931},"type",{"type":375,"tag":1228,"props":4933,"children":4934},{"style":1298},[4935],{"type":384,"value":4936}," PlanEndpoint",{"type":375,"tag":1228,"props":4938,"children":4939},{"style":1235},[4940],{"type":384,"value":1290},{"type":375,"tag":1228,"props":4942,"children":4943},{"style":1241},[4944],{"type":384,"value":3611},{"type":375,"tag":1228,"props":4946,"children":4947},{"class":1230,"line":3704},[4948,4953,4957,4962,4966,4970,4974,4978,4982,4987,4991,4995,5000,5005,5010,5014],{"type":375,"tag":1228,"props":4949,"children":4950},{"style":3276},[4951],{"type":384,"value":4952},"  sourceId",{"type":375,"tag":1228,"props":4954,"children":4955},{"style":1235},[4956],{"type":384,"value":1212},{"type":375,"tag":1228,"props":4958,"children":4959},{"style":1282},[4960],{"type":384,"value":4961}," string",{"type":375,"tag":1228,"props":4963,"children":4964},{"style":1241},[4965],{"type":384,"value":3239},{"type":375,"tag":1228,"props":4967,"children":4968},{"style":3276},[4969],{"type":384,"value":4189},{"type":375,"tag":1228,"props":4971,"children":4972},{"style":1235},[4973],{"type":384,"value":1212},{"type":375,"tag":1228,"props":4975,"children":4976},{"style":1282},[4977],{"type":384,"value":4961},{"type":375,"tag":1228,"props":4979,"children":4980},{"style":1241},[4981],{"type":384,"value":3239},{"type":375,"tag":1228,"props":4983,"children":4984},{"style":3276},[4985],{"type":384,"value":4986},"eventTypes",{"type":375,"tag":1228,"props":4988,"children":4989},{"style":1235},[4990],{"type":384,"value":1212},{"type":375,"tag":1228,"props":4992,"children":4993},{"style":1282},[4994],{"type":384,"value":4961},{"type":375,"tag":1228,"props":4996,"children":4997},{"style":1241},[4998],{"type":384,"value":4999},"[]; ",{"type":375,"tag":1228,"props":5001,"children":5002},{"style":3276},[5003],{"type":384,"value":5004},"description",{"type":375,"tag":1228,"props":5006,"children":5007},{"style":1235},[5008],{"type":384,"value":5009},"?:",{"type":375,"tag":1228,"props":5011,"children":5012},{"style":1282},[5013],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5015,"children":5016},{"style":1241},[5017],{"type":384,"value":1260},{"type":375,"tag":1228,"props":5019,"children":5020},{"class":1230,"line":3713},[5021,5026,5030,5035,5040,5044,5048,5052,5057,5062,5066,5071,5075,5080,5084,5089],{"type":375,"tag":1228,"props":5022,"children":5023},{"style":3276},[5024],{"type":384,"value":5025},"  headers",{"type":375,"tag":1228,"props":5027,"children":5028},{"style":1235},[5029],{"type":384,"value":5009},{"type":375,"tag":1228,"props":5031,"children":5032},{"style":1298},[5033],{"type":384,"value":5034}," Record",{"type":375,"tag":1228,"props":5036,"children":5037},{"style":1241},[5038],{"type":384,"value":5039},"\u003C",{"type":375,"tag":1228,"props":5041,"children":5042},{"style":1282},[5043],{"type":384,"value":1819},{"type":375,"tag":1228,"props":5045,"children":5046},{"style":1241},[5047],{"type":384,"value":1853},{"type":375,"tag":1228,"props":5049,"children":5050},{"style":1282},[5051],{"type":384,"value":1819},{"type":375,"tag":1228,"props":5053,"children":5054},{"style":1241},[5055],{"type":384,"value":5056},">; ",{"type":375,"tag":1228,"props":5058,"children":5059},{"style":3276},[5060],{"type":384,"value":5061},"rate",{"type":375,"tag":1228,"props":5063,"children":5064},{"style":1235},[5065],{"type":384,"value":5009},{"type":375,"tag":1228,"props":5067,"children":5068},{"style":1282},[5069],{"type":384,"value":5070}," number",{"type":375,"tag":1228,"props":5072,"children":5073},{"style":1241},[5074],{"type":384,"value":3239},{"type":375,"tag":1228,"props":5076,"children":5077},{"style":3276},[5078],{"type":384,"value":5079},"disabledAtSource",{"type":375,"tag":1228,"props":5081,"children":5082},{"style":1235},[5083],{"type":384,"value":5009},{"type":375,"tag":1228,"props":5085,"children":5086},{"style":1282},[5087],{"type":384,"value":5088}," boolean",{"type":375,"tag":1228,"props":5090,"children":5091},{"style":1241},[5092],{"type":384,"value":1260},{"type":375,"tag":1228,"props":5094,"children":5096},{"class":1230,"line":5095},19,[5097,5102,5106,5110,5114],{"type":375,"tag":1228,"props":5098,"children":5099},{"style":3276},[5100],{"type":384,"value":5101},"  secret",{"type":375,"tag":1228,"props":5103,"children":5104},{"style":1235},[5105],{"type":384,"value":5009},{"type":375,"tag":1228,"props":5107,"children":5108},{"style":1282},[5109],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5111,"children":5112},{"style":1241},[5113],{"type":384,"value":3239},{"type":375,"tag":1228,"props":5115,"children":5116},{"style":1527},[5117],{"type":384,"value":5118},"// in memory only: never printed, logged or written to the state file\n",{"type":375,"tag":1228,"props":5120,"children":5122},{"class":1230,"line":5121},20,[5123],{"type":375,"tag":1228,"props":5124,"children":5125},{"style":1241},[5126],{"type":384,"value":5127},"};\n",{"type":375,"tag":1228,"props":5129,"children":5131},{"class":1230,"line":5130},21,[5132],{"type":375,"tag":1228,"props":5133,"children":5134},{"emptyLinePlaceholder":1267},[5135],{"type":384,"value":1270},{"type":375,"tag":1228,"props":5137,"children":5139},{"class":1230,"line":5138},22,[5140],{"type":375,"tag":1228,"props":5141,"children":5142},{"style":1527},[5143],{"type":384,"value":5144},"// Webhook Relay imports 32-100 standard base64 characters (padded or not) with an optional whsec_ prefix.\n",{"type":375,"tag":1228,"props":5146,"children":5148},{"class":1230,"line":5147},23,[5149],{"type":375,"tag":1228,"props":5150,"children":5151},{"style":1527},[5152],{"type":384,"value":5153},"// Anything else (URL-safe base64, other characters, wrong length) gets a new generated secret.\n",{"type":375,"tag":1228,"props":5155,"children":5157},{"class":1230,"line":5156},24,[5158,5163,5168,5172,5176,5180,5185,5189,5193,5197,5201,5206],{"type":375,"tag":1228,"props":5159,"children":5160},{"style":1235},[5161],{"type":384,"value":5162},"function",{"type":375,"tag":1228,"props":5164,"children":5165},{"style":1298},[5166],{"type":384,"value":5167}," importableSecret",{"type":375,"tag":1228,"props":5169,"children":5170},{"style":1241},[5171],{"type":384,"value":1739},{"type":375,"tag":1228,"props":5173,"children":5174},{"style":3276},[5175],{"type":384,"value":1134},{"type":375,"tag":1228,"props":5177,"children":5178},{"style":1235},[5179],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5181,"children":5182},{"style":1282},[5183],{"type":384,"value":5184}," unknown",{"type":375,"tag":1228,"props":5186,"children":5187},{"style":1241},[5188],{"type":384,"value":4742},{"type":375,"tag":1228,"props":5190,"children":5191},{"style":1235},[5192],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5194,"children":5195},{"style":1282},[5196],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5198,"children":5199},{"style":1235},[5200],{"type":384,"value":2708},{"type":375,"tag":1228,"props":5202,"children":5203},{"style":1282},[5204],{"type":384,"value":5205}," undefined",{"type":375,"tag":1228,"props":5207,"children":5208},{"style":1241},[5209],{"type":384,"value":3611},{"type":375,"tag":1228,"props":5211,"children":5213},{"class":1230,"line":5212},25,[5214,5218,5222,5227,5232,5237,5242,5246,5250,5254],{"type":375,"tag":1228,"props":5215,"children":5216},{"style":1235},[5217],{"type":384,"value":3300},{"type":375,"tag":1228,"props":5219,"children":5220},{"style":1241},[5221],{"type":384,"value":2833},{"type":375,"tag":1228,"props":5223,"children":5224},{"style":1235},[5225],{"type":384,"value":5226},"typeof",{"type":375,"tag":1228,"props":5228,"children":5229},{"style":1241},[5230],{"type":384,"value":5231}," secret ",{"type":375,"tag":1228,"props":5233,"children":5234},{"style":1235},[5235],{"type":384,"value":5236},"!==",{"type":375,"tag":1228,"props":5238,"children":5239},{"style":1252},[5240],{"type":384,"value":5241}," \"string\"",{"type":375,"tag":1228,"props":5243,"children":5244},{"style":1241},[5245],{"type":384,"value":3601},{"type":375,"tag":1228,"props":5247,"children":5248},{"style":1235},[5249],{"type":384,"value":3446},{"type":375,"tag":1228,"props":5251,"children":5252},{"style":1282},[5253],{"type":384,"value":5205},{"type":375,"tag":1228,"props":5255,"children":5256},{"style":1241},[5257],{"type":384,"value":1260},{"type":375,"tag":1228,"props":5259,"children":5261},{"class":1230,"line":5260},26,[5262,5266,5271,5275,5279,5284,5288,5292,5296,5300,5304,5308,5313],{"type":375,"tag":1228,"props":5263,"children":5264},{"style":1235},[5265],{"type":384,"value":3373},{"type":375,"tag":1228,"props":5267,"children":5268},{"style":1282},[5269],{"type":384,"value":5270}," encoded",{"type":375,"tag":1228,"props":5272,"children":5273},{"style":1235},[5274],{"type":384,"value":1290},{"type":375,"tag":1228,"props":5276,"children":5277},{"style":1241},[5278],{"type":384,"value":555},{"type":375,"tag":1228,"props":5280,"children":5281},{"style":1298},[5282],{"type":384,"value":5283},"replace",{"type":375,"tag":1228,"props":5285,"children":5286},{"style":1241},[5287],{"type":384,"value":1739},{"type":375,"tag":1228,"props":5289,"children":5290},{"style":1252},[5291],{"type":384,"value":4660},{"type":375,"tag":1228,"props":5293,"children":5294},{"style":1235},[5295],{"type":384,"value":4645},{"type":375,"tag":1228,"props":5297,"children":5298},{"style":4691},[5299],{"type":384,"value":553},{"type":375,"tag":1228,"props":5301,"children":5302},{"style":1252},[5303],{"type":384,"value":4660},{"type":375,"tag":1228,"props":5305,"children":5306},{"style":1241},[5307],{"type":384,"value":1853},{"type":375,"tag":1228,"props":5309,"children":5310},{"style":1252},[5311],{"type":384,"value":5312},"\"\"",{"type":375,"tag":1228,"props":5314,"children":5315},{"style":1241},[5316],{"type":384,"value":1634},{"type":375,"tag":1228,"props":5318,"children":5320},{"class":1230,"line":5319},27,[5321,5325,5330,5334,5339,5343,5347,5351,5355,5360,5364,5368,5372],{"type":375,"tag":1228,"props":5322,"children":5323},{"style":1235},[5324],{"type":384,"value":3373},{"type":375,"tag":1228,"props":5326,"children":5327},{"style":1282},[5328],{"type":384,"value":5329}," bare",{"type":375,"tag":1228,"props":5331,"children":5332},{"style":1235},[5333],{"type":384,"value":1290},{"type":375,"tag":1228,"props":5335,"children":5336},{"style":1241},[5337],{"type":384,"value":5338}," encoded.",{"type":375,"tag":1228,"props":5340,"children":5341},{"style":1298},[5342],{"type":384,"value":5283},{"type":375,"tag":1228,"props":5344,"children":5345},{"style":1241},[5346],{"type":384,"value":1739},{"type":375,"tag":1228,"props":5348,"children":5349},{"style":1252},[5350],{"type":384,"value":4660},{"type":375,"tag":1228,"props":5352,"children":5353},{"style":4691},[5354],{"type":384,"value":3985},{"type":375,"tag":1228,"props":5356,"children":5357},{"style":1235},[5358],{"type":384,"value":5359},"{1,2}$",{"type":375,"tag":1228,"props":5361,"children":5362},{"style":1252},[5363],{"type":384,"value":4660},{"type":375,"tag":1228,"props":5365,"children":5366},{"style":1241},[5367],{"type":384,"value":1853},{"type":375,"tag":1228,"props":5369,"children":5370},{"style":1252},[5371],{"type":384,"value":5312},{"type":375,"tag":1228,"props":5373,"children":5374},{"style":1241},[5375],{"type":384,"value":1634},{"type":375,"tag":1228,"props":5377,"children":5379},{"class":1230,"line":5378},28,[5380,5384,5389,5393,5398,5403,5408,5413,5417,5421,5426,5431,5435,5439,5444,5449,5454,5459,5463,5468,5473,5477,5482,5486,5490,5494],{"type":375,"tag":1228,"props":5381,"children":5382},{"style":1235},[5383],{"type":384,"value":3300},{"type":375,"tag":1228,"props":5385,"children":5386},{"style":1241},[5387],{"type":384,"value":5388}," (encoded.",{"type":375,"tag":1228,"props":5390,"children":5391},{"style":1282},[5392],{"type":384,"value":3668},{"type":375,"tag":1228,"props":5394,"children":5395},{"style":1235},[5396],{"type":384,"value":5397}," >",{"type":375,"tag":1228,"props":5399,"children":5400},{"style":1282},[5401],{"type":384,"value":5402}," 100",{"type":375,"tag":1228,"props":5404,"children":5405},{"style":1235},[5406],{"type":384,"value":5407}," ||",{"type":375,"tag":1228,"props":5409,"children":5410},{"style":1235},[5411],{"type":384,"value":5412}," !",{"type":375,"tag":1228,"props":5414,"children":5415},{"style":1252},[5416],{"type":384,"value":4660},{"type":375,"tag":1228,"props":5418,"children":5419},{"style":1235},[5420],{"type":384,"value":4645},{"type":375,"tag":1228,"props":5422,"children":5423},{"style":1282},[5424],{"type":384,"value":5425},"[A-Za-z0-9+/]",{"type":375,"tag":1228,"props":5427,"children":5428},{"style":1235},[5429],{"type":384,"value":5430},"{32,100}$",{"type":375,"tag":1228,"props":5432,"children":5433},{"style":1252},[5434],{"type":384,"value":4660},{"type":375,"tag":1228,"props":5436,"children":5437},{"style":1241},[5438],{"type":384,"value":433},{"type":375,"tag":1228,"props":5440,"children":5441},{"style":1298},[5442],{"type":384,"value":5443},"test",{"type":375,"tag":1228,"props":5445,"children":5446},{"style":1241},[5447],{"type":384,"value":5448},"(bare) ",{"type":375,"tag":1228,"props":5450,"children":5451},{"style":1235},[5452],{"type":384,"value":5453},"||",{"type":375,"tag":1228,"props":5455,"children":5456},{"style":1241},[5457],{"type":384,"value":5458}," bare.",{"type":375,"tag":1228,"props":5460,"children":5461},{"style":1282},[5462],{"type":384,"value":3668},{"type":375,"tag":1228,"props":5464,"children":5465},{"style":1235},[5466],{"type":384,"value":5467}," %",{"type":375,"tag":1228,"props":5469,"children":5470},{"style":1282},[5471],{"type":384,"value":5472}," 4",{"type":375,"tag":1228,"props":5474,"children":5475},{"style":1235},[5476],{"type":384,"value":3673},{"type":375,"tag":1228,"props":5478,"children":5479},{"style":1282},[5480],{"type":384,"value":5481}," 1",{"type":375,"tag":1228,"props":5483,"children":5484},{"style":1241},[5485],{"type":384,"value":3601},{"type":375,"tag":1228,"props":5487,"children":5488},{"style":1235},[5489],{"type":384,"value":3446},{"type":375,"tag":1228,"props":5491,"children":5492},{"style":1282},[5493],{"type":384,"value":5205},{"type":375,"tag":1228,"props":5495,"children":5496},{"style":1241},[5497],{"type":384,"value":1260},{"type":375,"tag":1228,"props":5499,"children":5501},{"class":1230,"line":5500},29,[5502,5506,5511,5515,5520,5525,5529,5533,5537,5541,5545,5550,5554,5558,5562,5566],{"type":375,"tag":1228,"props":5503,"children":5504},{"style":1235},[5505],{"type":384,"value":3300},{"type":375,"tag":1228,"props":5507,"children":5508},{"style":1241},[5509],{"type":384,"value":5510}," (bare ",{"type":375,"tag":1228,"props":5512,"children":5513},{"style":1235},[5514],{"type":384,"value":5236},{"type":375,"tag":1228,"props":5516,"children":5517},{"style":1241},[5518],{"type":384,"value":5519}," encoded ",{"type":375,"tag":1228,"props":5521,"children":5522},{"style":1235},[5523],{"type":384,"value":5524},"&&",{"type":375,"tag":1228,"props":5526,"children":5527},{"style":1241},[5528],{"type":384,"value":5338},{"type":375,"tag":1228,"props":5530,"children":5531},{"style":1282},[5532],{"type":384,"value":3668},{"type":375,"tag":1228,"props":5534,"children":5535},{"style":1235},[5536],{"type":384,"value":5467},{"type":375,"tag":1228,"props":5538,"children":5539},{"style":1282},[5540],{"type":384,"value":5472},{"type":375,"tag":1228,"props":5542,"children":5543},{"style":1235},[5544],{"type":384,"value":4580},{"type":375,"tag":1228,"props":5546,"children":5547},{"style":1282},[5548],{"type":384,"value":5549}," 0",{"type":375,"tag":1228,"props":5551,"children":5552},{"style":1241},[5553],{"type":384,"value":3601},{"type":375,"tag":1228,"props":5555,"children":5556},{"style":1235},[5557],{"type":384,"value":3446},{"type":375,"tag":1228,"props":5559,"children":5560},{"style":1282},[5561],{"type":384,"value":5205},{"type":375,"tag":1228,"props":5563,"children":5564},{"style":1241},[5565],{"type":384,"value":3239},{"type":375,"tag":1228,"props":5567,"children":5568},{"style":1527},[5569],{"type":384,"value":5570},"// bad padding\n",{"type":375,"tag":1228,"props":5572,"children":5574},{"class":1230,"line":5573},30,[5575,5579],{"type":375,"tag":1228,"props":5576,"children":5577},{"style":1235},[5578],{"type":384,"value":3540},{"type":375,"tag":1228,"props":5580,"children":5581},{"style":1241},[5582],{"type":384,"value":5583}," secret;\n",{"type":375,"tag":1228,"props":5585,"children":5587},{"class":1230,"line":5586},31,[5588],{"type":375,"tag":1228,"props":5589,"children":5590},{"style":1241},[5591],{"type":384,"value":3719},{"type":375,"tag":1228,"props":5593,"children":5595},{"class":1230,"line":5594},32,[5596,5600,5605,5609],{"type":375,"tag":1228,"props":5597,"children":5598},{"style":1235},[5599],{"type":384,"value":4931},{"type":375,"tag":1228,"props":5601,"children":5602},{"style":1298},[5603],{"type":384,"value":5604}," Plan",{"type":375,"tag":1228,"props":5606,"children":5607},{"style":1235},[5608],{"type":384,"value":1290},{"type":375,"tag":1228,"props":5610,"children":5611},{"style":1241},[5612],{"type":384,"value":3611},{"type":375,"tag":1228,"props":5614,"children":5616},{"class":1230,"line":5615},33,[5617,5622,5626,5631,5636,5640,5644,5648,5652,5656,5660,5664,5669,5673,5677],{"type":375,"tag":1228,"props":5618,"children":5619},{"style":3276},[5620],{"type":384,"value":5621},"  eventTypes",{"type":375,"tag":1228,"props":5623,"children":5624},{"style":1235},[5625],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5627,"children":5628},{"style":1241},[5629],{"type":384,"value":5630}," { ",{"type":375,"tag":1228,"props":5632,"children":5633},{"style":3276},[5634],{"type":384,"value":5635},"name",{"type":375,"tag":1228,"props":5637,"children":5638},{"style":1235},[5639],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5641,"children":5642},{"style":1282},[5643],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5645,"children":5646},{"style":1241},[5647],{"type":384,"value":3239},{"type":375,"tag":1228,"props":5649,"children":5650},{"style":3276},[5651],{"type":384,"value":5004},{"type":375,"tag":1228,"props":5653,"children":5654},{"style":1235},[5655],{"type":384,"value":5009},{"type":375,"tag":1228,"props":5657,"children":5658},{"style":1282},[5659],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5661,"children":5662},{"style":1241},[5663],{"type":384,"value":3239},{"type":375,"tag":1228,"props":5665,"children":5666},{"style":3276},[5667],{"type":384,"value":5668},"deprecated",{"type":375,"tag":1228,"props":5670,"children":5671},{"style":1235},[5672],{"type":384,"value":5009},{"type":375,"tag":1228,"props":5674,"children":5675},{"style":1282},[5676],{"type":384,"value":5088},{"type":375,"tag":1228,"props":5678,"children":5679},{"style":1241},[5680],{"type":384,"value":5681}," }[];\n",{"type":375,"tag":1228,"props":5683,"children":5685},{"class":1230,"line":5684},34,[5686,5691,5695,5699,5703,5707,5711,5715,5719,5723,5727,5731,5736,5740,5744],{"type":375,"tag":1228,"props":5687,"children":5688},{"style":3276},[5689],{"type":384,"value":5690},"  consumers",{"type":375,"tag":1228,"props":5692,"children":5693},{"style":1235},[5694],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5696,"children":5697},{"style":1241},[5698],{"type":384,"value":5630},{"type":375,"tag":1228,"props":5700,"children":5701},{"style":3276},[5702],{"type":384,"value":730},{"type":375,"tag":1228,"props":5704,"children":5705},{"style":1235},[5706],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5708,"children":5709},{"style":1282},[5710],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5712,"children":5713},{"style":1241},[5714],{"type":384,"value":3239},{"type":375,"tag":1228,"props":5716,"children":5717},{"style":3276},[5718],{"type":384,"value":5635},{"type":375,"tag":1228,"props":5720,"children":5721},{"style":1235},[5722],{"type":384,"value":5009},{"type":375,"tag":1228,"props":5724,"children":5725},{"style":1282},[5726],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5728,"children":5729},{"style":1241},[5730],{"type":384,"value":3239},{"type":375,"tag":1228,"props":5732,"children":5733},{"style":3276},[5734],{"type":384,"value":5735},"endpoints",{"type":375,"tag":1228,"props":5737,"children":5738},{"style":1235},[5739],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5741,"children":5742},{"style":1298},[5743],{"type":384,"value":4936},{"type":375,"tag":1228,"props":5745,"children":5746},{"style":1241},[5747],{"type":384,"value":5748},"[] }[];\n",{"type":375,"tag":1228,"props":5750,"children":5752},{"class":1230,"line":5751},35,[5753,5758,5762,5766],{"type":375,"tag":1228,"props":5754,"children":5755},{"style":3276},[5756],{"type":384,"value":5757},"  warnings",{"type":375,"tag":1228,"props":5759,"children":5760},{"style":1235},[5761],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5763,"children":5764},{"style":1282},[5765],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5767,"children":5768},{"style":1241},[5769],{"type":384,"value":5770},"[];\n",{"type":375,"tag":1228,"props":5772,"children":5774},{"class":1230,"line":5773},36,[5775],{"type":375,"tag":1228,"props":5776,"children":5777},{"style":1241},[5778],{"type":384,"value":5127},{"type":375,"tag":1228,"props":5780,"children":5782},{"class":1230,"line":5781},37,[5783],{"type":375,"tag":1228,"props":5784,"children":5785},{"emptyLinePlaceholder":1267},[5786],{"type":384,"value":1270},{"type":375,"tag":1228,"props":5788,"children":5790},{"class":1230,"line":5789},38,[5791],{"type":375,"tag":1228,"props":5792,"children":5793},{"style":1527},[5794],{"type":384,"value":5795},"// ---- 1. Export from Outpost (read-only) ----\n",{"type":375,"tag":1228,"props":5797,"children":5799},{"class":1230,"line":5798},39,[5800,5805,5809,5813,5817,5822,5827,5832,5836,5840,5844,5849,5853,5857,5861,5865,5869,5873,5878,5882,5887,5891,5896,5901,5906,5910,5914,5918,5923,5927,5932],{"type":375,"tag":1228,"props":5801,"children":5802},{"style":1235},[5803],{"type":384,"value":5804},"async",{"type":375,"tag":1228,"props":5806,"children":5807},{"style":1235},[5808],{"type":384,"value":3264},{"type":375,"tag":1228,"props":5810,"children":5811},{"style":1298},[5812],{"type":384,"value":1285},{"type":375,"tag":1228,"props":5814,"children":5815},{"style":1241},[5816],{"type":384,"value":5039},{"type":375,"tag":1228,"props":5818,"children":5819},{"style":1298},[5820],{"type":384,"value":5821},"T",{"type":375,"tag":1228,"props":5823,"children":5824},{"style":1241},[5825],{"type":384,"value":5826},">(",{"type":375,"tag":1228,"props":5828,"children":5829},{"style":3276},[5830],{"type":384,"value":5831},"path",{"type":375,"tag":1228,"props":5833,"children":5834},{"style":1235},[5835],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5837,"children":5838},{"style":1282},[5839],{"type":384,"value":4961},{"type":375,"tag":1228,"props":5841,"children":5842},{"style":1241},[5843],{"type":384,"value":1853},{"type":375,"tag":1228,"props":5845,"children":5846},{"style":3276},[5847],{"type":384,"value":5848},"query",{"type":375,"tag":1228,"props":5850,"children":5851},{"style":1235},[5852],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5854,"children":5855},{"style":1298},[5856],{"type":384,"value":5034},{"type":375,"tag":1228,"props":5858,"children":5859},{"style":1241},[5860],{"type":384,"value":5039},{"type":375,"tag":1228,"props":5862,"children":5863},{"style":1282},[5864],{"type":384,"value":1819},{"type":375,"tag":1228,"props":5866,"children":5867},{"style":1241},[5868],{"type":384,"value":1853},{"type":375,"tag":1228,"props":5870,"children":5871},{"style":1282},[5872],{"type":384,"value":1819},{"type":375,"tag":1228,"props":5874,"children":5875},{"style":1241},[5876],{"type":384,"value":5877},"> ",{"type":375,"tag":1228,"props":5879,"children":5880},{"style":1235},[5881],{"type":384,"value":3985},{"type":375,"tag":1228,"props":5883,"children":5884},{"style":1241},[5885],{"type":384,"value":5886}," {})",{"type":375,"tag":1228,"props":5888,"children":5889},{"style":1235},[5890],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5892,"children":5893},{"style":1298},[5894],{"type":384,"value":5895}," Promise",{"type":375,"tag":1228,"props":5897,"children":5898},{"style":1241},[5899],{"type":384,"value":5900},"\u003C{ ",{"type":375,"tag":1228,"props":5902,"children":5903},{"style":3276},[5904],{"type":384,"value":5905},"status",{"type":375,"tag":1228,"props":5907,"children":5908},{"style":1235},[5909],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5911,"children":5912},{"style":1282},[5913],{"type":384,"value":5070},{"type":375,"tag":1228,"props":5915,"children":5916},{"style":1241},[5917],{"type":384,"value":3239},{"type":375,"tag":1228,"props":5919,"children":5920},{"style":3276},[5921],{"type":384,"value":5922},"body",{"type":375,"tag":1228,"props":5924,"children":5925},{"style":1235},[5926],{"type":384,"value":1212},{"type":375,"tag":1228,"props":5928,"children":5929},{"style":1298},[5930],{"type":384,"value":5931}," T",{"type":375,"tag":1228,"props":5933,"children":5934},{"style":1241},[5935],{"type":384,"value":5936}," }> {\n",{"type":375,"tag":1228,"props":5938,"children":5940},{"class":1230,"line":5939},40,[5941,5945,5950,5954,5958,5963,5968,5972],{"type":375,"tag":1228,"props":5942,"children":5943},{"style":1235},[5944],{"type":384,"value":3373},{"type":375,"tag":1228,"props":5946,"children":5947},{"style":1282},[5948],{"type":384,"value":5949}," qs",{"type":375,"tag":1228,"props":5951,"children":5952},{"style":1235},[5953],{"type":384,"value":1290},{"type":375,"tag":1228,"props":5955,"children":5956},{"style":1235},[5957],{"type":384,"value":1295},{"type":375,"tag":1228,"props":5959,"children":5960},{"style":1298},[5961],{"type":384,"value":5962}," URLSearchParams",{"type":375,"tag":1228,"props":5964,"children":5965},{"style":1241},[5966],{"type":384,"value":5967},"(query).",{"type":375,"tag":1228,"props":5969,"children":5970},{"style":1298},[5971],{"type":384,"value":4861},{"type":375,"tag":1228,"props":5973,"children":5974},{"style":1241},[5975],{"type":384,"value":3532},{"type":375,"tag":1228,"props":5977,"children":5979},{"class":1230,"line":5978},41,[5980,5984,5989,5993,5997,6002,6006,6010,6015,6020,6024,6028,6033,6038,6043,6047,6051,6056,6061],{"type":375,"tag":1228,"props":5981,"children":5982},{"style":1235},[5983],{"type":384,"value":3373},{"type":375,"tag":1228,"props":5985,"children":5986},{"style":1282},[5987],{"type":384,"value":5988}," res",{"type":375,"tag":1228,"props":5990,"children":5991},{"style":1235},[5992],{"type":384,"value":1290},{"type":375,"tag":1228,"props":5994,"children":5995},{"style":1235},[5996],{"type":384,"value":2429},{"type":375,"tag":1228,"props":5998,"children":5999},{"style":1298},[6000],{"type":384,"value":6001}," fetch",{"type":375,"tag":1228,"props":6003,"children":6004},{"style":1241},[6005],{"type":384,"value":1739},{"type":375,"tag":1228,"props":6007,"children":6008},{"style":1252},[6009],{"type":384,"value":4798},{"type":375,"tag":1228,"props":6011,"children":6012},{"style":1282},[6013],{"type":384,"value":6014},"OUTPOST_API",{"type":375,"tag":1228,"props":6016,"children":6017},{"style":1252},[6018],{"type":384,"value":6019},"}${",{"type":375,"tag":1228,"props":6021,"children":6022},{"style":1241},[6023],{"type":384,"value":5831},{"type":375,"tag":1228,"props":6025,"children":6026},{"style":1252},[6027],{"type":384,"value":6019},{"type":375,"tag":1228,"props":6029,"children":6030},{"style":1241},[6031],{"type":384,"value":6032},"qs",{"type":375,"tag":1228,"props":6034,"children":6035},{"style":1235},[6036],{"type":384,"value":6037}," ?",{"type":375,"tag":1228,"props":6039,"children":6040},{"style":1252},[6041],{"type":384,"value":6042}," `?${",{"type":375,"tag":1228,"props":6044,"children":6045},{"style":1241},[6046],{"type":384,"value":6032},{"type":375,"tag":1228,"props":6048,"children":6049},{"style":1252},[6050],{"type":384,"value":4852},{"type":375,"tag":1228,"props":6052,"children":6053},{"style":1235},[6054],{"type":384,"value":6055}," :",{"type":375,"tag":1228,"props":6057,"children":6058},{"style":1252},[6059],{"type":384,"value":6060}," \"\"}`",{"type":375,"tag":1228,"props":6062,"children":6063},{"style":1241},[6064],{"type":384,"value":2452},{"type":375,"tag":1228,"props":6066,"children":6068},{"class":1230,"line":6067},42,[6069,6074,6079,6083,6087,6091,6095,6099,6103],{"type":375,"tag":1228,"props":6070,"children":6071},{"style":1241},[6072],{"type":384,"value":6073},"    headers: { Authorization: ",{"type":375,"tag":1228,"props":6075,"children":6076},{"style":1252},[6077],{"type":384,"value":6078},"`Bearer ${",{"type":375,"tag":1228,"props":6080,"children":6081},{"style":1241},[6082],{"type":384,"value":4803},{"type":375,"tag":1228,"props":6084,"children":6085},{"style":1252},[6086],{"type":384,"value":433},{"type":375,"tag":1228,"props":6088,"children":6089},{"style":1241},[6090],{"type":384,"value":4812},{"type":375,"tag":1228,"props":6092,"children":6093},{"style":1252},[6094],{"type":384,"value":433},{"type":375,"tag":1228,"props":6096,"children":6097},{"style":1282},[6098],{"type":384,"value":1311},{"type":375,"tag":1228,"props":6100,"children":6101},{"style":1252},[6102],{"type":384,"value":4852},{"type":375,"tag":1228,"props":6104,"children":6105},{"style":1241},[6106],{"type":384,"value":1431},{"type":375,"tag":1228,"props":6108,"children":6110},{"class":1230,"line":6109},43,[6111],{"type":375,"tag":1228,"props":6112,"children":6113},{"style":1241},[6114],{"type":384,"value":3710},{"type":375,"tag":1228,"props":6116,"children":6118},{"class":1230,"line":6117},44,[6119,6123,6128,6133,6138,6142,6146,6151,6155,6160,6165,6170,6174],{"type":375,"tag":1228,"props":6120,"children":6121},{"style":1235},[6122],{"type":384,"value":3300},{"type":375,"tag":1228,"props":6124,"children":6125},{"style":1241},[6126],{"type":384,"value":6127}," (res.status ",{"type":375,"tag":1228,"props":6129,"children":6130},{"style":1235},[6131],{"type":384,"value":6132},"===",{"type":375,"tag":1228,"props":6134,"children":6135},{"style":1282},[6136],{"type":384,"value":6137}," 501",{"type":375,"tag":1228,"props":6139,"children":6140},{"style":1241},[6141],{"type":384,"value":3601},{"type":375,"tag":1228,"props":6143,"children":6144},{"style":1235},[6145],{"type":384,"value":3446},{"type":375,"tag":1228,"props":6147,"children":6148},{"style":1241},[6149],{"type":384,"value":6150}," { status: ",{"type":375,"tag":1228,"props":6152,"children":6153},{"style":1282},[6154],{"type":384,"value":4410},{"type":375,"tag":1228,"props":6156,"children":6157},{"style":1241},[6158],{"type":384,"value":6159},", body: ",{"type":375,"tag":1228,"props":6161,"children":6162},{"style":1282},[6163],{"type":384,"value":6164},"undefined",{"type":375,"tag":1228,"props":6166,"children":6167},{"style":1235},[6168],{"type":384,"value":6169}," as",{"type":375,"tag":1228,"props":6171,"children":6172},{"style":1298},[6173],{"type":384,"value":5931},{"type":375,"tag":1228,"props":6175,"children":6176},{"style":1241},[6177],{"type":384,"value":6178}," };\n",{"type":375,"tag":1228,"props":6180,"children":6182},{"class":1230,"line":6181},45,[6183,6187,6191,6195,6200,6205,6209,6214,6218,6223,6227,6232,6237,6241,6245,6250,6254,6258,6262,6266,6271,6275],{"type":375,"tag":1228,"props":6184,"children":6185},{"style":1235},[6186],{"type":384,"value":3300},{"type":375,"tag":1228,"props":6188,"children":6189},{"style":1241},[6190],{"type":384,"value":2833},{"type":375,"tag":1228,"props":6192,"children":6193},{"style":1235},[6194],{"type":384,"value":3417},{"type":375,"tag":1228,"props":6196,"children":6197},{"style":1241},[6198],{"type":384,"value":6199},"res.ok) ",{"type":375,"tag":1228,"props":6201,"children":6202},{"style":1235},[6203],{"type":384,"value":6204},"throw",{"type":375,"tag":1228,"props":6206,"children":6207},{"style":1235},[6208],{"type":384,"value":1295},{"type":375,"tag":1228,"props":6210,"children":6211},{"style":1298},[6212],{"type":384,"value":6213}," Error",{"type":375,"tag":1228,"props":6215,"children":6216},{"style":1241},[6217],{"type":384,"value":1739},{"type":375,"tag":1228,"props":6219,"children":6220},{"style":1252},[6221],{"type":384,"value":6222},"`Outpost GET ${",{"type":375,"tag":1228,"props":6224,"children":6225},{"style":1241},[6226],{"type":384,"value":5831},{"type":375,"tag":1228,"props":6228,"children":6229},{"style":1252},[6230],{"type":384,"value":6231},"}: ${",{"type":375,"tag":1228,"props":6233,"children":6234},{"style":1241},[6235],{"type":384,"value":6236},"res",{"type":375,"tag":1228,"props":6238,"children":6239},{"style":1252},[6240],{"type":384,"value":433},{"type":375,"tag":1228,"props":6242,"children":6243},{"style":1241},[6244],{"type":384,"value":5905},{"type":375,"tag":1228,"props":6246,"children":6247},{"style":1252},[6248],{"type":384,"value":6249},"} ${",{"type":375,"tag":1228,"props":6251,"children":6252},{"style":1235},[6253],{"type":384,"value":1333},{"type":375,"tag":1228,"props":6255,"children":6256},{"style":1241},[6257],{"type":384,"value":5988},{"type":375,"tag":1228,"props":6259,"children":6260},{"style":1252},[6261],{"type":384,"value":433},{"type":375,"tag":1228,"props":6263,"children":6264},{"style":1298},[6265],{"type":384,"value":384},{"type":375,"tag":1228,"props":6267,"children":6268},{"style":1252},[6269],{"type":384,"value":6270},"()",{"type":375,"tag":1228,"props":6272,"children":6273},{"style":1252},[6274],{"type":384,"value":4852},{"type":375,"tag":1228,"props":6276,"children":6277},{"style":1241},[6278],{"type":384,"value":1634},{"type":375,"tag":1228,"props":6280,"children":6282},{"class":1230,"line":6281},46,[6283,6287,6292,6296,6301,6306,6311,6316,6320],{"type":375,"tag":1228,"props":6284,"children":6285},{"style":1235},[6286],{"type":384,"value":3540},{"type":375,"tag":1228,"props":6288,"children":6289},{"style":1241},[6290],{"type":384,"value":6291}," { status: res.status, body: (",{"type":375,"tag":1228,"props":6293,"children":6294},{"style":1235},[6295],{"type":384,"value":1333},{"type":375,"tag":1228,"props":6297,"children":6298},{"style":1241},[6299],{"type":384,"value":6300}," res.",{"type":375,"tag":1228,"props":6302,"children":6303},{"style":1298},[6304],{"type":384,"value":6305},"json",{"type":375,"tag":1228,"props":6307,"children":6308},{"style":1241},[6309],{"type":384,"value":6310},"()) ",{"type":375,"tag":1228,"props":6312,"children":6313},{"style":1235},[6314],{"type":384,"value":6315},"as",{"type":375,"tag":1228,"props":6317,"children":6318},{"style":1298},[6319],{"type":384,"value":5931},{"type":375,"tag":1228,"props":6321,"children":6322},{"style":1241},[6323],{"type":384,"value":6178},{"type":375,"tag":1228,"props":6325,"children":6327},{"class":1230,"line":6326},47,[6328],{"type":375,"tag":1228,"props":6329,"children":6330},{"style":1241},[6331],{"type":384,"value":3719},{"type":375,"tag":1228,"props":6333,"children":6335},{"class":1230,"line":6334},48,[6336],{"type":375,"tag":1228,"props":6337,"children":6338},{"emptyLinePlaceholder":1267},[6339],{"type":384,"value":1270},{"type":375,"tag":1228,"props":6341,"children":6343},{"class":1230,"line":6342},49,[6344,6348,6352,6357,6361,6365,6369,6373,6377,6381,6385,6389,6393,6397,6401],{"type":375,"tag":1228,"props":6345,"children":6346},{"style":1235},[6347],{"type":384,"value":5804},{"type":375,"tag":1228,"props":6349,"children":6350},{"style":1235},[6351],{"type":384,"value":3264},{"type":375,"tag":1228,"props":6353,"children":6354},{"style":1298},[6355],{"type":384,"value":6356}," tenantIds",{"type":375,"tag":1228,"props":6358,"children":6359},{"style":1241},[6360],{"type":384,"value":6270},{"type":375,"tag":1228,"props":6362,"children":6363},{"style":1235},[6364],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6366,"children":6367},{"style":1298},[6368],{"type":384,"value":5895},{"type":375,"tag":1228,"props":6370,"children":6371},{"style":1241},[6372],{"type":384,"value":5900},{"type":375,"tag":1228,"props":6374,"children":6375},{"style":3276},[6376],{"type":384,"value":730},{"type":375,"tag":1228,"props":6378,"children":6379},{"style":1235},[6380],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6382,"children":6383},{"style":1282},[6384],{"type":384,"value":4961},{"type":375,"tag":1228,"props":6386,"children":6387},{"style":1241},[6388],{"type":384,"value":3239},{"type":375,"tag":1228,"props":6390,"children":6391},{"style":3276},[6392],{"type":384,"value":5635},{"type":375,"tag":1228,"props":6394,"children":6395},{"style":1235},[6396],{"type":384,"value":5009},{"type":375,"tag":1228,"props":6398,"children":6399},{"style":1282},[6400],{"type":384,"value":4961},{"type":375,"tag":1228,"props":6402,"children":6403},{"style":1241},[6404],{"type":384,"value":6405}," }[]> {\n",{"type":375,"tag":1228,"props":6407,"children":6409},{"class":1230,"line":6408},50,[6410,6414,6419,6423,6427,6431,6435,6439,6443,6447,6451,6455,6459,6463,6467,6471,6475,6479,6484,6489],{"type":375,"tag":1228,"props":6411,"children":6412},{"style":1235},[6413],{"type":384,"value":3300},{"type":375,"tag":1228,"props":6415,"children":6416},{"style":1241},[6417],{"type":384,"value":6418}," (process.env.",{"type":375,"tag":1228,"props":6420,"children":6421},{"style":1282},[6422],{"type":384,"value":4418},{"type":375,"tag":1228,"props":6424,"children":6425},{"style":1241},[6426],{"type":384,"value":3601},{"type":375,"tag":1228,"props":6428,"children":6429},{"style":1235},[6430],{"type":384,"value":3446},{"type":375,"tag":1228,"props":6432,"children":6433},{"style":1241},[6434],{"type":384,"value":4531},{"type":375,"tag":1228,"props":6436,"children":6437},{"style":1282},[6438],{"type":384,"value":4418},{"type":375,"tag":1228,"props":6440,"children":6441},{"style":1241},[6442],{"type":384,"value":433},{"type":375,"tag":1228,"props":6444,"children":6445},{"style":1298},[6446],{"type":384,"value":3568},{"type":375,"tag":1228,"props":6448,"children":6449},{"style":1241},[6450],{"type":384,"value":1739},{"type":375,"tag":1228,"props":6452,"children":6453},{"style":1252},[6454],{"type":384,"value":3577},{"type":375,"tag":1228,"props":6456,"children":6457},{"style":1241},[6458],{"type":384,"value":3512},{"type":375,"tag":1228,"props":6460,"children":6461},{"style":1298},[6462],{"type":384,"value":1809},{"type":375,"tag":1228,"props":6464,"children":6465},{"style":1241},[6466],{"type":384,"value":3591},{"type":375,"tag":1228,"props":6468,"children":6469},{"style":3276},[6470],{"type":384,"value":730},{"type":375,"tag":1228,"props":6472,"children":6473},{"style":1241},[6474],{"type":384,"value":3601},{"type":375,"tag":1228,"props":6476,"children":6477},{"style":1235},[6478],{"type":384,"value":3606},{"type":375,"tag":1228,"props":6480,"children":6481},{"style":1241},[6482],{"type":384,"value":6483}," ({ id: id.",{"type":375,"tag":1228,"props":6485,"children":6486},{"style":1298},[6487],{"type":384,"value":6488},"trim",{"type":375,"tag":1228,"props":6490,"children":6491},{"style":1241},[6492],{"type":384,"value":6493},"() }));\n",{"type":375,"tag":1228,"props":6495,"children":6497},{"class":1230,"line":6496},51,[6498,6502,6507,6511,6515,6519,6523,6527,6531,6535,6539,6543,6548,6552],{"type":375,"tag":1228,"props":6499,"children":6500},{"style":1235},[6501],{"type":384,"value":3373},{"type":375,"tag":1228,"props":6503,"children":6504},{"style":1282},[6505],{"type":384,"value":6506}," out",{"type":375,"tag":1228,"props":6508,"children":6509},{"style":1235},[6510],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6512,"children":6513},{"style":1241},[6514],{"type":384,"value":5630},{"type":375,"tag":1228,"props":6516,"children":6517},{"style":3276},[6518],{"type":384,"value":730},{"type":375,"tag":1228,"props":6520,"children":6521},{"style":1235},[6522],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6524,"children":6525},{"style":1282},[6526],{"type":384,"value":4961},{"type":375,"tag":1228,"props":6528,"children":6529},{"style":1241},[6530],{"type":384,"value":3239},{"type":375,"tag":1228,"props":6532,"children":6533},{"style":3276},[6534],{"type":384,"value":5635},{"type":375,"tag":1228,"props":6536,"children":6537},{"style":1235},[6538],{"type":384,"value":5009},{"type":375,"tag":1228,"props":6540,"children":6541},{"style":1282},[6542],{"type":384,"value":4961},{"type":375,"tag":1228,"props":6544,"children":6545},{"style":1241},[6546],{"type":384,"value":6547}," }[] ",{"type":375,"tag":1228,"props":6549,"children":6550},{"style":1235},[6551],{"type":384,"value":3985},{"type":375,"tag":1228,"props":6553,"children":6554},{"style":1241},[6555],{"type":384,"value":6556}," [];\n",{"type":375,"tag":1228,"props":6558,"children":6560},{"class":1230,"line":6559},52,[6561,6566,6571,6575,6579,6583,6587],{"type":375,"tag":1228,"props":6562,"children":6563},{"style":1235},[6564],{"type":384,"value":6565},"  let",{"type":375,"tag":1228,"props":6567,"children":6568},{"style":1241},[6569],{"type":384,"value":6570}," next",{"type":375,"tag":1228,"props":6572,"children":6573},{"style":1235},[6574],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6576,"children":6577},{"style":1282},[6578],{"type":384,"value":4961},{"type":375,"tag":1228,"props":6580,"children":6581},{"style":1235},[6582],{"type":384,"value":2708},{"type":375,"tag":1228,"props":6584,"children":6585},{"style":1282},[6586],{"type":384,"value":5205},{"type":375,"tag":1228,"props":6588,"children":6589},{"style":1241},[6590],{"type":384,"value":1260},{"type":375,"tag":1228,"props":6592,"children":6594},{"class":1230,"line":6593},53,[6595,6600],{"type":375,"tag":1228,"props":6596,"children":6597},{"style":1235},[6598],{"type":384,"value":6599},"  for",{"type":375,"tag":1228,"props":6601,"children":6602},{"style":1241},[6603],{"type":384,"value":6604}," (;;) {\n",{"type":375,"tag":1228,"props":6606,"children":6608},{"class":1230,"line":6607},54,[6609,6613,6617,6621,6625,6629,6634,6638,6642,6646,6650,6655,6659,6664,6668,6673,6677,6681,6686,6690,6694,6698,6703],{"type":375,"tag":1228,"props":6610,"children":6611},{"style":1235},[6612],{"type":384,"value":3619},{"type":375,"tag":1228,"props":6614,"children":6615},{"style":1241},[6616],{"type":384,"value":5630},{"type":375,"tag":1228,"props":6618,"children":6619},{"style":1282},[6620],{"type":384,"value":5905},{"type":375,"tag":1228,"props":6622,"children":6623},{"style":1241},[6624],{"type":384,"value":1853},{"type":375,"tag":1228,"props":6626,"children":6627},{"style":1282},[6628],{"type":384,"value":5922},{"type":375,"tag":1228,"props":6630,"children":6631},{"style":1241},[6632],{"type":384,"value":6633}," } ",{"type":375,"tag":1228,"props":6635,"children":6636},{"style":1235},[6637],{"type":384,"value":3985},{"type":375,"tag":1228,"props":6639,"children":6640},{"style":1235},[6641],{"type":384,"value":2429},{"type":375,"tag":1228,"props":6643,"children":6644},{"style":1298},[6645],{"type":384,"value":1285},{"type":375,"tag":1228,"props":6647,"children":6648},{"style":1241},[6649],{"type":384,"value":5900},{"type":375,"tag":1228,"props":6651,"children":6652},{"style":3276},[6653],{"type":384,"value":6654},"models",{"type":375,"tag":1228,"props":6656,"children":6657},{"style":1235},[6658],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6660,"children":6661},{"style":1282},[6662],{"type":384,"value":6663}," any",{"type":375,"tag":1228,"props":6665,"children":6666},{"style":1241},[6667],{"type":384,"value":4999},{"type":375,"tag":1228,"props":6669,"children":6670},{"style":3276},[6671],{"type":384,"value":6672},"pagination",{"type":375,"tag":1228,"props":6674,"children":6675},{"style":1235},[6676],{"type":384,"value":5009},{"type":375,"tag":1228,"props":6678,"children":6679},{"style":1241},[6680],{"type":384,"value":5630},{"type":375,"tag":1228,"props":6682,"children":6683},{"style":3276},[6684],{"type":384,"value":6685},"next",{"type":375,"tag":1228,"props":6687,"children":6688},{"style":1235},[6689],{"type":384,"value":5009},{"type":375,"tag":1228,"props":6691,"children":6692},{"style":1282},[6693],{"type":384,"value":4961},{"type":375,"tag":1228,"props":6695,"children":6696},{"style":1235},[6697],{"type":384,"value":2708},{"type":375,"tag":1228,"props":6699,"children":6700},{"style":1282},[6701],{"type":384,"value":6702}," null",{"type":375,"tag":1228,"props":6704,"children":6705},{"style":1241},[6706],{"type":384,"value":6707}," } }>(\n",{"type":375,"tag":1228,"props":6709,"children":6711},{"class":1230,"line":6710},55,[6712,6717,6722,6727,6731,6736,6741,6746,6751,6755],{"type":375,"tag":1228,"props":6713,"children":6714},{"style":1252},[6715],{"type":384,"value":6716},"      \"/tenants\"",{"type":375,"tag":1228,"props":6718,"children":6719},{"style":1241},[6720],{"type":384,"value":6721},", { limit: ",{"type":375,"tag":1228,"props":6723,"children":6724},{"style":1252},[6725],{"type":384,"value":6726},"\"100\"",{"type":375,"tag":1228,"props":6728,"children":6729},{"style":1241},[6730],{"type":384,"value":1853},{"type":375,"tag":1228,"props":6732,"children":6733},{"style":1235},[6734],{"type":384,"value":6735},"...",{"type":375,"tag":1228,"props":6737,"children":6738},{"style":1241},[6739],{"type":384,"value":6740},"(next ",{"type":375,"tag":1228,"props":6742,"children":6743},{"style":1235},[6744],{"type":384,"value":6745},"?",{"type":375,"tag":1228,"props":6747,"children":6748},{"style":1241},[6749],{"type":384,"value":6750}," { next } ",{"type":375,"tag":1228,"props":6752,"children":6753},{"style":1235},[6754],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6756,"children":6757},{"style":1241},[6758],{"type":384,"value":6759}," {}) });\n",{"type":375,"tag":1228,"props":6761,"children":6763},{"class":1230,"line":6762},56,[6764,6769,6774,6778,6782,6786,6790,6794,6798,6802,6807],{"type":375,"tag":1228,"props":6765,"children":6766},{"style":1235},[6767],{"type":384,"value":6768},"    if",{"type":375,"tag":1228,"props":6770,"children":6771},{"style":1241},[6772],{"type":384,"value":6773}," (status ",{"type":375,"tag":1228,"props":6775,"children":6776},{"style":1235},[6777],{"type":384,"value":6132},{"type":375,"tag":1228,"props":6779,"children":6780},{"style":1282},[6781],{"type":384,"value":6137},{"type":375,"tag":1228,"props":6783,"children":6784},{"style":1241},[6785],{"type":384,"value":3601},{"type":375,"tag":1228,"props":6787,"children":6788},{"style":1235},[6789],{"type":384,"value":6204},{"type":375,"tag":1228,"props":6791,"children":6792},{"style":1235},[6793],{"type":384,"value":1295},{"type":375,"tag":1228,"props":6795,"children":6796},{"style":1298},[6797],{"type":384,"value":6213},{"type":375,"tag":1228,"props":6799,"children":6800},{"style":1241},[6801],{"type":384,"value":1739},{"type":375,"tag":1228,"props":6803,"children":6804},{"style":1252},[6805],{"type":384,"value":6806},"\"GET /tenants is not available on this instance: set TENANT_IDS\"",{"type":375,"tag":1228,"props":6808,"children":6809},{"style":1241},[6810],{"type":384,"value":1634},{"type":375,"tag":1228,"props":6812,"children":6814},{"class":1230,"line":6813},57,[6815,6820,6824,6828,6833,6838,6843,6848],{"type":375,"tag":1228,"props":6816,"children":6817},{"style":1235},[6818],{"type":384,"value":6819},"    for",{"type":375,"tag":1228,"props":6821,"children":6822},{"style":1241},[6823],{"type":384,"value":2833},{"type":375,"tag":1228,"props":6825,"children":6826},{"style":1235},[6827],{"type":384,"value":1279},{"type":375,"tag":1228,"props":6829,"children":6830},{"style":1282},[6831],{"type":384,"value":6832}," t",{"type":375,"tag":1228,"props":6834,"children":6835},{"style":1235},[6836],{"type":384,"value":6837}," of",{"type":375,"tag":1228,"props":6839,"children":6840},{"style":1241},[6841],{"type":384,"value":6842}," body.models) out.",{"type":375,"tag":1228,"props":6844,"children":6845},{"style":1298},[6846],{"type":384,"value":6847},"push",{"type":375,"tag":1228,"props":6849,"children":6850},{"style":1241},[6851],{"type":384,"value":6852},"({ id: t.id, name: t.metadata?.name });\n",{"type":375,"tag":1228,"props":6854,"children":6856},{"class":1230,"line":6855},58,[6857,6861,6865,6869,6874,6878],{"type":375,"tag":1228,"props":6858,"children":6859},{"style":1235},[6860],{"type":384,"value":6768},{"type":375,"tag":1228,"props":6862,"children":6863},{"style":1241},[6864],{"type":384,"value":2833},{"type":375,"tag":1228,"props":6866,"children":6867},{"style":1235},[6868],{"type":384,"value":3417},{"type":375,"tag":1228,"props":6870,"children":6871},{"style":1241},[6872],{"type":384,"value":6873},"body.pagination?.next) ",{"type":375,"tag":1228,"props":6875,"children":6876},{"style":1235},[6877],{"type":384,"value":3446},{"type":375,"tag":1228,"props":6879,"children":6880},{"style":1241},[6881],{"type":384,"value":6882}," out;\n",{"type":375,"tag":1228,"props":6884,"children":6886},{"class":1230,"line":6885},59,[6887,6892,6896],{"type":375,"tag":1228,"props":6888,"children":6889},{"style":1241},[6890],{"type":384,"value":6891},"    next ",{"type":375,"tag":1228,"props":6893,"children":6894},{"style":1235},[6895],{"type":384,"value":3985},{"type":375,"tag":1228,"props":6897,"children":6898},{"style":1241},[6899],{"type":384,"value":6900}," body.pagination.next;\n",{"type":375,"tag":1228,"props":6902,"children":6904},{"class":1230,"line":6903},60,[6905],{"type":375,"tag":1228,"props":6906,"children":6907},{"style":1241},[6908],{"type":384,"value":3365},{"type":375,"tag":1228,"props":6910,"children":6912},{"class":1230,"line":6911},61,[6913],{"type":375,"tag":1228,"props":6914,"children":6915},{"style":1241},[6916],{"type":384,"value":3719},{"type":375,"tag":1228,"props":6918,"children":6920},{"class":1230,"line":6919},62,[6921],{"type":375,"tag":1228,"props":6922,"children":6923},{"emptyLinePlaceholder":1267},[6924],{"type":384,"value":1270},{"type":375,"tag":1228,"props":6926,"children":6928},{"class":1230,"line":6927},63,[6929,6933,6937,6942,6946,6950,6954,6958,6963],{"type":375,"tag":1228,"props":6930,"children":6931},{"style":1235},[6932],{"type":384,"value":5804},{"type":375,"tag":1228,"props":6934,"children":6935},{"style":1235},[6936],{"type":384,"value":3264},{"type":375,"tag":1228,"props":6938,"children":6939},{"style":1298},[6940],{"type":384,"value":6941}," exportPlan",{"type":375,"tag":1228,"props":6943,"children":6944},{"style":1241},[6945],{"type":384,"value":6270},{"type":375,"tag":1228,"props":6947,"children":6948},{"style":1235},[6949],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6951,"children":6952},{"style":1298},[6953],{"type":384,"value":5895},{"type":375,"tag":1228,"props":6955,"children":6956},{"style":1241},[6957],{"type":384,"value":5039},{"type":375,"tag":1228,"props":6959,"children":6960},{"style":1298},[6961],{"type":384,"value":6962},"Plan",{"type":375,"tag":1228,"props":6964,"children":6965},{"style":1241},[6966],{"type":384,"value":6967},"> {\n",{"type":375,"tag":1228,"props":6969,"children":6971},{"class":1230,"line":6970},64,[6972,6976,6981,6985,6989,6993],{"type":375,"tag":1228,"props":6973,"children":6974},{"style":1235},[6975],{"type":384,"value":3373},{"type":375,"tag":1228,"props":6977,"children":6978},{"style":1282},[6979],{"type":384,"value":6980}," plan",{"type":375,"tag":1228,"props":6982,"children":6983},{"style":1235},[6984],{"type":384,"value":1212},{"type":375,"tag":1228,"props":6986,"children":6987},{"style":1298},[6988],{"type":384,"value":5604},{"type":375,"tag":1228,"props":6990,"children":6991},{"style":1235},[6992],{"type":384,"value":1290},{"type":375,"tag":1228,"props":6994,"children":6995},{"style":1241},[6996],{"type":384,"value":6997}," { eventTypes: [], consumers: [], warnings: [] };\n",{"type":375,"tag":1228,"props":6999,"children":7001},{"class":1230,"line":7000},65,[7002,7006,7011,7015,7019,7023,7027,7031,7035,7040,7045],{"type":375,"tag":1228,"props":7003,"children":7004},{"style":1235},[7005],{"type":384,"value":3373},{"type":375,"tag":1228,"props":7007,"children":7008},{"style":1282},[7009],{"type":384,"value":7010}," topics",{"type":375,"tag":1228,"props":7012,"children":7013},{"style":1235},[7014],{"type":384,"value":1290},{"type":375,"tag":1228,"props":7016,"children":7017},{"style":1241},[7018],{"type":384,"value":2833},{"type":375,"tag":1228,"props":7020,"children":7021},{"style":1235},[7022],{"type":384,"value":1333},{"type":375,"tag":1228,"props":7024,"children":7025},{"style":1298},[7026],{"type":384,"value":1285},{"type":375,"tag":1228,"props":7028,"children":7029},{"style":1241},[7030],{"type":384,"value":5039},{"type":375,"tag":1228,"props":7032,"children":7033},{"style":1282},[7034],{"type":384,"value":1819},{"type":375,"tag":1228,"props":7036,"children":7037},{"style":1241},[7038],{"type":384,"value":7039},"[]>(",{"type":375,"tag":1228,"props":7041,"children":7042},{"style":1252},[7043],{"type":384,"value":7044},"\"/topics\"",{"type":375,"tag":1228,"props":7046,"children":7047},{"style":1241},[7048],{"type":384,"value":7049},")).body;\n",{"type":375,"tag":1228,"props":7051,"children":7053},{"class":1230,"line":7052},66,[7054,7059,7063,7068,7072,7076,7080,7084,7088],{"type":375,"tag":1228,"props":7055,"children":7056},{"style":1241},[7057],{"type":384,"value":7058},"  plan.eventTypes ",{"type":375,"tag":1228,"props":7060,"children":7061},{"style":1235},[7062],{"type":384,"value":3985},{"type":375,"tag":1228,"props":7064,"children":7065},{"style":1241},[7066],{"type":384,"value":7067}," topics.",{"type":375,"tag":1228,"props":7069,"children":7070},{"style":1298},[7071],{"type":384,"value":1809},{"type":375,"tag":1228,"props":7073,"children":7074},{"style":1241},[7075],{"type":384,"value":3591},{"type":375,"tag":1228,"props":7077,"children":7078},{"style":3276},[7079],{"type":384,"value":5635},{"type":375,"tag":1228,"props":7081,"children":7082},{"style":1241},[7083],{"type":384,"value":3601},{"type":375,"tag":1228,"props":7085,"children":7086},{"style":1235},[7087],{"type":384,"value":3606},{"type":375,"tag":1228,"props":7089,"children":7090},{"style":1241},[7091],{"type":384,"value":7092}," ({ name }));\n",{"type":375,"tag":1228,"props":7094,"children":7096},{"class":1230,"line":7095},67,[7097,7101,7106,7110,7114,7119,7123,7127,7131,7135,7140,7144,7148,7153,7157],{"type":375,"tag":1228,"props":7098,"children":7099},{"style":1235},[7100],{"type":384,"value":3373},{"type":375,"tag":1228,"props":7102,"children":7103},{"style":1298},[7104],{"type":384,"value":7105}," expand",{"type":375,"tag":1228,"props":7107,"children":7108},{"style":1235},[7109],{"type":384,"value":1290},{"type":375,"tag":1228,"props":7111,"children":7112},{"style":1241},[7113],{"type":384,"value":2833},{"type":375,"tag":1228,"props":7115,"children":7116},{"style":3276},[7117],{"type":384,"value":7118},"t",{"type":375,"tag":1228,"props":7120,"children":7121},{"style":1235},[7122],{"type":384,"value":1212},{"type":375,"tag":1228,"props":7124,"children":7125},{"style":1282},[7126],{"type":384,"value":4961},{"type":375,"tag":1228,"props":7128,"children":7129},{"style":1235},[7130],{"type":384,"value":2708},{"type":375,"tag":1228,"props":7132,"children":7133},{"style":1282},[7134],{"type":384,"value":4961},{"type":375,"tag":1228,"props":7136,"children":7137},{"style":1241},[7138],{"type":384,"value":7139},"[])",{"type":375,"tag":1228,"props":7141,"children":7142},{"style":1235},[7143],{"type":384,"value":1212},{"type":375,"tag":1228,"props":7145,"children":7146},{"style":1282},[7147],{"type":384,"value":4961},{"type":375,"tag":1228,"props":7149,"children":7150},{"style":1241},[7151],{"type":384,"value":7152},"[] ",{"type":375,"tag":1228,"props":7154,"children":7155},{"style":1235},[7156],{"type":384,"value":3606},{"type":375,"tag":1228,"props":7158,"children":7159},{"style":1241},[7160],{"type":384,"value":3611},{"type":375,"tag":1228,"props":7162,"children":7164},{"class":1230,"line":7163},68,[7165,7169,7174,7178,7183,7188,7193,7197,7202,7206],{"type":375,"tag":1228,"props":7166,"children":7167},{"style":1235},[7168],{"type":384,"value":3619},{"type":375,"tag":1228,"props":7170,"children":7171},{"style":1282},[7172],{"type":384,"value":7173}," list",{"type":375,"tag":1228,"props":7175,"children":7176},{"style":1235},[7177],{"type":384,"value":1290},{"type":375,"tag":1228,"props":7179,"children":7180},{"style":1241},[7181],{"type":384,"value":7182}," Array.",{"type":375,"tag":1228,"props":7184,"children":7185},{"style":1298},[7186],{"type":384,"value":7187},"isArray",{"type":375,"tag":1228,"props":7189,"children":7190},{"style":1241},[7191],{"type":384,"value":7192},"(t) ",{"type":375,"tag":1228,"props":7194,"children":7195},{"style":1235},[7196],{"type":384,"value":6745},{"type":375,"tag":1228,"props":7198,"children":7199},{"style":1241},[7200],{"type":384,"value":7201}," t ",{"type":375,"tag":1228,"props":7203,"children":7204},{"style":1235},[7205],{"type":384,"value":1212},{"type":375,"tag":1228,"props":7207,"children":7208},{"style":1241},[7209],{"type":384,"value":7210}," [t];\n",{"type":375,"tag":1228,"props":7212,"children":7214},{"class":1230,"line":7213},69,[7215,7219,7224,7229,7233,7238,7242,7246,7251,7255],{"type":375,"tag":1228,"props":7216,"children":7217},{"style":1235},[7218],{"type":384,"value":6768},{"type":375,"tag":1228,"props":7220,"children":7221},{"style":1241},[7222],{"type":384,"value":7223}," (list.",{"type":375,"tag":1228,"props":7225,"children":7226},{"style":1298},[7227],{"type":384,"value":7228},"includes",{"type":375,"tag":1228,"props":7230,"children":7231},{"style":1241},[7232],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7234,"children":7235},{"style":1252},[7236],{"type":384,"value":7237},"\"*\"",{"type":375,"tag":1228,"props":7239,"children":7240},{"style":1241},[7241],{"type":384,"value":3441},{"type":375,"tag":1228,"props":7243,"children":7244},{"style":1235},[7245],{"type":384,"value":3446},{"type":375,"tag":1228,"props":7247,"children":7248},{"style":1241},[7249],{"type":384,"value":7250}," [",{"type":375,"tag":1228,"props":7252,"children":7253},{"style":1252},[7254],{"type":384,"value":7237},{"type":375,"tag":1228,"props":7256,"children":7257},{"style":1241},[7258],{"type":384,"value":7259},"];\n",{"type":375,"tag":1228,"props":7261,"children":7263},{"class":1230,"line":7262},70,[7264,7268,7272,7277,7282,7287,7292,7296,7300,7304,7308],{"type":375,"tag":1228,"props":7265,"children":7266},{"style":1235},[7267],{"type":384,"value":3339},{"type":375,"tag":1228,"props":7269,"children":7270},{"style":1241},[7271],{"type":384,"value":7250},{"type":375,"tag":1228,"props":7273,"children":7274},{"style":1235},[7275],{"type":384,"value":7276},"...new",{"type":375,"tag":1228,"props":7278,"children":7279},{"style":1298},[7280],{"type":384,"value":7281}," Set",{"type":375,"tag":1228,"props":7283,"children":7284},{"style":1241},[7285],{"type":384,"value":7286},"(list.",{"type":375,"tag":1228,"props":7288,"children":7289},{"style":1298},[7290],{"type":384,"value":7291},"flatMap",{"type":375,"tag":1228,"props":7293,"children":7294},{"style":1241},[7295],{"type":384,"value":3591},{"type":375,"tag":1228,"props":7297,"children":7298},{"style":3276},[7299],{"type":384,"value":376},{"type":375,"tag":1228,"props":7301,"children":7302},{"style":1241},[7303],{"type":384,"value":3601},{"type":375,"tag":1228,"props":7305,"children":7306},{"style":1235},[7307],{"type":384,"value":3606},{"type":375,"tag":1228,"props":7309,"children":7310},{"style":1241},[7311],{"type":384,"value":3611},{"type":375,"tag":1228,"props":7313,"children":7315},{"class":1230,"line":7314},71,[7316,7321,7325,7329,7334,7338,7342,7346,7350,7354],{"type":375,"tag":1228,"props":7317,"children":7318},{"style":1235},[7319],{"type":384,"value":7320},"      if",{"type":375,"tag":1228,"props":7322,"children":7323},{"style":1241},[7324],{"type":384,"value":2833},{"type":375,"tag":1228,"props":7326,"children":7327},{"style":1235},[7328],{"type":384,"value":3417},{"type":375,"tag":1228,"props":7330,"children":7331},{"style":1241},[7332],{"type":384,"value":7333},"p.",{"type":375,"tag":1228,"props":7335,"children":7336},{"style":1298},[7337],{"type":384,"value":7228},{"type":375,"tag":1228,"props":7339,"children":7340},{"style":1241},[7341],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7343,"children":7344},{"style":1252},[7345],{"type":384,"value":7237},{"type":375,"tag":1228,"props":7347,"children":7348},{"style":1241},[7349],{"type":384,"value":3441},{"type":375,"tag":1228,"props":7351,"children":7352},{"style":1235},[7353],{"type":384,"value":3446},{"type":375,"tag":1228,"props":7355,"children":7356},{"style":1241},[7357],{"type":384,"value":7358}," [p];\n",{"type":375,"tag":1228,"props":7360,"children":7362},{"class":1230,"line":7361},72,[7363,7368,7373,7377,7381,7386,7390,7395,7399,7403,7407,7411,7415,7419,7423,7427,7432,7436,7440,7445,7449,7453,7457,7461,7466,7472,7476,7480,7485,7489,7493,7498,7503,7508,7513,7517,7522,7526,7531],{"type":375,"tag":1228,"props":7364,"children":7365},{"style":1235},[7366],{"type":384,"value":7367},"      const",{"type":375,"tag":1228,"props":7369,"children":7370},{"style":1282},[7371],{"type":384,"value":7372}," re",{"type":375,"tag":1228,"props":7374,"children":7375},{"style":1235},[7376],{"type":384,"value":1290},{"type":375,"tag":1228,"props":7378,"children":7379},{"style":1235},[7380],{"type":384,"value":1295},{"type":375,"tag":1228,"props":7382,"children":7383},{"style":1298},[7384],{"type":384,"value":7385}," RegExp",{"type":375,"tag":1228,"props":7387,"children":7388},{"style":1241},[7389],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7391,"children":7392},{"style":1252},[7393],{"type":384,"value":7394},"`^${",{"type":375,"tag":1228,"props":7396,"children":7397},{"style":1241},[7398],{"type":384,"value":376},{"type":375,"tag":1228,"props":7400,"children":7401},{"style":1252},[7402],{"type":384,"value":433},{"type":375,"tag":1228,"props":7404,"children":7405},{"style":1298},[7406],{"type":384,"value":3568},{"type":375,"tag":1228,"props":7408,"children":7409},{"style":1252},[7410],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7412,"children":7413},{"style":1252},[7414],{"type":384,"value":7237},{"type":375,"tag":1228,"props":7416,"children":7417},{"style":1252},[7418],{"type":384,"value":3512},{"type":375,"tag":1228,"props":7420,"children":7421},{"style":1298},[7422],{"type":384,"value":1809},{"type":375,"tag":1228,"props":7424,"children":7425},{"style":1252},[7426],{"type":384,"value":3591},{"type":375,"tag":1228,"props":7428,"children":7429},{"style":1282},[7430],{"type":384,"value":7431},"s",{"type":375,"tag":1228,"props":7433,"children":7434},{"style":1252},[7435],{"type":384,"value":3601},{"type":375,"tag":1228,"props":7437,"children":7438},{"style":1235},[7439],{"type":384,"value":3606},{"type":375,"tag":1228,"props":7441,"children":7442},{"style":1241},[7443],{"type":384,"value":7444}," s",{"type":375,"tag":1228,"props":7446,"children":7447},{"style":1252},[7448],{"type":384,"value":433},{"type":375,"tag":1228,"props":7450,"children":7451},{"style":1298},[7452],{"type":384,"value":5283},{"type":375,"tag":1228,"props":7454,"children":7455},{"style":1252},[7456],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7458,"children":7459},{"style":1252},[7460],{"type":384,"value":4660},{"type":375,"tag":1228,"props":7462,"children":7463},{"style":1282},[7464],{"type":384,"value":7465},"[.+?^${}()|[",{"type":375,"tag":1228,"props":7467,"children":7469},{"style":7468},"--shiki-default:#85E89D;--shiki-default-font-weight:bold",[7470],{"type":384,"value":7471},"\\]\\\\",{"type":375,"tag":1228,"props":7473,"children":7474},{"style":1282},[7475],{"type":384,"value":1824},{"type":375,"tag":1228,"props":7477,"children":7478},{"style":1252},[7479],{"type":384,"value":4660},{"type":375,"tag":1228,"props":7481,"children":7482},{"style":1235},[7483],{"type":384,"value":7484},"g",{"type":375,"tag":1228,"props":7486,"children":7487},{"style":1252},[7488],{"type":384,"value":1853},{"type":375,"tag":1228,"props":7490,"children":7491},{"style":1252},[7492],{"type":384,"value":2161},{"type":375,"tag":1228,"props":7494,"children":7495},{"style":1282},[7496],{"type":384,"value":7497},"\\\\",{"type":375,"tag":1228,"props":7499,"children":7500},{"style":1252},[7501],{"type":384,"value":7502},"$&\"",{"type":375,"tag":1228,"props":7504,"children":7505},{"style":1252},[7506],{"type":384,"value":7507},")).",{"type":375,"tag":1228,"props":7509,"children":7510},{"style":1298},[7511],{"type":384,"value":7512},"join",{"type":375,"tag":1228,"props":7514,"children":7515},{"style":1252},[7516],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7518,"children":7519},{"style":1252},[7520],{"type":384,"value":7521},"\".*\"",{"type":375,"tag":1228,"props":7523,"children":7524},{"style":1252},[7525],{"type":384,"value":4742},{"type":375,"tag":1228,"props":7527,"children":7528},{"style":1252},[7529],{"type":384,"value":7530},"}$`",{"type":375,"tag":1228,"props":7532,"children":7533},{"style":1241},[7534],{"type":384,"value":1634},{"type":375,"tag":1228,"props":7536,"children":7538},{"class":1230,"line":7537},73,[7539,7544,7548,7552,7556,7560,7564,7568,7573,7577],{"type":375,"tag":1228,"props":7540,"children":7541},{"style":1235},[7542],{"type":384,"value":7543},"      return",{"type":375,"tag":1228,"props":7545,"children":7546},{"style":1241},[7547],{"type":384,"value":7067},{"type":375,"tag":1228,"props":7549,"children":7550},{"style":1298},[7551],{"type":384,"value":642},{"type":375,"tag":1228,"props":7553,"children":7554},{"style":1241},[7555],{"type":384,"value":3591},{"type":375,"tag":1228,"props":7557,"children":7558},{"style":3276},[7559],{"type":384,"value":5635},{"type":375,"tag":1228,"props":7561,"children":7562},{"style":1241},[7563],{"type":384,"value":3601},{"type":375,"tag":1228,"props":7565,"children":7566},{"style":1235},[7567],{"type":384,"value":3606},{"type":375,"tag":1228,"props":7569,"children":7570},{"style":1241},[7571],{"type":384,"value":7572}," re.",{"type":375,"tag":1228,"props":7574,"children":7575},{"style":1298},[7576],{"type":384,"value":5443},{"type":375,"tag":1228,"props":7578,"children":7579},{"style":1241},[7580],{"type":384,"value":7581},"(name));\n",{"type":375,"tag":1228,"props":7583,"children":7585},{"class":1230,"line":7584},74,[7586],{"type":375,"tag":1228,"props":7587,"children":7588},{"style":1241},[7589],{"type":384,"value":7590},"    }))];\n",{"type":375,"tag":1228,"props":7592,"children":7594},{"class":1230,"line":7593},75,[7595],{"type":375,"tag":1228,"props":7596,"children":7597},{"style":1241},[7598],{"type":384,"value":7599},"  };\n",{"type":375,"tag":1228,"props":7601,"children":7603},{"class":1230,"line":7602},76,[7604,7608,7612,7616,7621,7625,7629,7633],{"type":375,"tag":1228,"props":7605,"children":7606},{"style":1235},[7607],{"type":384,"value":6599},{"type":375,"tag":1228,"props":7609,"children":7610},{"style":1241},[7611],{"type":384,"value":2833},{"type":375,"tag":1228,"props":7613,"children":7614},{"style":1235},[7615],{"type":384,"value":1279},{"type":375,"tag":1228,"props":7617,"children":7618},{"style":1282},[7619],{"type":384,"value":7620}," tenant",{"type":375,"tag":1228,"props":7622,"children":7623},{"style":1235},[7624],{"type":384,"value":6837},{"type":375,"tag":1228,"props":7626,"children":7627},{"style":1235},[7628],{"type":384,"value":2429},{"type":375,"tag":1228,"props":7630,"children":7631},{"style":1298},[7632],{"type":384,"value":6356},{"type":375,"tag":1228,"props":7634,"children":7635},{"style":1241},[7636],{"type":384,"value":7637},"()) {\n",{"type":375,"tag":1228,"props":7639,"children":7641},{"class":1230,"line":7640},77,[7642,7646,7651,7655,7660,7664,7668],{"type":375,"tag":1228,"props":7643,"children":7644},{"style":1235},[7645],{"type":384,"value":3619},{"type":375,"tag":1228,"props":7647,"children":7648},{"style":1282},[7649],{"type":384,"value":7650}," consumer",{"type":375,"tag":1228,"props":7652,"children":7653},{"style":1235},[7654],{"type":384,"value":1290},{"type":375,"tag":1228,"props":7656,"children":7657},{"style":1241},[7658],{"type":384,"value":7659}," { id: tenant.id, name: tenant.name, endpoints: [] ",{"type":375,"tag":1228,"props":7661,"children":7662},{"style":1235},[7663],{"type":384,"value":6315},{"type":375,"tag":1228,"props":7665,"children":7666},{"style":1298},[7667],{"type":384,"value":4936},{"type":375,"tag":1228,"props":7669,"children":7670},{"style":1241},[7671],{"type":384,"value":7672},"[] };\n",{"type":375,"tag":1228,"props":7674,"children":7676},{"class":1230,"line":7675},78,[7677,7681,7685,7689,7693,7698,7702,7706,7710,7714,7718,7722,7726,7731,7736,7740,7745,7749,7753,7757,7762],{"type":375,"tag":1228,"props":7678,"children":7679},{"style":1235},[7680],{"type":384,"value":3619},{"type":375,"tag":1228,"props":7682,"children":7683},{"style":1241},[7684],{"type":384,"value":5630},{"type":375,"tag":1228,"props":7686,"children":7687},{"style":3276},[7688],{"type":384,"value":5922},{"type":375,"tag":1228,"props":7690,"children":7691},{"style":1241},[7692],{"type":384,"value":1844},{"type":375,"tag":1228,"props":7694,"children":7695},{"style":1282},[7696],{"type":384,"value":7697},"destinations",{"type":375,"tag":1228,"props":7699,"children":7700},{"style":1241},[7701],{"type":384,"value":6633},{"type":375,"tag":1228,"props":7703,"children":7704},{"style":1235},[7705],{"type":384,"value":3985},{"type":375,"tag":1228,"props":7707,"children":7708},{"style":1235},[7709],{"type":384,"value":2429},{"type":375,"tag":1228,"props":7711,"children":7712},{"style":1298},[7713],{"type":384,"value":1285},{"type":375,"tag":1228,"props":7715,"children":7716},{"style":1241},[7717],{"type":384,"value":5039},{"type":375,"tag":1228,"props":7719,"children":7720},{"style":1282},[7721],{"type":384,"value":1829},{"type":375,"tag":1228,"props":7723,"children":7724},{"style":1241},[7725],{"type":384,"value":7039},{"type":375,"tag":1228,"props":7727,"children":7728},{"style":1252},[7729],{"type":384,"value":7730},"`/tenants/${",{"type":375,"tag":1228,"props":7732,"children":7733},{"style":1298},[7734],{"type":384,"value":7735},"encodeURIComponent",{"type":375,"tag":1228,"props":7737,"children":7738},{"style":1252},[7739],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7741,"children":7742},{"style":1241},[7743],{"type":384,"value":7744},"tenant",{"type":375,"tag":1228,"props":7746,"children":7747},{"style":1252},[7748],{"type":384,"value":433},{"type":375,"tag":1228,"props":7750,"children":7751},{"style":1241},[7752],{"type":384,"value":730},{"type":375,"tag":1228,"props":7754,"children":7755},{"style":1252},[7756],{"type":384,"value":4742},{"type":375,"tag":1228,"props":7758,"children":7759},{"style":1252},[7760],{"type":384,"value":7761},"}/destinations`",{"type":375,"tag":1228,"props":7763,"children":7764},{"style":1241},[7765],{"type":384,"value":1634},{"type":375,"tag":1228,"props":7767,"children":7769},{"class":1230,"line":7768},79,[7770,7774,7778,7782,7787,7791],{"type":375,"tag":1228,"props":7771,"children":7772},{"style":1235},[7773],{"type":384,"value":6819},{"type":375,"tag":1228,"props":7775,"children":7776},{"style":1241},[7777],{"type":384,"value":2833},{"type":375,"tag":1228,"props":7779,"children":7780},{"style":1235},[7781],{"type":384,"value":1279},{"type":375,"tag":1228,"props":7783,"children":7784},{"style":1282},[7785],{"type":384,"value":7786}," d",{"type":375,"tag":1228,"props":7788,"children":7789},{"style":1235},[7790],{"type":384,"value":6837},{"type":375,"tag":1228,"props":7792,"children":7793},{"style":1241},[7794],{"type":384,"value":7795}," destinations) {\n",{"type":375,"tag":1228,"props":7797,"children":7799},{"class":1230,"line":7798},80,[7800,7804,7809,7813,7818],{"type":375,"tag":1228,"props":7801,"children":7802},{"style":1235},[7803],{"type":384,"value":7320},{"type":375,"tag":1228,"props":7805,"children":7806},{"style":1241},[7807],{"type":384,"value":7808}," (d.type ",{"type":375,"tag":1228,"props":7810,"children":7811},{"style":1235},[7812],{"type":384,"value":5236},{"type":375,"tag":1228,"props":7814,"children":7815},{"style":1252},[7816],{"type":384,"value":7817}," \"webhook\"",{"type":375,"tag":1228,"props":7819,"children":7820},{"style":1241},[7821],{"type":384,"value":3292},{"type":375,"tag":1228,"props":7823,"children":7825},{"class":1230,"line":7824},81,[7826,7831,7835,7839,7843,7847,7851,7855,7859,7864,7868,7872,7877,7881,7885,7889,7894],{"type":375,"tag":1228,"props":7827,"children":7828},{"style":1241},[7829],{"type":384,"value":7830},"        plan.warnings.",{"type":375,"tag":1228,"props":7832,"children":7833},{"style":1298},[7834],{"type":384,"value":6847},{"type":375,"tag":1228,"props":7836,"children":7837},{"style":1241},[7838],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7840,"children":7841},{"style":1252},[7842],{"type":384,"value":4798},{"type":375,"tag":1228,"props":7844,"children":7845},{"style":1241},[7846],{"type":384,"value":7744},{"type":375,"tag":1228,"props":7848,"children":7849},{"style":1252},[7850],{"type":384,"value":433},{"type":375,"tag":1228,"props":7852,"children":7853},{"style":1241},[7854],{"type":384,"value":730},{"type":375,"tag":1228,"props":7856,"children":7857},{"style":1252},[7858],{"type":384,"value":6231},{"type":375,"tag":1228,"props":7860,"children":7861},{"style":1241},[7862],{"type":384,"value":7863},"d",{"type":375,"tag":1228,"props":7865,"children":7866},{"style":1252},[7867],{"type":384,"value":433},{"type":375,"tag":1228,"props":7869,"children":7870},{"style":1241},[7871],{"type":384,"value":4931},{"type":375,"tag":1228,"props":7873,"children":7874},{"style":1252},[7875],{"type":384,"value":7876},"} destination ${",{"type":375,"tag":1228,"props":7878,"children":7879},{"style":1241},[7880],{"type":384,"value":7863},{"type":375,"tag":1228,"props":7882,"children":7883},{"style":1252},[7884],{"type":384,"value":433},{"type":375,"tag":1228,"props":7886,"children":7887},{"style":1241},[7888],{"type":384,"value":730},{"type":375,"tag":1228,"props":7890,"children":7891},{"style":1252},[7892],{"type":384,"value":7893},"} skipped (only HTTPS endpoints are supported)`",{"type":375,"tag":1228,"props":7895,"children":7896},{"style":1241},[7897],{"type":384,"value":1634},{"type":375,"tag":1228,"props":7899,"children":7901},{"class":1230,"line":7900},82,[7902,7907],{"type":375,"tag":1228,"props":7903,"children":7904},{"style":1235},[7905],{"type":384,"value":7906},"        continue",{"type":375,"tag":1228,"props":7908,"children":7909},{"style":1241},[7910],{"type":384,"value":1260},{"type":375,"tag":1228,"props":7912,"children":7914},{"class":1230,"line":7913},83,[7915],{"type":375,"tag":1228,"props":7916,"children":7917},{"style":1241},[7918],{"type":384,"value":7919},"      }\n",{"type":375,"tag":1228,"props":7921,"children":7923},{"class":1230,"line":7922},84,[7924,7928,7933,7937,7941,7945,7949,7953,7957,7961,7965,7969,7974,7978,7982,7987],{"type":375,"tag":1228,"props":7925,"children":7926},{"style":1235},[7927],{"type":384,"value":7320},{"type":375,"tag":1228,"props":7929,"children":7930},{"style":1241},[7931],{"type":384,"value":7932}," (d.filter) plan.warnings.",{"type":375,"tag":1228,"props":7934,"children":7935},{"style":1298},[7936],{"type":384,"value":6847},{"type":375,"tag":1228,"props":7938,"children":7939},{"style":1241},[7940],{"type":384,"value":1739},{"type":375,"tag":1228,"props":7942,"children":7943},{"style":1252},[7944],{"type":384,"value":4798},{"type":375,"tag":1228,"props":7946,"children":7947},{"style":1241},[7948],{"type":384,"value":7744},{"type":375,"tag":1228,"props":7950,"children":7951},{"style":1252},[7952],{"type":384,"value":433},{"type":375,"tag":1228,"props":7954,"children":7955},{"style":1241},[7956],{"type":384,"value":730},{"type":375,"tag":1228,"props":7958,"children":7959},{"style":1252},[7960],{"type":384,"value":6249},{"type":375,"tag":1228,"props":7962,"children":7963},{"style":1241},[7964],{"type":384,"value":7863},{"type":375,"tag":1228,"props":7966,"children":7967},{"style":1252},[7968],{"type":384,"value":433},{"type":375,"tag":1228,"props":7970,"children":7971},{"style":1241},[7972],{"type":384,"value":7973},"config",{"type":375,"tag":1228,"props":7975,"children":7976},{"style":1252},[7977],{"type":384,"value":433},{"type":375,"tag":1228,"props":7979,"children":7980},{"style":1241},[7981],{"type":384,"value":4189},{"type":375,"tag":1228,"props":7983,"children":7984},{"style":1252},[7985],{"type":384,"value":7986},"}: has a filter; recreate it as a Function`",{"type":375,"tag":1228,"props":7988,"children":7989},{"style":1241},[7990],{"type":384,"value":1634},{"type":375,"tag":1228,"props":7992,"children":7994},{"class":1230,"line":7993},85,[7995,7999,8003,8007,8011],{"type":375,"tag":1228,"props":7996,"children":7997},{"style":1235},[7998],{"type":384,"value":7367},{"type":375,"tag":1228,"props":8000,"children":8001},{"style":1282},[8002],{"type":384,"value":2592},{"type":375,"tag":1228,"props":8004,"children":8005},{"style":1235},[8006],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8008,"children":8009},{"style":1298},[8010],{"type":384,"value":5167},{"type":375,"tag":1228,"props":8012,"children":8013},{"style":1241},[8014],{"type":384,"value":8015},"(d.credentials?.secret);\n",{"type":375,"tag":1228,"props":8017,"children":8019},{"class":1230,"line":8018},86,[8020,8024,8028,8032,8037,8041,8045,8049,8053,8057,8061,8065,8069,8073,8077,8082],{"type":375,"tag":1228,"props":8021,"children":8022},{"style":1235},[8023],{"type":384,"value":7320},{"type":375,"tag":1228,"props":8025,"children":8026},{"style":1241},[8027],{"type":384,"value":2833},{"type":375,"tag":1228,"props":8029,"children":8030},{"style":1235},[8031],{"type":384,"value":3417},{"type":375,"tag":1228,"props":8033,"children":8034},{"style":1241},[8035],{"type":384,"value":8036},"secret) plan.warnings.",{"type":375,"tag":1228,"props":8038,"children":8039},{"style":1298},[8040],{"type":384,"value":6847},{"type":375,"tag":1228,"props":8042,"children":8043},{"style":1241},[8044],{"type":384,"value":1739},{"type":375,"tag":1228,"props":8046,"children":8047},{"style":1252},[8048],{"type":384,"value":4798},{"type":375,"tag":1228,"props":8050,"children":8051},{"style":1241},[8052],{"type":384,"value":7744},{"type":375,"tag":1228,"props":8054,"children":8055},{"style":1252},[8056],{"type":384,"value":433},{"type":375,"tag":1228,"props":8058,"children":8059},{"style":1241},[8060],{"type":384,"value":730},{"type":375,"tag":1228,"props":8062,"children":8063},{"style":1252},[8064],{"type":384,"value":7876},{"type":375,"tag":1228,"props":8066,"children":8067},{"style":1241},[8068],{"type":384,"value":7863},{"type":375,"tag":1228,"props":8070,"children":8071},{"style":1252},[8072],{"type":384,"value":433},{"type":375,"tag":1228,"props":8074,"children":8075},{"style":1241},[8076],{"type":384,"value":730},{"type":375,"tag":1228,"props":8078,"children":8079},{"style":1252},[8080],{"type":384,"value":8081},"}: secret doesn't fit the import format; the endpoint gets a new one`",{"type":375,"tag":1228,"props":8083,"children":8084},{"style":1241},[8085],{"type":384,"value":1634},{"type":375,"tag":1228,"props":8087,"children":8089},{"class":1230,"line":8088},87,[8090,8094,8099,8103,8108,8112,8117,8121,8126,8131,8135],{"type":375,"tag":1228,"props":8091,"children":8092},{"style":1235},[8093],{"type":384,"value":7367},{"type":375,"tag":1228,"props":8095,"children":8096},{"style":1282},[8097],{"type":384,"value":8098}," custom",{"type":375,"tag":1228,"props":8100,"children":8101},{"style":1235},[8102],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8104,"children":8105},{"style":1241},[8106],{"type":384,"value":8107}," d.config.custom_headers ",{"type":375,"tag":1228,"props":8109,"children":8110},{"style":1235},[8111],{"type":384,"value":6745},{"type":375,"tag":1228,"props":8113,"children":8114},{"style":1282},[8115],{"type":384,"value":8116}," JSON",{"type":375,"tag":1228,"props":8118,"children":8119},{"style":1241},[8120],{"type":384,"value":433},{"type":375,"tag":1228,"props":8122,"children":8123},{"style":1298},[8124],{"type":384,"value":8125},"parse",{"type":375,"tag":1228,"props":8127,"children":8128},{"style":1241},[8129],{"type":384,"value":8130},"(d.config.custom_headers) ",{"type":375,"tag":1228,"props":8132,"children":8133},{"style":1235},[8134],{"type":384,"value":1212},{"type":375,"tag":1228,"props":8136,"children":8137},{"style":1241},[8138],{"type":384,"value":8139}," {};\n",{"type":375,"tag":1228,"props":8141,"children":8143},{"class":1230,"line":8142},88,[8144,8148,8153,8157,8162,8167,8172,8177,8182,8186,8191,8196,8201,8205,8209,8214,8218,8222,8227,8231,8235,8239,8243,8247,8251],{"type":375,"tag":1228,"props":8145,"children":8146},{"style":1235},[8147],{"type":384,"value":7367},{"type":375,"tag":1228,"props":8149,"children":8150},{"style":1282},[8151],{"type":384,"value":8152}," headers",{"type":375,"tag":1228,"props":8154,"children":8155},{"style":1235},[8156],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8158,"children":8159},{"style":1241},[8160],{"type":384,"value":8161}," Object.",{"type":375,"tag":1228,"props":8163,"children":8164},{"style":1298},[8165],{"type":384,"value":8166},"fromEntries",{"type":375,"tag":1228,"props":8168,"children":8169},{"style":1241},[8170],{"type":384,"value":8171},"(Object.",{"type":375,"tag":1228,"props":8173,"children":8174},{"style":1298},[8175],{"type":384,"value":8176},"entries",{"type":375,"tag":1228,"props":8178,"children":8179},{"style":1241},[8180],{"type":384,"value":8181},"(custom).",{"type":375,"tag":1228,"props":8183,"children":8184},{"style":1298},[8185],{"type":384,"value":642},{"type":375,"tag":1228,"props":8187,"children":8188},{"style":1241},[8189],{"type":384,"value":8190},"(([",{"type":375,"tag":1228,"props":8192,"children":8193},{"style":3276},[8194],{"type":384,"value":8195},"k",{"type":375,"tag":1228,"props":8197,"children":8198},{"style":1241},[8199],{"type":384,"value":8200},"]) ",{"type":375,"tag":1228,"props":8202,"children":8203},{"style":1235},[8204],{"type":384,"value":3606},{"type":375,"tag":1228,"props":8206,"children":8207},{"style":1235},[8208],{"type":384,"value":5412},{"type":375,"tag":1228,"props":8210,"children":8211},{"style":1282},[8212],{"type":384,"value":8213},"RESERVED",{"type":375,"tag":1228,"props":8215,"children":8216},{"style":1241},[8217],{"type":384,"value":433},{"type":375,"tag":1228,"props":8219,"children":8220},{"style":1298},[8221],{"type":384,"value":5443},{"type":375,"tag":1228,"props":8223,"children":8224},{"style":1241},[8225],{"type":384,"value":8226},"(k))) ",{"type":375,"tag":1228,"props":8228,"children":8229},{"style":1235},[8230],{"type":384,"value":6315},{"type":375,"tag":1228,"props":8232,"children":8233},{"style":1298},[8234],{"type":384,"value":5034},{"type":375,"tag":1228,"props":8236,"children":8237},{"style":1241},[8238],{"type":384,"value":5039},{"type":375,"tag":1228,"props":8240,"children":8241},{"style":1282},[8242],{"type":384,"value":1819},{"type":375,"tag":1228,"props":8244,"children":8245},{"style":1241},[8246],{"type":384,"value":1853},{"type":375,"tag":1228,"props":8248,"children":8249},{"style":1282},[8250],{"type":384,"value":1819},{"type":375,"tag":1228,"props":8252,"children":8253},{"style":1241},[8254],{"type":384,"value":8255},">;\n",{"type":375,"tag":1228,"props":8257,"children":8259},{"class":1230,"line":8258},89,[8260,8265,8269],{"type":375,"tag":1228,"props":8261,"children":8262},{"style":1241},[8263],{"type":384,"value":8264},"      consumer.endpoints.",{"type":375,"tag":1228,"props":8266,"children":8267},{"style":1298},[8268],{"type":384,"value":6847},{"type":375,"tag":1228,"props":8270,"children":8271},{"style":1241},[8272],{"type":384,"value":1347},{"type":375,"tag":1228,"props":8274,"children":8276},{"class":1230,"line":8275},90,[8277,8282,8287],{"type":375,"tag":1228,"props":8278,"children":8279},{"style":1241},[8280],{"type":384,"value":8281},"        sourceId: d.id, url: d.config.url, eventTypes: ",{"type":375,"tag":1228,"props":8283,"children":8284},{"style":1298},[8285],{"type":384,"value":8286},"expand",{"type":375,"tag":1228,"props":8288,"children":8289},{"style":1241},[8290],{"type":384,"value":8291},"(d.topics), headers,\n",{"type":375,"tag":1228,"props":8293,"children":8295},{"class":1230,"line":8294},91,[8296,8301,8306],{"type":375,"tag":1228,"props":8297,"children":8298},{"style":1241},[8299],{"type":384,"value":8300},"        disabledAtSource: ",{"type":375,"tag":1228,"props":8302,"children":8303},{"style":1298},[8304],{"type":384,"value":8305},"Boolean",{"type":375,"tag":1228,"props":8307,"children":8308},{"style":1241},[8309],{"type":384,"value":8310},"(d.disabled_at), secret,\n",{"type":375,"tag":1228,"props":8312,"children":8314},{"class":1230,"line":8313},92,[8315],{"type":375,"tag":1228,"props":8316,"children":8317},{"style":1241},[8318],{"type":384,"value":8319},"      });\n",{"type":375,"tag":1228,"props":8321,"children":8323},{"class":1230,"line":8322},93,[8324],{"type":375,"tag":1228,"props":8325,"children":8326},{"style":1241},[8327],{"type":384,"value":8328},"    }\n",{"type":375,"tag":1228,"props":8330,"children":8332},{"class":1230,"line":8331},94,[8333,8338,8342],{"type":375,"tag":1228,"props":8334,"children":8335},{"style":1241},[8336],{"type":384,"value":8337},"    plan.consumers.",{"type":375,"tag":1228,"props":8339,"children":8340},{"style":1298},[8341],{"type":384,"value":6847},{"type":375,"tag":1228,"props":8343,"children":8344},{"style":1241},[8345],{"type":384,"value":8346},"(consumer);\n",{"type":375,"tag":1228,"props":8348,"children":8350},{"class":1230,"line":8349},95,[8351],{"type":375,"tag":1228,"props":8352,"children":8353},{"style":1241},[8354],{"type":384,"value":3365},{"type":375,"tag":1228,"props":8356,"children":8358},{"class":1230,"line":8357},96,[8359,8363],{"type":375,"tag":1228,"props":8360,"children":8361},{"style":1235},[8362],{"type":384,"value":3540},{"type":375,"tag":1228,"props":8364,"children":8365},{"style":1241},[8366],{"type":384,"value":8367}," plan;\n",{"type":375,"tag":1228,"props":8369,"children":8371},{"class":1230,"line":8370},97,[8372],{"type":375,"tag":1228,"props":8373,"children":8374},{"style":1241},[8375],{"type":384,"value":3719},{"type":375,"tag":1228,"props":8377,"children":8379},{"class":1230,"line":8378},98,[8380],{"type":375,"tag":1228,"props":8381,"children":8382},{"emptyLinePlaceholder":1267},[8383],{"type":384,"value":1270},{"type":375,"tag":1228,"props":8385,"children":8387},{"class":1230,"line":8386},99,[8388],{"type":375,"tag":1228,"props":8389,"children":8390},{"style":1527},[8391],{"type":384,"value":8392},"// ---- 2. Check access and limits before writing anything ----\n",{"type":375,"tag":1228,"props":8394,"children":8396},{"class":1230,"line":8395},100,[8397,8401,8405,8410,8414,8419,8423,8427],{"type":375,"tag":1228,"props":8398,"children":8399},{"style":1235},[8400],{"type":384,"value":5804},{"type":375,"tag":1228,"props":8402,"children":8403},{"style":1235},[8404],{"type":384,"value":3264},{"type":375,"tag":1228,"props":8406,"children":8407},{"style":1298},[8408],{"type":384,"value":8409}," checkPlan",{"type":375,"tag":1228,"props":8411,"children":8412},{"style":1241},[8413],{"type":384,"value":1739},{"type":375,"tag":1228,"props":8415,"children":8416},{"style":3276},[8417],{"type":384,"value":8418},"plan",{"type":375,"tag":1228,"props":8420,"children":8421},{"style":1235},[8422],{"type":384,"value":1212},{"type":375,"tag":1228,"props":8424,"children":8425},{"style":1298},[8426],{"type":384,"value":5604},{"type":375,"tag":1228,"props":8428,"children":8429},{"style":1241},[8430],{"type":384,"value":3292},{"type":375,"tag":1228,"props":8432,"children":8434},{"class":1230,"line":8433},101,[8435,8439,8443,8447,8451,8455,8459,8464,8469,8474],{"type":375,"tag":1228,"props":8436,"children":8437},{"style":1235},[8438],{"type":384,"value":3373},{"type":375,"tag":1228,"props":8440,"children":8441},{"style":1282},[8442],{"type":384,"value":5988},{"type":375,"tag":1228,"props":8444,"children":8445},{"style":1235},[8446],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8448,"children":8449},{"style":1235},[8450],{"type":384,"value":2429},{"type":375,"tag":1228,"props":8452,"children":8453},{"style":1298},[8454],{"type":384,"value":6001},{"type":375,"tag":1228,"props":8456,"children":8457},{"style":1241},[8458],{"type":384,"value":1739},{"type":375,"tag":1228,"props":8460,"children":8461},{"style":1252},[8462],{"type":384,"value":8463},"\"https://my.webhookrelay.com/v1/outbound/access\"",{"type":375,"tag":1228,"props":8465,"children":8466},{"style":1241},[8467],{"type":384,"value":8468},", { headers: { Authorization: ",{"type":375,"tag":1228,"props":8470,"children":8471},{"style":1282},[8472],{"type":384,"value":8473},"RELAY_AUTH",{"type":375,"tag":1228,"props":8475,"children":8476},{"style":1241},[8477],{"type":384,"value":8478}," } });\n",{"type":375,"tag":1228,"props":8480,"children":8482},{"class":1230,"line":8481},102,[8483,8487,8492,8496,8500,8504,8508],{"type":375,"tag":1228,"props":8484,"children":8485},{"style":1235},[8486],{"type":384,"value":3373},{"type":375,"tag":1228,"props":8488,"children":8489},{"style":1282},[8490],{"type":384,"value":8491}," access",{"type":375,"tag":1228,"props":8493,"children":8494},{"style":1235},[8495],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8497,"children":8498},{"style":1235},[8499],{"type":384,"value":2429},{"type":375,"tag":1228,"props":8501,"children":8502},{"style":1241},[8503],{"type":384,"value":6300},{"type":375,"tag":1228,"props":8505,"children":8506},{"style":1298},[8507],{"type":384,"value":6305},{"type":375,"tag":1228,"props":8509,"children":8510},{"style":1241},[8511],{"type":384,"value":3532},{"type":375,"tag":1228,"props":8513,"children":8515},{"class":1230,"line":8514},103,[8516,8520,8524,8528,8533,8537,8541,8545,8549,8554],{"type":375,"tag":1228,"props":8517,"children":8518},{"style":1235},[8519],{"type":384,"value":3300},{"type":375,"tag":1228,"props":8521,"children":8522},{"style":1241},[8523],{"type":384,"value":2833},{"type":375,"tag":1228,"props":8525,"children":8526},{"style":1235},[8527],{"type":384,"value":3417},{"type":375,"tag":1228,"props":8529,"children":8530},{"style":1241},[8531],{"type":384,"value":8532},"access.enabled) ",{"type":375,"tag":1228,"props":8534,"children":8535},{"style":1235},[8536],{"type":384,"value":6204},{"type":375,"tag":1228,"props":8538,"children":8539},{"style":1235},[8540],{"type":384,"value":1295},{"type":375,"tag":1228,"props":8542,"children":8543},{"style":1298},[8544],{"type":384,"value":6213},{"type":375,"tag":1228,"props":8546,"children":8547},{"style":1241},[8548],{"type":384,"value":1739},{"type":375,"tag":1228,"props":8550,"children":8551},{"style":1252},[8552],{"type":384,"value":8553},"\"The Outbound Gateway isn't available on this account: upgrade to Basic or above.\"",{"type":375,"tag":1228,"props":8555,"children":8556},{"style":1241},[8557],{"type":384,"value":1634},{"type":375,"tag":1228,"props":8559,"children":8561},{"class":1230,"line":8560},104,[8562,8566,8571,8575,8580,8584,8588,8593,8597,8601,8605,8610,8614,8618,8622,8626,8630,8634],{"type":375,"tag":1228,"props":8563,"children":8564},{"style":1235},[8565],{"type":384,"value":3373},{"type":375,"tag":1228,"props":8567,"children":8568},{"style":1282},[8569],{"type":384,"value":8570}," limits",{"type":375,"tag":1228,"props":8572,"children":8573},{"style":1235},[8574],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8576,"children":8577},{"style":1241},[8578],{"type":384,"value":8579}," access.limits ",{"type":375,"tag":1228,"props":8581,"children":8582},{"style":1235},[8583],{"type":384,"value":6315},{"type":375,"tag":1228,"props":8585,"children":8586},{"style":1241},[8587],{"type":384,"value":5630},{"type":375,"tag":1228,"props":8589,"children":8590},{"style":3276},[8591],{"type":384,"value":8592},"consumers",{"type":375,"tag":1228,"props":8594,"children":8595},{"style":1235},[8596],{"type":384,"value":1212},{"type":375,"tag":1228,"props":8598,"children":8599},{"style":1282},[8600],{"type":384,"value":5070},{"type":375,"tag":1228,"props":8602,"children":8603},{"style":1241},[8604],{"type":384,"value":3239},{"type":375,"tag":1228,"props":8606,"children":8607},{"style":3276},[8608],{"type":384,"value":8609},"endpoints_per_consumer",{"type":375,"tag":1228,"props":8611,"children":8612},{"style":1235},[8613],{"type":384,"value":1212},{"type":375,"tag":1228,"props":8615,"children":8616},{"style":1282},[8617],{"type":384,"value":5070},{"type":375,"tag":1228,"props":8619,"children":8620},{"style":1241},[8621],{"type":384,"value":3239},{"type":375,"tag":1228,"props":8623,"children":8624},{"style":3276},[8625],{"type":384,"value":4229},{"type":375,"tag":1228,"props":8627,"children":8628},{"style":1235},[8629],{"type":384,"value":1212},{"type":375,"tag":1228,"props":8631,"children":8632},{"style":1282},[8633],{"type":384,"value":5070},{"type":375,"tag":1228,"props":8635,"children":8636},{"style":1241},[8637],{"type":384,"value":6178},{"type":375,"tag":1228,"props":8639,"children":8641},{"class":1230,"line":8640},105,[8642],{"type":375,"tag":1228,"props":8643,"children":8644},{"emptyLinePlaceholder":1267},[8645],{"type":384,"value":1270},{"type":375,"tag":1228,"props":8647,"children":8649},{"class":1230,"line":8648},106,[8650,8654,8659,8663,8667,8671,8675,8679,8683,8688,8693,8697,8701,8706,8710,8714],{"type":375,"tag":1228,"props":8651,"children":8652},{"style":1235},[8653],{"type":384,"value":3373},{"type":375,"tag":1228,"props":8655,"children":8656},{"style":1282},[8657],{"type":384,"value":8658}," haveConsumers",{"type":375,"tag":1228,"props":8660,"children":8661},{"style":1235},[8662],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8664,"children":8665},{"style":1235},[8666],{"type":384,"value":1295},{"type":375,"tag":1228,"props":8668,"children":8669},{"style":1298},[8670],{"type":384,"value":7281},{"type":375,"tag":1228,"props":8672,"children":8673},{"style":1241},[8674],{"type":384,"value":3591},{"type":375,"tag":1228,"props":8676,"children":8677},{"style":1235},[8678],{"type":384,"value":1333},{"type":375,"tag":1228,"props":8680,"children":8681},{"style":1241},[8682],{"type":384,"value":2382},{"type":375,"tag":1228,"props":8684,"children":8685},{"style":1298},[8686],{"type":384,"value":8687},"list",{"type":375,"tag":1228,"props":8689,"children":8690},{"style":1241},[8691],{"type":384,"value":8692},"()).",{"type":375,"tag":1228,"props":8694,"children":8695},{"style":1298},[8696],{"type":384,"value":1809},{"type":375,"tag":1228,"props":8698,"children":8699},{"style":1241},[8700],{"type":384,"value":3591},{"type":375,"tag":1228,"props":8702,"children":8703},{"style":3276},[8704],{"type":384,"value":8705},"c",{"type":375,"tag":1228,"props":8707,"children":8708},{"style":1241},[8709],{"type":384,"value":3601},{"type":375,"tag":1228,"props":8711,"children":8712},{"style":1235},[8713],{"type":384,"value":3606},{"type":375,"tag":1228,"props":8715,"children":8716},{"style":1241},[8717],{"type":384,"value":8718}," c.id));\n",{"type":375,"tag":1228,"props":8720,"children":8722},{"class":1230,"line":8721},107,[8723,8727,8732,8736,8740,8744,8748,8752,8757,8761,8765,8769,8773,8778,8782,8786],{"type":375,"tag":1228,"props":8724,"children":8725},{"style":1235},[8726],{"type":384,"value":3373},{"type":375,"tag":1228,"props":8728,"children":8729},{"style":1282},[8730],{"type":384,"value":8731}," haveTypes",{"type":375,"tag":1228,"props":8733,"children":8734},{"style":1235},[8735],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8737,"children":8738},{"style":1235},[8739],{"type":384,"value":1295},{"type":375,"tag":1228,"props":8741,"children":8742},{"style":1298},[8743],{"type":384,"value":7281},{"type":375,"tag":1228,"props":8745,"children":8746},{"style":1241},[8747],{"type":384,"value":3591},{"type":375,"tag":1228,"props":8749,"children":8750},{"style":1235},[8751],{"type":384,"value":1333},{"type":375,"tag":1228,"props":8753,"children":8754},{"style":1241},[8755],{"type":384,"value":8756}," relay.outbound.eventTypes.",{"type":375,"tag":1228,"props":8758,"children":8759},{"style":1298},[8760],{"type":384,"value":8687},{"type":375,"tag":1228,"props":8762,"children":8763},{"style":1241},[8764],{"type":384,"value":8692},{"type":375,"tag":1228,"props":8766,"children":8767},{"style":1298},[8768],{"type":384,"value":1809},{"type":375,"tag":1228,"props":8770,"children":8771},{"style":1241},[8772],{"type":384,"value":3591},{"type":375,"tag":1228,"props":8774,"children":8775},{"style":3276},[8776],{"type":384,"value":8777},"e",{"type":375,"tag":1228,"props":8779,"children":8780},{"style":1241},[8781],{"type":384,"value":3601},{"type":375,"tag":1228,"props":8783,"children":8784},{"style":1235},[8785],{"type":384,"value":3606},{"type":375,"tag":1228,"props":8787,"children":8788},{"style":1241},[8789],{"type":384,"value":8790}," e.name));\n",{"type":375,"tag":1228,"props":8792,"children":8794},{"class":1230,"line":8793},108,[8795,8799,8804,8808,8812,8816,8821,8825,8830,8834,8839,8843,8847,8851,8855,8859],{"type":375,"tag":1228,"props":8796,"children":8797},{"style":1235},[8798],{"type":384,"value":3373},{"type":375,"tag":1228,"props":8800,"children":8801},{"style":1282},[8802],{"type":384,"value":8803}," consumers",{"type":375,"tag":1228,"props":8805,"children":8806},{"style":1235},[8807],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8809,"children":8810},{"style":1235},[8811],{"type":384,"value":1295},{"type":375,"tag":1228,"props":8813,"children":8814},{"style":1298},[8815],{"type":384,"value":7281},{"type":375,"tag":1228,"props":8817,"children":8818},{"style":1241},[8819],{"type":384,"value":8820},"([",{"type":375,"tag":1228,"props":8822,"children":8823},{"style":1235},[8824],{"type":384,"value":6735},{"type":375,"tag":1228,"props":8826,"children":8827},{"style":1241},[8828],{"type":384,"value":8829},"haveConsumers, ",{"type":375,"tag":1228,"props":8831,"children":8832},{"style":1235},[8833],{"type":384,"value":6735},{"type":375,"tag":1228,"props":8835,"children":8836},{"style":1241},[8837],{"type":384,"value":8838},"plan.consumers.",{"type":375,"tag":1228,"props":8840,"children":8841},{"style":1298},[8842],{"type":384,"value":1809},{"type":375,"tag":1228,"props":8844,"children":8845},{"style":1241},[8846],{"type":384,"value":3591},{"type":375,"tag":1228,"props":8848,"children":8849},{"style":3276},[8850],{"type":384,"value":8705},{"type":375,"tag":1228,"props":8852,"children":8853},{"style":1241},[8854],{"type":384,"value":3601},{"type":375,"tag":1228,"props":8856,"children":8857},{"style":1235},[8858],{"type":384,"value":3606},{"type":375,"tag":1228,"props":8860,"children":8861},{"style":1241},[8862],{"type":384,"value":8863}," c.id)]).size;\n",{"type":375,"tag":1228,"props":8865,"children":8867},{"class":1230,"line":8866},109,[8868,8872,8877,8881,8885,8889,8893,8897,8902,8906,8911,8915,8919,8923,8927,8931],{"type":375,"tag":1228,"props":8869,"children":8870},{"style":1235},[8871],{"type":384,"value":3373},{"type":375,"tag":1228,"props":8873,"children":8874},{"style":1282},[8875],{"type":384,"value":8876}," types",{"type":375,"tag":1228,"props":8878,"children":8879},{"style":1235},[8880],{"type":384,"value":1290},{"type":375,"tag":1228,"props":8882,"children":8883},{"style":1235},[8884],{"type":384,"value":1295},{"type":375,"tag":1228,"props":8886,"children":8887},{"style":1298},[8888],{"type":384,"value":7281},{"type":375,"tag":1228,"props":8890,"children":8891},{"style":1241},[8892],{"type":384,"value":8820},{"type":375,"tag":1228,"props":8894,"children":8895},{"style":1235},[8896],{"type":384,"value":6735},{"type":375,"tag":1228,"props":8898,"children":8899},{"style":1241},[8900],{"type":384,"value":8901},"haveTypes, ",{"type":375,"tag":1228,"props":8903,"children":8904},{"style":1235},[8905],{"type":384,"value":6735},{"type":375,"tag":1228,"props":8907,"children":8908},{"style":1241},[8909],{"type":384,"value":8910},"plan.eventTypes.",{"type":375,"tag":1228,"props":8912,"children":8913},{"style":1298},[8914],{"type":384,"value":1809},{"type":375,"tag":1228,"props":8916,"children":8917},{"style":1241},[8918],{"type":384,"value":3591},{"type":375,"tag":1228,"props":8920,"children":8921},{"style":3276},[8922],{"type":384,"value":8777},{"type":375,"tag":1228,"props":8924,"children":8925},{"style":1241},[8926],{"type":384,"value":3601},{"type":375,"tag":1228,"props":8928,"children":8929},{"style":1235},[8930],{"type":384,"value":3606},{"type":375,"tag":1228,"props":8932,"children":8933},{"style":1241},[8934],{"type":384,"value":8935}," e.name)]).size;\n",{"type":375,"tag":1228,"props":8937,"children":8939},{"class":1230,"line":8938},110,[8940],{"type":375,"tag":1228,"props":8941,"children":8942},{"emptyLinePlaceholder":1267},[8943],{"type":384,"value":1270},{"type":375,"tag":1228,"props":8945,"children":8947},{"class":1230,"line":8946},111,[8948,8952,8957,8961,8965,8969,8973],{"type":375,"tag":1228,"props":8949,"children":8950},{"style":1235},[8951],{"type":384,"value":3373},{"type":375,"tag":1228,"props":8953,"children":8954},{"style":1282},[8955],{"type":384,"value":8956}," problems",{"type":375,"tag":1228,"props":8958,"children":8959},{"style":1235},[8960],{"type":384,"value":1212},{"type":375,"tag":1228,"props":8962,"children":8963},{"style":1282},[8964],{"type":384,"value":4961},{"type":375,"tag":1228,"props":8966,"children":8967},{"style":1241},[8968],{"type":384,"value":7152},{"type":375,"tag":1228,"props":8970,"children":8971},{"style":1235},[8972],{"type":384,"value":3985},{"type":375,"tag":1228,"props":8974,"children":8975},{"style":1241},[8976],{"type":384,"value":6556},{"type":375,"tag":1228,"props":8978,"children":8980},{"class":1230,"line":8979},112,[8981,8985,8990,8995,9000,9004,9008,9012,9016,9021,9026,9030,9034,9038],{"type":375,"tag":1228,"props":8982,"children":8983},{"style":1235},[8984],{"type":384,"value":3300},{"type":375,"tag":1228,"props":8986,"children":8987},{"style":1241},[8988],{"type":384,"value":8989}," (consumers ",{"type":375,"tag":1228,"props":8991,"children":8992},{"style":1235},[8993],{"type":384,"value":8994},">",{"type":375,"tag":1228,"props":8996,"children":8997},{"style":1241},[8998],{"type":384,"value":8999}," limits.consumers) problems.",{"type":375,"tag":1228,"props":9001,"children":9002},{"style":1298},[9003],{"type":384,"value":6847},{"type":375,"tag":1228,"props":9005,"children":9006},{"style":1241},[9007],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9009,"children":9010},{"style":1252},[9011],{"type":384,"value":4798},{"type":375,"tag":1228,"props":9013,"children":9014},{"style":1241},[9015],{"type":384,"value":8592},{"type":375,"tag":1228,"props":9017,"children":9018},{"style":1252},[9019],{"type":384,"value":9020},"} consumers exceed the limit of ${",{"type":375,"tag":1228,"props":9022,"children":9023},{"style":1241},[9024],{"type":384,"value":9025},"limits",{"type":375,"tag":1228,"props":9027,"children":9028},{"style":1252},[9029],{"type":384,"value":433},{"type":375,"tag":1228,"props":9031,"children":9032},{"style":1241},[9033],{"type":384,"value":8592},{"type":375,"tag":1228,"props":9035,"children":9036},{"style":1252},[9037],{"type":384,"value":4852},{"type":375,"tag":1228,"props":9039,"children":9040},{"style":1241},[9041],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9043,"children":9045},{"class":1230,"line":9044},113,[9046,9050,9055,9059,9064,9068,9072,9076,9081,9086,9090,9094,9098,9102],{"type":375,"tag":1228,"props":9047,"children":9048},{"style":1235},[9049],{"type":384,"value":3300},{"type":375,"tag":1228,"props":9051,"children":9052},{"style":1241},[9053],{"type":384,"value":9054}," (types ",{"type":375,"tag":1228,"props":9056,"children":9057},{"style":1235},[9058],{"type":384,"value":8994},{"type":375,"tag":1228,"props":9060,"children":9061},{"style":1241},[9062],{"type":384,"value":9063}," limits.event_types) problems.",{"type":375,"tag":1228,"props":9065,"children":9066},{"style":1298},[9067],{"type":384,"value":6847},{"type":375,"tag":1228,"props":9069,"children":9070},{"style":1241},[9071],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9073,"children":9074},{"style":1252},[9075],{"type":384,"value":4798},{"type":375,"tag":1228,"props":9077,"children":9078},{"style":1241},[9079],{"type":384,"value":9080},"types",{"type":375,"tag":1228,"props":9082,"children":9083},{"style":1252},[9084],{"type":384,"value":9085},"} event types exceed the limit of ${",{"type":375,"tag":1228,"props":9087,"children":9088},{"style":1241},[9089],{"type":384,"value":9025},{"type":375,"tag":1228,"props":9091,"children":9092},{"style":1252},[9093],{"type":384,"value":433},{"type":375,"tag":1228,"props":9095,"children":9096},{"style":1241},[9097],{"type":384,"value":4229},{"type":375,"tag":1228,"props":9099,"children":9100},{"style":1252},[9101],{"type":384,"value":4852},{"type":375,"tag":1228,"props":9103,"children":9104},{"style":1241},[9105],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9107,"children":9109},{"class":1230,"line":9108},114,[9110,9114,9118,9122,9127,9131,9136,9141,9145,9149,9154,9158,9162,9167,9171,9175,9180,9185,9189,9193,9198],{"type":375,"tag":1228,"props":9111,"children":9112},{"style":1235},[9113],{"type":384,"value":6599},{"type":375,"tag":1228,"props":9115,"children":9116},{"style":1241},[9117],{"type":384,"value":2833},{"type":375,"tag":1228,"props":9119,"children":9120},{"style":1235},[9121],{"type":384,"value":1279},{"type":375,"tag":1228,"props":9123,"children":9124},{"style":1282},[9125],{"type":384,"value":9126}," et",{"type":375,"tag":1228,"props":9128,"children":9129},{"style":1235},[9130],{"type":384,"value":6837},{"type":375,"tag":1228,"props":9132,"children":9133},{"style":1241},[9134],{"type":384,"value":9135}," plan.eventTypes) ",{"type":375,"tag":1228,"props":9137,"children":9138},{"style":1235},[9139],{"type":384,"value":9140},"if",{"type":375,"tag":1228,"props":9142,"children":9143},{"style":1241},[9144],{"type":384,"value":2833},{"type":375,"tag":1228,"props":9146,"children":9147},{"style":1235},[9148],{"type":384,"value":3417},{"type":375,"tag":1228,"props":9150,"children":9151},{"style":1282},[9152],{"type":384,"value":9153},"ID",{"type":375,"tag":1228,"props":9155,"children":9156},{"style":1241},[9157],{"type":384,"value":433},{"type":375,"tag":1228,"props":9159,"children":9160},{"style":1298},[9161],{"type":384,"value":5443},{"type":375,"tag":1228,"props":9163,"children":9164},{"style":1241},[9165],{"type":384,"value":9166},"(et.name)) problems.",{"type":375,"tag":1228,"props":9168,"children":9169},{"style":1298},[9170],{"type":384,"value":6847},{"type":375,"tag":1228,"props":9172,"children":9173},{"style":1241},[9174],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9176,"children":9177},{"style":1252},[9178],{"type":384,"value":9179},"`event type \"${",{"type":375,"tag":1228,"props":9181,"children":9182},{"style":1241},[9183],{"type":384,"value":9184},"et",{"type":375,"tag":1228,"props":9186,"children":9187},{"style":1252},[9188],{"type":384,"value":433},{"type":375,"tag":1228,"props":9190,"children":9191},{"style":1241},[9192],{"type":384,"value":5635},{"type":375,"tag":1228,"props":9194,"children":9195},{"style":1252},[9196],{"type":384,"value":9197},"}\" is not a valid name`",{"type":375,"tag":1228,"props":9199,"children":9200},{"style":1241},[9201],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9203,"children":9205},{"class":1230,"line":9204},115,[9206,9210,9214,9218,9223,9227],{"type":375,"tag":1228,"props":9207,"children":9208},{"style":1235},[9209],{"type":384,"value":6599},{"type":375,"tag":1228,"props":9211,"children":9212},{"style":1241},[9213],{"type":384,"value":2833},{"type":375,"tag":1228,"props":9215,"children":9216},{"style":1235},[9217],{"type":384,"value":1279},{"type":375,"tag":1228,"props":9219,"children":9220},{"style":1282},[9221],{"type":384,"value":9222}," c",{"type":375,"tag":1228,"props":9224,"children":9225},{"style":1235},[9226],{"type":384,"value":6837},{"type":375,"tag":1228,"props":9228,"children":9229},{"style":1241},[9230],{"type":384,"value":9231}," plan.consumers) {\n",{"type":375,"tag":1228,"props":9233,"children":9235},{"class":1230,"line":9234},116,[9236,9240,9244,9248,9252,9256,9260,9265,9269,9273,9278,9282,9286,9290,9295],{"type":375,"tag":1228,"props":9237,"children":9238},{"style":1235},[9239],{"type":384,"value":6768},{"type":375,"tag":1228,"props":9241,"children":9242},{"style":1241},[9243],{"type":384,"value":2833},{"type":375,"tag":1228,"props":9245,"children":9246},{"style":1235},[9247],{"type":384,"value":3417},{"type":375,"tag":1228,"props":9249,"children":9250},{"style":1282},[9251],{"type":384,"value":9153},{"type":375,"tag":1228,"props":9253,"children":9254},{"style":1241},[9255],{"type":384,"value":433},{"type":375,"tag":1228,"props":9257,"children":9258},{"style":1298},[9259],{"type":384,"value":5443},{"type":375,"tag":1228,"props":9261,"children":9262},{"style":1241},[9263],{"type":384,"value":9264},"(c.id)) problems.",{"type":375,"tag":1228,"props":9266,"children":9267},{"style":1298},[9268],{"type":384,"value":6847},{"type":375,"tag":1228,"props":9270,"children":9271},{"style":1241},[9272],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9274,"children":9275},{"style":1252},[9276],{"type":384,"value":9277},"`consumer \"${",{"type":375,"tag":1228,"props":9279,"children":9280},{"style":1241},[9281],{"type":384,"value":8705},{"type":375,"tag":1228,"props":9283,"children":9284},{"style":1252},[9285],{"type":384,"value":433},{"type":375,"tag":1228,"props":9287,"children":9288},{"style":1241},[9289],{"type":384,"value":730},{"type":375,"tag":1228,"props":9291,"children":9292},{"style":1252},[9293],{"type":384,"value":9294},"}\" is not a valid ID: map it to your own customer ID`",{"type":375,"tag":1228,"props":9296,"children":9297},{"style":1241},[9298],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9300,"children":9302},{"class":1230,"line":9301},117,[9303,9307,9312,9316,9320],{"type":375,"tag":1228,"props":9304,"children":9305},{"style":1235},[9306],{"type":384,"value":6768},{"type":375,"tag":1228,"props":9308,"children":9309},{"style":1241},[9310],{"type":384,"value":9311}," (c.endpoints.",{"type":375,"tag":1228,"props":9313,"children":9314},{"style":1282},[9315],{"type":384,"value":3668},{"type":375,"tag":1228,"props":9317,"children":9318},{"style":1235},[9319],{"type":384,"value":5397},{"type":375,"tag":1228,"props":9321,"children":9322},{"style":1241},[9323],{"type":384,"value":9324}," limits.endpoints_per_consumer)\n",{"type":375,"tag":1228,"props":9326,"children":9328},{"class":1230,"line":9327},118,[9329,9334,9338,9342,9346,9350,9354,9358,9363,9367,9371,9375,9379,9383,9388,9392,9396,9400,9404],{"type":375,"tag":1228,"props":9330,"children":9331},{"style":1241},[9332],{"type":384,"value":9333},"      problems.",{"type":375,"tag":1228,"props":9335,"children":9336},{"style":1298},[9337],{"type":384,"value":6847},{"type":375,"tag":1228,"props":9339,"children":9340},{"style":1241},[9341],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9343,"children":9344},{"style":1252},[9345],{"type":384,"value":4798},{"type":375,"tag":1228,"props":9347,"children":9348},{"style":1241},[9349],{"type":384,"value":8705},{"type":375,"tag":1228,"props":9351,"children":9352},{"style":1252},[9353],{"type":384,"value":433},{"type":375,"tag":1228,"props":9355,"children":9356},{"style":1241},[9357],{"type":384,"value":730},{"type":375,"tag":1228,"props":9359,"children":9360},{"style":1252},[9361],{"type":384,"value":9362},"} has ${",{"type":375,"tag":1228,"props":9364,"children":9365},{"style":1241},[9366],{"type":384,"value":8705},{"type":375,"tag":1228,"props":9368,"children":9369},{"style":1252},[9370],{"type":384,"value":433},{"type":375,"tag":1228,"props":9372,"children":9373},{"style":1241},[9374],{"type":384,"value":5735},{"type":375,"tag":1228,"props":9376,"children":9377},{"style":1252},[9378],{"type":384,"value":433},{"type":375,"tag":1228,"props":9380,"children":9381},{"style":1282},[9382],{"type":384,"value":3668},{"type":375,"tag":1228,"props":9384,"children":9385},{"style":1252},[9386],{"type":384,"value":9387},"} endpoints, the limit is ${",{"type":375,"tag":1228,"props":9389,"children":9390},{"style":1241},[9391],{"type":384,"value":9025},{"type":375,"tag":1228,"props":9393,"children":9394},{"style":1252},[9395],{"type":384,"value":433},{"type":375,"tag":1228,"props":9397,"children":9398},{"style":1241},[9399],{"type":384,"value":8609},{"type":375,"tag":1228,"props":9401,"children":9402},{"style":1252},[9403],{"type":384,"value":4852},{"type":375,"tag":1228,"props":9405,"children":9406},{"style":1241},[9407],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9409,"children":9411},{"class":1230,"line":9410},119,[9412,9416,9420,9424,9429,9433],{"type":375,"tag":1228,"props":9413,"children":9414},{"style":1235},[9415],{"type":384,"value":6819},{"type":375,"tag":1228,"props":9417,"children":9418},{"style":1241},[9419],{"type":384,"value":2833},{"type":375,"tag":1228,"props":9421,"children":9422},{"style":1235},[9423],{"type":384,"value":1279},{"type":375,"tag":1228,"props":9425,"children":9426},{"style":1282},[9427],{"type":384,"value":9428}," e",{"type":375,"tag":1228,"props":9430,"children":9431},{"style":1235},[9432],{"type":384,"value":6837},{"type":375,"tag":1228,"props":9434,"children":9435},{"style":1241},[9436],{"type":384,"value":9437}," c.endpoints) {\n",{"type":375,"tag":1228,"props":9439,"children":9441},{"class":1230,"line":9440},120,[9442,9446,9450,9454,9459,9463,9467,9472,9477,9481,9485,9489,9493,9497,9501,9505,9509,9513,9517,9522],{"type":375,"tag":1228,"props":9443,"children":9444},{"style":1235},[9445],{"type":384,"value":7320},{"type":375,"tag":1228,"props":9447,"children":9448},{"style":1241},[9449],{"type":384,"value":2833},{"type":375,"tag":1228,"props":9451,"children":9452},{"style":1235},[9453],{"type":384,"value":3417},{"type":375,"tag":1228,"props":9455,"children":9456},{"style":1241},[9457],{"type":384,"value":9458},"e.url.",{"type":375,"tag":1228,"props":9460,"children":9461},{"style":1298},[9462],{"type":384,"value":3427},{"type":375,"tag":1228,"props":9464,"children":9465},{"style":1241},[9466],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9468,"children":9469},{"style":1252},[9470],{"type":384,"value":9471},"\"https://\"",{"type":375,"tag":1228,"props":9473,"children":9474},{"style":1241},[9475],{"type":384,"value":9476},")) problems.",{"type":375,"tag":1228,"props":9478,"children":9479},{"style":1298},[9480],{"type":384,"value":6847},{"type":375,"tag":1228,"props":9482,"children":9483},{"style":1241},[9484],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9486,"children":9487},{"style":1252},[9488],{"type":384,"value":4798},{"type":375,"tag":1228,"props":9490,"children":9491},{"style":1241},[9492],{"type":384,"value":8705},{"type":375,"tag":1228,"props":9494,"children":9495},{"style":1252},[9496],{"type":384,"value":433},{"type":375,"tag":1228,"props":9498,"children":9499},{"style":1241},[9500],{"type":384,"value":730},{"type":375,"tag":1228,"props":9502,"children":9503},{"style":1252},[9504],{"type":384,"value":6249},{"type":375,"tag":1228,"props":9506,"children":9507},{"style":1241},[9508],{"type":384,"value":8777},{"type":375,"tag":1228,"props":9510,"children":9511},{"style":1252},[9512],{"type":384,"value":433},{"type":375,"tag":1228,"props":9514,"children":9515},{"style":1241},[9516],{"type":384,"value":4189},{"type":375,"tag":1228,"props":9518,"children":9519},{"style":1252},[9520],{"type":384,"value":9521},"}: endpoints must be public HTTPS`",{"type":375,"tag":1228,"props":9523,"children":9524},{"style":1241},[9525],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9527,"children":9529},{"class":1230,"line":9528},121,[9530,9534,9539,9543,9547,9551,9556,9560,9564,9568,9572,9576,9580,9584,9588,9592,9596,9601],{"type":375,"tag":1228,"props":9531,"children":9532},{"style":1235},[9533],{"type":384,"value":7320},{"type":375,"tag":1228,"props":9535,"children":9536},{"style":1241},[9537],{"type":384,"value":9538}," (e.eventTypes.",{"type":375,"tag":1228,"props":9540,"children":9541},{"style":1282},[9542],{"type":384,"value":3668},{"type":375,"tag":1228,"props":9544,"children":9545},{"style":1235},[9546],{"type":384,"value":3673},{"type":375,"tag":1228,"props":9548,"children":9549},{"style":1282},[9550],{"type":384,"value":5549},{"type":375,"tag":1228,"props":9552,"children":9553},{"style":1241},[9554],{"type":384,"value":9555},") problems.",{"type":375,"tag":1228,"props":9557,"children":9558},{"style":1298},[9559],{"type":384,"value":6847},{"type":375,"tag":1228,"props":9561,"children":9562},{"style":1241},[9563],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9565,"children":9566},{"style":1252},[9567],{"type":384,"value":4798},{"type":375,"tag":1228,"props":9569,"children":9570},{"style":1241},[9571],{"type":384,"value":8705},{"type":375,"tag":1228,"props":9573,"children":9574},{"style":1252},[9575],{"type":384,"value":433},{"type":375,"tag":1228,"props":9577,"children":9578},{"style":1241},[9579],{"type":384,"value":730},{"type":375,"tag":1228,"props":9581,"children":9582},{"style":1252},[9583],{"type":384,"value":6249},{"type":375,"tag":1228,"props":9585,"children":9586},{"style":1241},[9587],{"type":384,"value":8777},{"type":375,"tag":1228,"props":9589,"children":9590},{"style":1252},[9591],{"type":384,"value":433},{"type":375,"tag":1228,"props":9593,"children":9594},{"style":1241},[9595],{"type":384,"value":4189},{"type":375,"tag":1228,"props":9597,"children":9598},{"style":1252},[9599],{"type":384,"value":9600},"}: no topics matched`",{"type":375,"tag":1228,"props":9602,"children":9603},{"style":1241},[9604],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9606,"children":9608},{"class":1230,"line":9607},122,[9609,9613,9617,9621,9625,9629,9633,9637,9641,9645,9649,9653,9657,9661,9665,9669,9673,9678],{"type":375,"tag":1228,"props":9610,"children":9611},{"style":1235},[9612],{"type":384,"value":7320},{"type":375,"tag":1228,"props":9614,"children":9615},{"style":1241},[9616],{"type":384,"value":9538},{"type":375,"tag":1228,"props":9618,"children":9619},{"style":1282},[9620],{"type":384,"value":3668},{"type":375,"tag":1228,"props":9622,"children":9623},{"style":1235},[9624],{"type":384,"value":5397},{"type":375,"tag":1228,"props":9626,"children":9627},{"style":1282},[9628],{"type":384,"value":5402},{"type":375,"tag":1228,"props":9630,"children":9631},{"style":1241},[9632],{"type":384,"value":9555},{"type":375,"tag":1228,"props":9634,"children":9635},{"style":1298},[9636],{"type":384,"value":6847},{"type":375,"tag":1228,"props":9638,"children":9639},{"style":1241},[9640],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9642,"children":9643},{"style":1252},[9644],{"type":384,"value":4798},{"type":375,"tag":1228,"props":9646,"children":9647},{"style":1241},[9648],{"type":384,"value":8705},{"type":375,"tag":1228,"props":9650,"children":9651},{"style":1252},[9652],{"type":384,"value":433},{"type":375,"tag":1228,"props":9654,"children":9655},{"style":1241},[9656],{"type":384,"value":730},{"type":375,"tag":1228,"props":9658,"children":9659},{"style":1252},[9660],{"type":384,"value":6249},{"type":375,"tag":1228,"props":9662,"children":9663},{"style":1241},[9664],{"type":384,"value":8777},{"type":375,"tag":1228,"props":9666,"children":9667},{"style":1252},[9668],{"type":384,"value":433},{"type":375,"tag":1228,"props":9670,"children":9671},{"style":1241},[9672],{"type":384,"value":4189},{"type":375,"tag":1228,"props":9674,"children":9675},{"style":1252},[9676],{"type":384,"value":9677},"}: more than 100 event types`",{"type":375,"tag":1228,"props":9679,"children":9680},{"style":1241},[9681],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9683,"children":9685},{"class":1230,"line":9684},123,[9686],{"type":375,"tag":1228,"props":9687,"children":9688},{"style":1241},[9689],{"type":384,"value":8328},{"type":375,"tag":1228,"props":9691,"children":9693},{"class":1230,"line":9692},124,[9694],{"type":375,"tag":1228,"props":9695,"children":9696},{"style":1241},[9697],{"type":384,"value":3365},{"type":375,"tag":1228,"props":9699,"children":9701},{"class":1230,"line":9700},125,[9702,9706,9710,9714,9719,9723,9728,9733,9737,9742,9747,9751],{"type":375,"tag":1228,"props":9703,"children":9704},{"style":1235},[9705],{"type":384,"value":6599},{"type":375,"tag":1228,"props":9707,"children":9708},{"style":1241},[9709],{"type":384,"value":2833},{"type":375,"tag":1228,"props":9711,"children":9712},{"style":1235},[9713],{"type":384,"value":1279},{"type":375,"tag":1228,"props":9715,"children":9716},{"style":1282},[9717],{"type":384,"value":9718}," w",{"type":375,"tag":1228,"props":9720,"children":9721},{"style":1235},[9722],{"type":384,"value":6837},{"type":375,"tag":1228,"props":9724,"children":9725},{"style":1241},[9726],{"type":384,"value":9727}," plan.warnings) console.",{"type":375,"tag":1228,"props":9729,"children":9730},{"style":1298},[9731],{"type":384,"value":9732},"warn",{"type":375,"tag":1228,"props":9734,"children":9735},{"style":1241},[9736],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9738,"children":9739},{"style":1252},[9740],{"type":384,"value":9741},"`warning: ${",{"type":375,"tag":1228,"props":9743,"children":9744},{"style":1241},[9745],{"type":384,"value":9746},"w",{"type":375,"tag":1228,"props":9748,"children":9749},{"style":1252},[9750],{"type":384,"value":4852},{"type":375,"tag":1228,"props":9752,"children":9753},{"style":1241},[9754],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9756,"children":9758},{"class":1230,"line":9757},126,[9759,9763,9768,9772],{"type":375,"tag":1228,"props":9760,"children":9761},{"style":1235},[9762],{"type":384,"value":3300},{"type":375,"tag":1228,"props":9764,"children":9765},{"style":1241},[9766],{"type":384,"value":9767}," (problems.",{"type":375,"tag":1228,"props":9769,"children":9770},{"style":1282},[9771],{"type":384,"value":3668},{"type":375,"tag":1228,"props":9773,"children":9774},{"style":1241},[9775],{"type":384,"value":3292},{"type":375,"tag":1228,"props":9777,"children":9779},{"class":1230,"line":9778},127,[9780,9785,9790,9794,9799,9804,9809,9814,9818,9822,9826,9830,9834,9839,9843,9847],{"type":375,"tag":1228,"props":9781,"children":9782},{"style":1241},[9783],{"type":384,"value":9784},"    console.",{"type":375,"tag":1228,"props":9786,"children":9787},{"style":1298},[9788],{"type":384,"value":9789},"error",{"type":375,"tag":1228,"props":9791,"children":9792},{"style":1241},[9793],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9795,"children":9796},{"style":1252},[9797],{"type":384,"value":9798},"`Not importing:",{"type":375,"tag":1228,"props":9800,"children":9801},{"style":1282},[9802],{"type":384,"value":9803},"\\n",{"type":375,"tag":1228,"props":9805,"children":9806},{"style":1252},[9807],{"type":384,"value":9808},"- ${",{"type":375,"tag":1228,"props":9810,"children":9811},{"style":1241},[9812],{"type":384,"value":9813},"problems",{"type":375,"tag":1228,"props":9815,"children":9816},{"style":1252},[9817],{"type":384,"value":433},{"type":375,"tag":1228,"props":9819,"children":9820},{"style":1298},[9821],{"type":384,"value":7512},{"type":375,"tag":1228,"props":9823,"children":9824},{"style":1252},[9825],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9827,"children":9828},{"style":1252},[9829],{"type":384,"value":2161},{"type":375,"tag":1228,"props":9831,"children":9832},{"style":1282},[9833],{"type":384,"value":9803},{"type":375,"tag":1228,"props":9835,"children":9836},{"style":1252},[9837],{"type":384,"value":9838},"- \"",{"type":375,"tag":1228,"props":9840,"children":9841},{"style":1252},[9842],{"type":384,"value":4742},{"type":375,"tag":1228,"props":9844,"children":9845},{"style":1252},[9846],{"type":384,"value":4852},{"type":375,"tag":1228,"props":9848,"children":9849},{"style":1241},[9850],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9852,"children":9854},{"class":1230,"line":9853},128,[9855,9860,9865,9869,9874],{"type":375,"tag":1228,"props":9856,"children":9857},{"style":1241},[9858],{"type":384,"value":9859},"    process.",{"type":375,"tag":1228,"props":9861,"children":9862},{"style":1298},[9863],{"type":384,"value":9864},"exit",{"type":375,"tag":1228,"props":9866,"children":9867},{"style":1241},[9868],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9870,"children":9871},{"style":1282},[9872],{"type":384,"value":9873},"1",{"type":375,"tag":1228,"props":9875,"children":9876},{"style":1241},[9877],{"type":384,"value":1634},{"type":375,"tag":1228,"props":9879,"children":9881},{"class":1230,"line":9880},129,[9882],{"type":375,"tag":1228,"props":9883,"children":9884},{"style":1241},[9885],{"type":384,"value":3365},{"type":375,"tag":1228,"props":9887,"children":9889},{"class":1230,"line":9888},130,[9890],{"type":375,"tag":1228,"props":9891,"children":9892},{"style":1241},[9893],{"type":384,"value":3719},{"type":375,"tag":1228,"props":9895,"children":9897},{"class":1230,"line":9896},131,[9898],{"type":375,"tag":1228,"props":9899,"children":9900},{"emptyLinePlaceholder":1267},[9901],{"type":384,"value":1270},{"type":375,"tag":1228,"props":9903,"children":9905},{"class":1230,"line":9904},132,[9906],{"type":375,"tag":1228,"props":9907,"children":9908},{"style":1527},[9909],{"type":384,"value":9910},"// ---- 3. Import into Webhook Relay ----\n",{"type":375,"tag":1228,"props":9912,"children":9914},{"class":1230,"line":9913},133,[9915,9919,9924,9928,9932,9936,9940,9944,9948,9952,9956,9961,9965,9970,9974,9978,9982,9986,9990,9994,9999,10003,10007,10011,10016,10020,10024],{"type":375,"tag":1228,"props":9916,"children":9917},{"style":1235},[9918],{"type":384,"value":1279},{"type":375,"tag":1228,"props":9920,"children":9921},{"style":1282},[9922],{"type":384,"value":9923}," state",{"type":375,"tag":1228,"props":9925,"children":9926},{"style":1235},[9927],{"type":384,"value":1212},{"type":375,"tag":1228,"props":9929,"children":9930},{"style":1298},[9931],{"type":384,"value":5034},{"type":375,"tag":1228,"props":9933,"children":9934},{"style":1241},[9935],{"type":384,"value":5039},{"type":375,"tag":1228,"props":9937,"children":9938},{"style":1282},[9939],{"type":384,"value":1819},{"type":375,"tag":1228,"props":9941,"children":9942},{"style":1241},[9943],{"type":384,"value":1853},{"type":375,"tag":1228,"props":9945,"children":9946},{"style":1282},[9947],{"type":384,"value":1819},{"type":375,"tag":1228,"props":9949,"children":9950},{"style":1241},[9951],{"type":384,"value":5877},{"type":375,"tag":1228,"props":9953,"children":9954},{"style":1235},[9955],{"type":384,"value":3985},{"type":375,"tag":1228,"props":9957,"children":9958},{"style":1298},[9959],{"type":384,"value":9960}," existsSync",{"type":375,"tag":1228,"props":9962,"children":9963},{"style":1241},[9964],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9966,"children":9967},{"style":1282},[9968],{"type":384,"value":9969},"STATE_FILE",{"type":375,"tag":1228,"props":9971,"children":9972},{"style":1241},[9973],{"type":384,"value":3601},{"type":375,"tag":1228,"props":9975,"children":9976},{"style":1235},[9977],{"type":384,"value":6745},{"type":375,"tag":1228,"props":9979,"children":9980},{"style":1282},[9981],{"type":384,"value":8116},{"type":375,"tag":1228,"props":9983,"children":9984},{"style":1241},[9985],{"type":384,"value":433},{"type":375,"tag":1228,"props":9987,"children":9988},{"style":1298},[9989],{"type":384,"value":8125},{"type":375,"tag":1228,"props":9991,"children":9992},{"style":1241},[9993],{"type":384,"value":1739},{"type":375,"tag":1228,"props":9995,"children":9996},{"style":1298},[9997],{"type":384,"value":9998},"readFileSync",{"type":375,"tag":1228,"props":10000,"children":10001},{"style":1241},[10002],{"type":384,"value":1739},{"type":375,"tag":1228,"props":10004,"children":10005},{"style":1282},[10006],{"type":384,"value":9969},{"type":375,"tag":1228,"props":10008,"children":10009},{"style":1241},[10010],{"type":384,"value":1853},{"type":375,"tag":1228,"props":10012,"children":10013},{"style":1252},[10014],{"type":384,"value":10015},"\"utf8\"",{"type":375,"tag":1228,"props":10017,"children":10018},{"style":1241},[10019],{"type":384,"value":3441},{"type":375,"tag":1228,"props":10021,"children":10022},{"style":1235},[10023],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10025,"children":10026},{"style":1241},[10027],{"type":384,"value":8139},{"type":375,"tag":1228,"props":10029,"children":10031},{"class":1230,"line":10030},134,[10032],{"type":375,"tag":1228,"props":10033,"children":10034},{"emptyLinePlaceholder":1267},[10035],{"type":384,"value":1270},{"type":375,"tag":1228,"props":10037,"children":10039},{"class":1230,"line":10038},135,[10040,10045,10050,10055,10059],{"type":375,"tag":1228,"props":10041,"children":10042},{"style":1235},[10043],{"type":384,"value":10044},"class",{"type":375,"tag":1228,"props":10046,"children":10047},{"style":1298},[10048],{"type":384,"value":10049}," RelayError",{"type":375,"tag":1228,"props":10051,"children":10052},{"style":1235},[10053],{"type":384,"value":10054}," extends",{"type":375,"tag":1228,"props":10056,"children":10057},{"style":1298},[10058],{"type":384,"value":6213},{"type":375,"tag":1228,"props":10060,"children":10061},{"style":1241},[10062],{"type":384,"value":3611},{"type":375,"tag":1228,"props":10064,"children":10066},{"class":1230,"line":10065},136,[10067,10072,10076,10081,10086,10090,10094,10098,10103,10107,10111,10116,10121],{"type":375,"tag":1228,"props":10068,"children":10069},{"style":1235},[10070],{"type":384,"value":10071},"  constructor",{"type":375,"tag":1228,"props":10073,"children":10074},{"style":1241},[10075],{"type":384,"value":1739},{"type":375,"tag":1228,"props":10077,"children":10078},{"style":1235},[10079],{"type":384,"value":10080},"readonly",{"type":375,"tag":1228,"props":10082,"children":10083},{"style":3276},[10084],{"type":384,"value":10085}," status",{"type":375,"tag":1228,"props":10087,"children":10088},{"style":1235},[10089],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10091,"children":10092},{"style":1282},[10093],{"type":384,"value":5070},{"type":375,"tag":1228,"props":10095,"children":10096},{"style":1241},[10097],{"type":384,"value":1853},{"type":375,"tag":1228,"props":10099,"children":10100},{"style":3276},[10101],{"type":384,"value":10102},"message",{"type":375,"tag":1228,"props":10104,"children":10105},{"style":1235},[10106],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10108,"children":10109},{"style":1282},[10110],{"type":384,"value":4961},{"type":375,"tag":1228,"props":10112,"children":10113},{"style":1241},[10114],{"type":384,"value":10115},") { ",{"type":375,"tag":1228,"props":10117,"children":10118},{"style":1282},[10119],{"type":384,"value":10120},"super",{"type":375,"tag":1228,"props":10122,"children":10123},{"style":1241},[10124],{"type":384,"value":10125},"(message); }\n",{"type":375,"tag":1228,"props":10127,"children":10129},{"class":1230,"line":10128},137,[10130],{"type":375,"tag":1228,"props":10131,"children":10132},{"style":1241},[10133],{"type":384,"value":3719},{"type":375,"tag":1228,"props":10135,"children":10137},{"class":1230,"line":10136},138,[10138],{"type":375,"tag":1228,"props":10139,"children":10140},{"emptyLinePlaceholder":1267},[10141],{"type":384,"value":1270},{"type":375,"tag":1228,"props":10143,"children":10145},{"class":1230,"line":10144},139,[10146],{"type":375,"tag":1228,"props":10147,"children":10148},{"style":1527},[10149],{"type":384,"value":10150},"// REST create, because the SDKs expose `secret` only from their next release. Webhook Relay's errors never echo the secret.\n",{"type":375,"tag":1228,"props":10152,"children":10154},{"class":1230,"line":10153},140,[10155,10159,10163,10168,10172,10177,10181,10185,10189,10193,10197,10201,10205,10209,10213,10217,10221,10225,10229],{"type":375,"tag":1228,"props":10156,"children":10157},{"style":1235},[10158],{"type":384,"value":5804},{"type":375,"tag":1228,"props":10160,"children":10161},{"style":1235},[10162],{"type":384,"value":3264},{"type":375,"tag":1228,"props":10164,"children":10165},{"style":1298},[10166],{"type":384,"value":10167}," createEndpoint",{"type":375,"tag":1228,"props":10169,"children":10170},{"style":1241},[10171],{"type":384,"value":1739},{"type":375,"tag":1228,"props":10173,"children":10174},{"style":3276},[10175],{"type":384,"value":10176},"consumer",{"type":375,"tag":1228,"props":10178,"children":10179},{"style":1235},[10180],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10182,"children":10183},{"style":1282},[10184],{"type":384,"value":4961},{"type":375,"tag":1228,"props":10186,"children":10187},{"style":1241},[10188],{"type":384,"value":1853},{"type":375,"tag":1228,"props":10190,"children":10191},{"style":3276},[10192],{"type":384,"value":8777},{"type":375,"tag":1228,"props":10194,"children":10195},{"style":1235},[10196],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10198,"children":10199},{"style":1298},[10200],{"type":384,"value":4936},{"type":375,"tag":1228,"props":10202,"children":10203},{"style":1241},[10204],{"type":384,"value":4742},{"type":375,"tag":1228,"props":10206,"children":10207},{"style":1235},[10208],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10210,"children":10211},{"style":1298},[10212],{"type":384,"value":5895},{"type":375,"tag":1228,"props":10214,"children":10215},{"style":1241},[10216],{"type":384,"value":5900},{"type":375,"tag":1228,"props":10218,"children":10219},{"style":3276},[10220],{"type":384,"value":730},{"type":375,"tag":1228,"props":10222,"children":10223},{"style":1235},[10224],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10226,"children":10227},{"style":1282},[10228],{"type":384,"value":4961},{"type":375,"tag":1228,"props":10230,"children":10231},{"style":1241},[10232],{"type":384,"value":5936},{"type":375,"tag":1228,"props":10234,"children":10236},{"class":1230,"line":10235},141,[10237,10241,10245,10249,10253,10257,10261,10266,10270,10274,10278,10282,10287],{"type":375,"tag":1228,"props":10238,"children":10239},{"style":1235},[10240],{"type":384,"value":3373},{"type":375,"tag":1228,"props":10242,"children":10243},{"style":1282},[10244],{"type":384,"value":5988},{"type":375,"tag":1228,"props":10246,"children":10247},{"style":1235},[10248],{"type":384,"value":1290},{"type":375,"tag":1228,"props":10250,"children":10251},{"style":1235},[10252],{"type":384,"value":2429},{"type":375,"tag":1228,"props":10254,"children":10255},{"style":1298},[10256],{"type":384,"value":6001},{"type":375,"tag":1228,"props":10258,"children":10259},{"style":1241},[10260],{"type":384,"value":1739},{"type":375,"tag":1228,"props":10262,"children":10263},{"style":1252},[10264],{"type":384,"value":10265},"`https://my.webhookrelay.com/v1/outbound/consumers/${",{"type":375,"tag":1228,"props":10267,"children":10268},{"style":1298},[10269],{"type":384,"value":7735},{"type":375,"tag":1228,"props":10271,"children":10272},{"style":1252},[10273],{"type":384,"value":1739},{"type":375,"tag":1228,"props":10275,"children":10276},{"style":1241},[10277],{"type":384,"value":10176},{"type":375,"tag":1228,"props":10279,"children":10280},{"style":1252},[10281],{"type":384,"value":4742},{"type":375,"tag":1228,"props":10283,"children":10284},{"style":1252},[10285],{"type":384,"value":10286},"}/endpoints`",{"type":375,"tag":1228,"props":10288,"children":10289},{"style":1241},[10290],{"type":384,"value":2452},{"type":375,"tag":1228,"props":10292,"children":10294},{"class":1230,"line":10293},142,[10295,10300,10305],{"type":375,"tag":1228,"props":10296,"children":10297},{"style":1241},[10298],{"type":384,"value":10299},"    method: ",{"type":375,"tag":1228,"props":10301,"children":10302},{"style":1252},[10303],{"type":384,"value":10304},"\"POST\"",{"type":375,"tag":1228,"props":10306,"children":10307},{"style":1241},[10308],{"type":384,"value":1366},{"type":375,"tag":1228,"props":10310,"children":10312},{"class":1230,"line":10311},143,[10313,10317,10321,10325,10330,10334,10339],{"type":375,"tag":1228,"props":10314,"children":10315},{"style":1241},[10316],{"type":384,"value":6073},{"type":375,"tag":1228,"props":10318,"children":10319},{"style":1282},[10320],{"type":384,"value":8473},{"type":375,"tag":1228,"props":10322,"children":10323},{"style":1241},[10324],{"type":384,"value":1853},{"type":375,"tag":1228,"props":10326,"children":10327},{"style":1252},[10328],{"type":384,"value":10329},"\"Content-Type\"",{"type":375,"tag":1228,"props":10331,"children":10332},{"style":1241},[10333],{"type":384,"value":1844},{"type":375,"tag":1228,"props":10335,"children":10336},{"style":1252},[10337],{"type":384,"value":10338},"\"application/json\"",{"type":375,"tag":1228,"props":10340,"children":10341},{"style":1241},[10342],{"type":384,"value":1431},{"type":375,"tag":1228,"props":10344,"children":10346},{"class":1230,"line":10345},144,[10347,10352,10357,10361,10366],{"type":375,"tag":1228,"props":10348,"children":10349},{"style":1241},[10350],{"type":384,"value":10351},"    body: ",{"type":375,"tag":1228,"props":10353,"children":10354},{"style":1282},[10355],{"type":384,"value":10356},"JSON",{"type":375,"tag":1228,"props":10358,"children":10359},{"style":1241},[10360],{"type":384,"value":433},{"type":375,"tag":1228,"props":10362,"children":10363},{"style":1298},[10364],{"type":384,"value":10365},"stringify",{"type":375,"tag":1228,"props":10367,"children":10368},{"style":1241},[10369],{"type":384,"value":1347},{"type":375,"tag":1228,"props":10371,"children":10373},{"class":1230,"line":10372},145,[10374],{"type":375,"tag":1228,"props":10375,"children":10376},{"style":1241},[10377],{"type":384,"value":10378},"      url: e.url, event_types: e.eventTypes, description: e.description, headers: e.headers, rate: e.rate,\n",{"type":375,"tag":1228,"props":10380,"children":10382},{"class":1230,"line":10381},146,[10383,10388,10393,10397,10402,10406],{"type":375,"tag":1228,"props":10384,"children":10385},{"style":1235},[10386],{"type":384,"value":10387},"      ...",{"type":375,"tag":1228,"props":10389,"children":10390},{"style":1241},[10391],{"type":384,"value":10392},"(e.secret ",{"type":375,"tag":1228,"props":10394,"children":10395},{"style":1235},[10396],{"type":384,"value":6745},{"type":375,"tag":1228,"props":10398,"children":10399},{"style":1241},[10400],{"type":384,"value":10401}," { secret: e.secret } ",{"type":375,"tag":1228,"props":10403,"children":10404},{"style":1235},[10405],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10407,"children":10408},{"style":1241},[10409],{"type":384,"value":10410}," {}),\n",{"type":375,"tag":1228,"props":10412,"children":10414},{"class":1230,"line":10413},147,[10415],{"type":375,"tag":1228,"props":10416,"children":10417},{"style":1241},[10418],{"type":384,"value":10419},"    }),\n",{"type":375,"tag":1228,"props":10421,"children":10423},{"class":1230,"line":10422},148,[10424],{"type":375,"tag":1228,"props":10425,"children":10426},{"style":1241},[10427],{"type":384,"value":3710},{"type":375,"tag":1228,"props":10429,"children":10431},{"class":1230,"line":10430},149,[10432,10436,10440,10444,10448,10452,10456,10460,10465,10470,10474,10478,10482,10486,10490,10494,10498,10502,10506,10510],{"type":375,"tag":1228,"props":10433,"children":10434},{"style":1235},[10435],{"type":384,"value":3300},{"type":375,"tag":1228,"props":10437,"children":10438},{"style":1241},[10439],{"type":384,"value":2833},{"type":375,"tag":1228,"props":10441,"children":10442},{"style":1235},[10443],{"type":384,"value":3417},{"type":375,"tag":1228,"props":10445,"children":10446},{"style":1241},[10447],{"type":384,"value":6199},{"type":375,"tag":1228,"props":10449,"children":10450},{"style":1235},[10451],{"type":384,"value":6204},{"type":375,"tag":1228,"props":10453,"children":10454},{"style":1235},[10455],{"type":384,"value":1295},{"type":375,"tag":1228,"props":10457,"children":10458},{"style":1298},[10459],{"type":384,"value":10049},{"type":375,"tag":1228,"props":10461,"children":10462},{"style":1241},[10463],{"type":384,"value":10464},"(res.status, ",{"type":375,"tag":1228,"props":10466,"children":10467},{"style":1252},[10468],{"type":384,"value":10469},"`create endpoint: ${",{"type":375,"tag":1228,"props":10471,"children":10472},{"style":1241},[10473],{"type":384,"value":6236},{"type":375,"tag":1228,"props":10475,"children":10476},{"style":1252},[10477],{"type":384,"value":433},{"type":375,"tag":1228,"props":10479,"children":10480},{"style":1241},[10481],{"type":384,"value":5905},{"type":375,"tag":1228,"props":10483,"children":10484},{"style":1252},[10485],{"type":384,"value":6249},{"type":375,"tag":1228,"props":10487,"children":10488},{"style":1235},[10489],{"type":384,"value":1333},{"type":375,"tag":1228,"props":10491,"children":10492},{"style":1241},[10493],{"type":384,"value":5988},{"type":375,"tag":1228,"props":10495,"children":10496},{"style":1252},[10497],{"type":384,"value":433},{"type":375,"tag":1228,"props":10499,"children":10500},{"style":1298},[10501],{"type":384,"value":384},{"type":375,"tag":1228,"props":10503,"children":10504},{"style":1252},[10505],{"type":384,"value":6270},{"type":375,"tag":1228,"props":10507,"children":10508},{"style":1252},[10509],{"type":384,"value":4852},{"type":375,"tag":1228,"props":10511,"children":10512},{"style":1241},[10513],{"type":384,"value":1634},{"type":375,"tag":1228,"props":10515,"children":10517},{"class":1230,"line":10516},150,[10518,10522,10526,10530,10534,10538,10542,10546,10550,10554,10558,10562,10566,10570,10574,10578,10583],{"type":375,"tag":1228,"props":10519,"children":10520},{"style":1235},[10521],{"type":384,"value":3373},{"type":375,"tag":1228,"props":10523,"children":10524},{"style":1241},[10525],{"type":384,"value":5630},{"type":375,"tag":1228,"props":10527,"children":10528},{"style":1282},[10529],{"type":384,"value":730},{"type":375,"tag":1228,"props":10531,"children":10532},{"style":1241},[10533],{"type":384,"value":6633},{"type":375,"tag":1228,"props":10535,"children":10536},{"style":1235},[10537],{"type":384,"value":3985},{"type":375,"tag":1228,"props":10539,"children":10540},{"style":1241},[10541],{"type":384,"value":2833},{"type":375,"tag":1228,"props":10543,"children":10544},{"style":1235},[10545],{"type":384,"value":1333},{"type":375,"tag":1228,"props":10547,"children":10548},{"style":1241},[10549],{"type":384,"value":6300},{"type":375,"tag":1228,"props":10551,"children":10552},{"style":1298},[10553],{"type":384,"value":6305},{"type":375,"tag":1228,"props":10555,"children":10556},{"style":1241},[10557],{"type":384,"value":6310},{"type":375,"tag":1228,"props":10559,"children":10560},{"style":1235},[10561],{"type":384,"value":6315},{"type":375,"tag":1228,"props":10563,"children":10564},{"style":1241},[10565],{"type":384,"value":5630},{"type":375,"tag":1228,"props":10567,"children":10568},{"style":3276},[10569],{"type":384,"value":730},{"type":375,"tag":1228,"props":10571,"children":10572},{"style":1235},[10573],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10575,"children":10576},{"style":1282},[10577],{"type":384,"value":4961},{"type":375,"tag":1228,"props":10579,"children":10580},{"style":1241},[10581],{"type":384,"value":10582}," }; ",{"type":375,"tag":1228,"props":10584,"children":10585},{"style":1527},[10586],{"type":384,"value":10587},"// the response also has the secret: don't log or store it\n",{"type":375,"tag":1228,"props":10589,"children":10591},{"class":1230,"line":10590},151,[10592,10596],{"type":375,"tag":1228,"props":10593,"children":10594},{"style":1235},[10595],{"type":384,"value":3540},{"type":375,"tag":1228,"props":10597,"children":10598},{"style":1241},[10599],{"type":384,"value":10600}," { id };\n",{"type":375,"tag":1228,"props":10602,"children":10604},{"class":1230,"line":10603},152,[10605],{"type":375,"tag":1228,"props":10606,"children":10607},{"style":1241},[10608],{"type":384,"value":3719},{"type":375,"tag":1228,"props":10610,"children":10612},{"class":1230,"line":10611},153,[10613],{"type":375,"tag":1228,"props":10614,"children":10615},{"emptyLinePlaceholder":1267},[10616],{"type":384,"value":1270},{"type":375,"tag":1228,"props":10618,"children":10620},{"class":1230,"line":10619},154,[10621,10625,10629,10634,10638,10642,10646,10651,10655,10659,10663,10668,10672,10677,10681,10685,10689,10693,10698,10702,10706,10710,10714],{"type":375,"tag":1228,"props":10622,"children":10623},{"style":1235},[10624],{"type":384,"value":5804},{"type":375,"tag":1228,"props":10626,"children":10627},{"style":1235},[10628],{"type":384,"value":3264},{"type":375,"tag":1228,"props":10630,"children":10631},{"style":1298},[10632],{"type":384,"value":10633}," step",{"type":375,"tag":1228,"props":10635,"children":10636},{"style":1241},[10637],{"type":384,"value":5039},{"type":375,"tag":1228,"props":10639,"children":10640},{"style":1298},[10641],{"type":384,"value":5821},{"type":375,"tag":1228,"props":10643,"children":10644},{"style":1241},[10645],{"type":384,"value":5826},{"type":375,"tag":1228,"props":10647,"children":10648},{"style":3276},[10649],{"type":384,"value":10650},"what",{"type":375,"tag":1228,"props":10652,"children":10653},{"style":1235},[10654],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10656,"children":10657},{"style":1282},[10658],{"type":384,"value":4961},{"type":375,"tag":1228,"props":10660,"children":10661},{"style":1241},[10662],{"type":384,"value":1853},{"type":375,"tag":1228,"props":10664,"children":10665},{"style":1298},[10666],{"type":384,"value":10667},"fn",{"type":375,"tag":1228,"props":10669,"children":10670},{"style":1235},[10671],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10673,"children":10674},{"style":1241},[10675],{"type":384,"value":10676}," () ",{"type":375,"tag":1228,"props":10678,"children":10679},{"style":1235},[10680],{"type":384,"value":3606},{"type":375,"tag":1228,"props":10682,"children":10683},{"style":1298},[10684],{"type":384,"value":5895},{"type":375,"tag":1228,"props":10686,"children":10687},{"style":1241},[10688],{"type":384,"value":5039},{"type":375,"tag":1228,"props":10690,"children":10691},{"style":1298},[10692],{"type":384,"value":5821},{"type":375,"tag":1228,"props":10694,"children":10695},{"style":1241},[10696],{"type":384,"value":10697},">)",{"type":375,"tag":1228,"props":10699,"children":10700},{"style":1235},[10701],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10703,"children":10704},{"style":1298},[10705],{"type":384,"value":5895},{"type":375,"tag":1228,"props":10707,"children":10708},{"style":1241},[10709],{"type":384,"value":5039},{"type":375,"tag":1228,"props":10711,"children":10712},{"style":1298},[10713],{"type":384,"value":5821},{"type":375,"tag":1228,"props":10715,"children":10716},{"style":1241},[10717],{"type":384,"value":6967},{"type":375,"tag":1228,"props":10719,"children":10721},{"class":1230,"line":10720},155,[10722,10726,10730,10735,10740,10744,10748,10753,10758],{"type":375,"tag":1228,"props":10723,"children":10724},{"style":1235},[10725],{"type":384,"value":6599},{"type":375,"tag":1228,"props":10727,"children":10728},{"style":1241},[10729],{"type":384,"value":2833},{"type":375,"tag":1228,"props":10731,"children":10732},{"style":1235},[10733],{"type":384,"value":10734},"let",{"type":375,"tag":1228,"props":10736,"children":10737},{"style":1241},[10738],{"type":384,"value":10739}," attempt ",{"type":375,"tag":1228,"props":10741,"children":10742},{"style":1235},[10743],{"type":384,"value":3985},{"type":375,"tag":1228,"props":10745,"children":10746},{"style":1282},[10747],{"type":384,"value":5481},{"type":375,"tag":1228,"props":10749,"children":10750},{"style":1241},[10751],{"type":384,"value":10752},"; ; attempt",{"type":375,"tag":1228,"props":10754,"children":10755},{"style":1235},[10756],{"type":384,"value":10757},"++",{"type":375,"tag":1228,"props":10759,"children":10760},{"style":1241},[10761],{"type":384,"value":3292},{"type":375,"tag":1228,"props":10763,"children":10765},{"class":1230,"line":10764},156,[10766,10771],{"type":375,"tag":1228,"props":10767,"children":10768},{"style":1235},[10769],{"type":384,"value":10770},"    try",{"type":375,"tag":1228,"props":10772,"children":10773},{"style":1241},[10774],{"type":384,"value":3611},{"type":375,"tag":1228,"props":10776,"children":10778},{"class":1230,"line":10777},157,[10779,10783,10787,10792],{"type":375,"tag":1228,"props":10780,"children":10781},{"style":1235},[10782],{"type":384,"value":7543},{"type":375,"tag":1228,"props":10784,"children":10785},{"style":1235},[10786],{"type":384,"value":2429},{"type":375,"tag":1228,"props":10788,"children":10789},{"style":1298},[10790],{"type":384,"value":10791}," fn",{"type":375,"tag":1228,"props":10793,"children":10794},{"style":1241},[10795],{"type":384,"value":3532},{"type":375,"tag":1228,"props":10797,"children":10799},{"class":1230,"line":10798},158,[10800,10805,10810],{"type":375,"tag":1228,"props":10801,"children":10802},{"style":1241},[10803],{"type":384,"value":10804},"    } ",{"type":375,"tag":1228,"props":10806,"children":10807},{"style":1235},[10808],{"type":384,"value":10809},"catch",{"type":375,"tag":1228,"props":10811,"children":10812},{"style":1241},[10813],{"type":384,"value":10814}," (err) {\n",{"type":375,"tag":1228,"props":10816,"children":10818},{"class":1230,"line":10817},159,[10819,10823,10827,10831,10836,10841,10846,10850,10854,10858,10862,10866,10871,10875,10879],{"type":375,"tag":1228,"props":10820,"children":10821},{"style":1235},[10822],{"type":384,"value":7367},{"type":375,"tag":1228,"props":10824,"children":10825},{"style":1282},[10826],{"type":384,"value":10085},{"type":375,"tag":1228,"props":10828,"children":10829},{"style":1235},[10830],{"type":384,"value":1290},{"type":375,"tag":1228,"props":10832,"children":10833},{"style":1241},[10834],{"type":384,"value":10835}," err ",{"type":375,"tag":1228,"props":10837,"children":10838},{"style":1235},[10839],{"type":384,"value":10840},"instanceof",{"type":375,"tag":1228,"props":10842,"children":10843},{"style":1298},[10844],{"type":384,"value":10845}," WebhookRelayAPIError",{"type":375,"tag":1228,"props":10847,"children":10848},{"style":1235},[10849],{"type":384,"value":5407},{"type":375,"tag":1228,"props":10851,"children":10852},{"style":1241},[10853],{"type":384,"value":10835},{"type":375,"tag":1228,"props":10855,"children":10856},{"style":1235},[10857],{"type":384,"value":10840},{"type":375,"tag":1228,"props":10859,"children":10860},{"style":1298},[10861],{"type":384,"value":10049},{"type":375,"tag":1228,"props":10863,"children":10864},{"style":1235},[10865],{"type":384,"value":6037},{"type":375,"tag":1228,"props":10867,"children":10868},{"style":1241},[10869],{"type":384,"value":10870}," err.status ",{"type":375,"tag":1228,"props":10872,"children":10873},{"style":1235},[10874],{"type":384,"value":1212},{"type":375,"tag":1228,"props":10876,"children":10877},{"style":1282},[10878],{"type":384,"value":5549},{"type":375,"tag":1228,"props":10880,"children":10881},{"style":1241},[10882],{"type":384,"value":1260},{"type":375,"tag":1228,"props":10884,"children":10886},{"class":1230,"line":10885},160,[10887,10891,10895,10899,10904,10908,10912,10916,10921],{"type":375,"tag":1228,"props":10888,"children":10889},{"style":1235},[10890],{"type":384,"value":7320},{"type":375,"tag":1228,"props":10892,"children":10893},{"style":1241},[10894],{"type":384,"value":6773},{"type":375,"tag":1228,"props":10896,"children":10897},{"style":1235},[10898],{"type":384,"value":6132},{"type":375,"tag":1228,"props":10900,"children":10901},{"style":1282},[10902],{"type":384,"value":10903}," 429",{"type":375,"tag":1228,"props":10905,"children":10906},{"style":1235},[10907],{"type":384,"value":3687},{"type":375,"tag":1228,"props":10909,"children":10910},{"style":1241},[10911],{"type":384,"value":10739},{"type":375,"tag":1228,"props":10913,"children":10914},{"style":1235},[10915],{"type":384,"value":5039},{"type":375,"tag":1228,"props":10917,"children":10918},{"style":1282},[10919],{"type":384,"value":10920}," 5",{"type":375,"tag":1228,"props":10922,"children":10923},{"style":1241},[10924],{"type":384,"value":3292},{"type":375,"tag":1228,"props":10926,"children":10928},{"class":1230,"line":10927},161,[10929,10934,10938,10942,10946,10951,10955,10959,10964,10969,10973,10978],{"type":375,"tag":1228,"props":10930,"children":10931},{"style":1235},[10932],{"type":384,"value":10933},"        await",{"type":375,"tag":1228,"props":10935,"children":10936},{"style":1235},[10937],{"type":384,"value":1295},{"type":375,"tag":1228,"props":10939,"children":10940},{"style":1282},[10941],{"type":384,"value":5895},{"type":375,"tag":1228,"props":10943,"children":10944},{"style":1241},[10945],{"type":384,"value":3591},{"type":375,"tag":1228,"props":10947,"children":10948},{"style":3276},[10949],{"type":384,"value":10950},"r",{"type":375,"tag":1228,"props":10952,"children":10953},{"style":1241},[10954],{"type":384,"value":3601},{"type":375,"tag":1228,"props":10956,"children":10957},{"style":1235},[10958],{"type":384,"value":3606},{"type":375,"tag":1228,"props":10960,"children":10961},{"style":1298},[10962],{"type":384,"value":10963}," setTimeout",{"type":375,"tag":1228,"props":10965,"children":10966},{"style":1241},[10967],{"type":384,"value":10968},"(r, attempt ",{"type":375,"tag":1228,"props":10970,"children":10971},{"style":1235},[10972],{"type":384,"value":4247},{"type":375,"tag":1228,"props":10974,"children":10975},{"style":1282},[10976],{"type":384,"value":10977}," 2000",{"type":375,"tag":1228,"props":10979,"children":10980},{"style":1241},[10981],{"type":384,"value":10982},"));\n",{"type":375,"tag":1228,"props":10984,"children":10986},{"class":1230,"line":10985},162,[10987,10991],{"type":375,"tag":1228,"props":10988,"children":10989},{"style":1235},[10990],{"type":384,"value":7906},{"type":375,"tag":1228,"props":10992,"children":10993},{"style":1241},[10994],{"type":384,"value":1260},{"type":375,"tag":1228,"props":10996,"children":10998},{"class":1230,"line":10997},163,[10999],{"type":375,"tag":1228,"props":11000,"children":11001},{"style":1241},[11002],{"type":384,"value":7919},{"type":375,"tag":1228,"props":11004,"children":11006},{"class":1230,"line":11005},164,[11007,11012,11016,11020,11025,11029,11033,11038,11043,11047,11051,11056,11060,11064,11068,11073,11077,11081,11085,11089],{"type":375,"tag":1228,"props":11008,"children":11009},{"style":1241},[11010],{"type":384,"value":11011},"      console.",{"type":375,"tag":1228,"props":11013,"children":11014},{"style":1298},[11015],{"type":384,"value":9789},{"type":375,"tag":1228,"props":11017,"children":11018},{"style":1241},[11019],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11021,"children":11022},{"style":1252},[11023],{"type":384,"value":11024},"`Stopped at ${",{"type":375,"tag":1228,"props":11026,"children":11027},{"style":1241},[11028],{"type":384,"value":10650},{"type":375,"tag":1228,"props":11030,"children":11031},{"style":1252},[11032],{"type":384,"value":6231},{"type":375,"tag":1228,"props":11034,"children":11035},{"style":1241},[11036],{"type":384,"value":11037},"err",{"type":375,"tag":1228,"props":11039,"children":11040},{"style":1235},[11041],{"type":384,"value":11042}," instanceof",{"type":375,"tag":1228,"props":11044,"children":11045},{"style":1298},[11046],{"type":384,"value":6213},{"type":375,"tag":1228,"props":11048,"children":11049},{"style":1235},[11050],{"type":384,"value":6037},{"type":375,"tag":1228,"props":11052,"children":11053},{"style":1241},[11054],{"type":384,"value":11055}," err",{"type":375,"tag":1228,"props":11057,"children":11058},{"style":1252},[11059],{"type":384,"value":433},{"type":375,"tag":1228,"props":11061,"children":11062},{"style":1241},[11063],{"type":384,"value":10102},{"type":375,"tag":1228,"props":11065,"children":11066},{"style":1235},[11067],{"type":384,"value":6055},{"type":375,"tag":1228,"props":11069,"children":11070},{"style":1298},[11071],{"type":384,"value":11072}," String",{"type":375,"tag":1228,"props":11074,"children":11075},{"style":1252},[11076],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11078,"children":11079},{"style":1241},[11080],{"type":384,"value":11037},{"type":375,"tag":1228,"props":11082,"children":11083},{"style":1252},[11084],{"type":384,"value":4742},{"type":375,"tag":1228,"props":11086,"children":11087},{"style":1252},[11088],{"type":384,"value":4852},{"type":375,"tag":1228,"props":11090,"children":11091},{"style":1241},[11092],{"type":384,"value":1634},{"type":375,"tag":1228,"props":11094,"children":11096},{"class":1230,"line":11095},165,[11097,11101,11105,11109,11114,11118,11123],{"type":375,"tag":1228,"props":11098,"children":11099},{"style":1241},[11100],{"type":384,"value":11011},{"type":375,"tag":1228,"props":11102,"children":11103},{"style":1298},[11104],{"type":384,"value":9789},{"type":375,"tag":1228,"props":11106,"children":11107},{"style":1241},[11108],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11110,"children":11111},{"style":1252},[11112],{"type":384,"value":11113},"`Progress is saved in ${",{"type":375,"tag":1228,"props":11115,"children":11116},{"style":1282},[11117],{"type":384,"value":9969},{"type":375,"tag":1228,"props":11119,"children":11120},{"style":1252},[11121],{"type":384,"value":11122},"}. Fix the cause and run the script again.`",{"type":375,"tag":1228,"props":11124,"children":11125},{"style":1241},[11126],{"type":384,"value":1634},{"type":375,"tag":1228,"props":11128,"children":11130},{"class":1230,"line":11129},166,[11131,11136,11140,11144,11148],{"type":375,"tag":1228,"props":11132,"children":11133},{"style":1241},[11134],{"type":384,"value":11135},"      process.",{"type":375,"tag":1228,"props":11137,"children":11138},{"style":1298},[11139],{"type":384,"value":9864},{"type":375,"tag":1228,"props":11141,"children":11142},{"style":1241},[11143],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11145,"children":11146},{"style":1282},[11147],{"type":384,"value":9873},{"type":375,"tag":1228,"props":11149,"children":11150},{"style":1241},[11151],{"type":384,"value":1634},{"type":375,"tag":1228,"props":11153,"children":11155},{"class":1230,"line":11154},167,[11156],{"type":375,"tag":1228,"props":11157,"children":11158},{"style":1241},[11159],{"type":384,"value":8328},{"type":375,"tag":1228,"props":11161,"children":11163},{"class":1230,"line":11162},168,[11164],{"type":375,"tag":1228,"props":11165,"children":11166},{"style":1241},[11167],{"type":384,"value":3365},{"type":375,"tag":1228,"props":11169,"children":11171},{"class":1230,"line":11170},169,[11172],{"type":375,"tag":1228,"props":11173,"children":11174},{"style":1241},[11175],{"type":384,"value":3719},{"type":375,"tag":1228,"props":11177,"children":11179},{"class":1230,"line":11178},170,[11180],{"type":375,"tag":1228,"props":11181,"children":11182},{"emptyLinePlaceholder":1267},[11183],{"type":384,"value":1270},{"type":375,"tag":1228,"props":11185,"children":11187},{"class":1230,"line":11186},171,[11188,11192,11196,11201,11205,11209,11213,11217],{"type":375,"tag":1228,"props":11189,"children":11190},{"style":1235},[11191],{"type":384,"value":5804},{"type":375,"tag":1228,"props":11193,"children":11194},{"style":1235},[11195],{"type":384,"value":3264},{"type":375,"tag":1228,"props":11197,"children":11198},{"style":1298},[11199],{"type":384,"value":11200}," importPlan",{"type":375,"tag":1228,"props":11202,"children":11203},{"style":1241},[11204],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11206,"children":11207},{"style":3276},[11208],{"type":384,"value":8418},{"type":375,"tag":1228,"props":11210,"children":11211},{"style":1235},[11212],{"type":384,"value":1212},{"type":375,"tag":1228,"props":11214,"children":11215},{"style":1298},[11216],{"type":384,"value":5604},{"type":375,"tag":1228,"props":11218,"children":11219},{"style":1241},[11220],{"type":384,"value":3292},{"type":375,"tag":1228,"props":11222,"children":11224},{"class":1230,"line":11223},172,[11225,11229,11233,11237,11241,11245],{"type":375,"tag":1228,"props":11226,"children":11227},{"style":1235},[11228],{"type":384,"value":6599},{"type":375,"tag":1228,"props":11230,"children":11231},{"style":1241},[11232],{"type":384,"value":2833},{"type":375,"tag":1228,"props":11234,"children":11235},{"style":1235},[11236],{"type":384,"value":1279},{"type":375,"tag":1228,"props":11238,"children":11239},{"style":1282},[11240],{"type":384,"value":9126},{"type":375,"tag":1228,"props":11242,"children":11243},{"style":1235},[11244],{"type":384,"value":6837},{"type":375,"tag":1228,"props":11246,"children":11247},{"style":1241},[11248],{"type":384,"value":11249}," plan.eventTypes) {\n",{"type":375,"tag":1228,"props":11251,"children":11253},{"class":1230,"line":11252},173,[11254,11259,11263,11267,11272,11276,11280,11284,11288,11293],{"type":375,"tag":1228,"props":11255,"children":11256},{"style":1235},[11257],{"type":384,"value":11258},"    await",{"type":375,"tag":1228,"props":11260,"children":11261},{"style":1298},[11262],{"type":384,"value":10633},{"type":375,"tag":1228,"props":11264,"children":11265},{"style":1241},[11266],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11268,"children":11269},{"style":1252},[11270],{"type":384,"value":11271},"`event type ${",{"type":375,"tag":1228,"props":11273,"children":11274},{"style":1241},[11275],{"type":384,"value":9184},{"type":375,"tag":1228,"props":11277,"children":11278},{"style":1252},[11279],{"type":384,"value":433},{"type":375,"tag":1228,"props":11281,"children":11282},{"style":1241},[11283],{"type":384,"value":5635},{"type":375,"tag":1228,"props":11285,"children":11286},{"style":1252},[11287],{"type":384,"value":4852},{"type":375,"tag":1228,"props":11289,"children":11290},{"style":1241},[11291],{"type":384,"value":11292},", () ",{"type":375,"tag":1228,"props":11294,"children":11295},{"style":1235},[11296],{"type":384,"value":11297},"=>\n",{"type":375,"tag":1228,"props":11299,"children":11301},{"class":1230,"line":11300},174,[11302,11307,11311],{"type":375,"tag":1228,"props":11303,"children":11304},{"style":1241},[11305],{"type":384,"value":11306},"      relay.outbound.eventTypes.",{"type":375,"tag":1228,"props":11308,"children":11309},{"style":1298},[11310],{"type":384,"value":2336},{"type":375,"tag":1228,"props":11312,"children":11313},{"style":1241},[11314],{"type":384,"value":11315},"(et.name, { description: et.description, deprecated: et.deprecated }));\n",{"type":375,"tag":1228,"props":11317,"children":11319},{"class":1230,"line":11318},175,[11320],{"type":375,"tag":1228,"props":11321,"children":11322},{"style":1241},[11323],{"type":384,"value":3365},{"type":375,"tag":1228,"props":11325,"children":11327},{"class":1230,"line":11326},176,[11328,11332,11336,11340,11344,11348],{"type":375,"tag":1228,"props":11329,"children":11330},{"style":1235},[11331],{"type":384,"value":6599},{"type":375,"tag":1228,"props":11333,"children":11334},{"style":1241},[11335],{"type":384,"value":2833},{"type":375,"tag":1228,"props":11337,"children":11338},{"style":1235},[11339],{"type":384,"value":1279},{"type":375,"tag":1228,"props":11341,"children":11342},{"style":1282},[11343],{"type":384,"value":9222},{"type":375,"tag":1228,"props":11345,"children":11346},{"style":1235},[11347],{"type":384,"value":6837},{"type":375,"tag":1228,"props":11349,"children":11350},{"style":1241},[11351],{"type":384,"value":9231},{"type":375,"tag":1228,"props":11353,"children":11355},{"class":1230,"line":11354},177,[11356,11360,11364,11368,11373,11377,11381,11385,11389,11393,11397,11401,11405],{"type":375,"tag":1228,"props":11357,"children":11358},{"style":1235},[11359],{"type":384,"value":11258},{"type":375,"tag":1228,"props":11361,"children":11362},{"style":1298},[11363],{"type":384,"value":10633},{"type":375,"tag":1228,"props":11365,"children":11366},{"style":1241},[11367],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11369,"children":11370},{"style":1252},[11371],{"type":384,"value":11372},"`consumer ${",{"type":375,"tag":1228,"props":11374,"children":11375},{"style":1241},[11376],{"type":384,"value":8705},{"type":375,"tag":1228,"props":11378,"children":11379},{"style":1252},[11380],{"type":384,"value":433},{"type":375,"tag":1228,"props":11382,"children":11383},{"style":1241},[11384],{"type":384,"value":730},{"type":375,"tag":1228,"props":11386,"children":11387},{"style":1252},[11388],{"type":384,"value":4852},{"type":375,"tag":1228,"props":11390,"children":11391},{"style":1241},[11392],{"type":384,"value":11292},{"type":375,"tag":1228,"props":11394,"children":11395},{"style":1235},[11396],{"type":384,"value":3606},{"type":375,"tag":1228,"props":11398,"children":11399},{"style":1241},[11400],{"type":384,"value":2382},{"type":375,"tag":1228,"props":11402,"children":11403},{"style":1298},[11404],{"type":384,"value":2336},{"type":375,"tag":1228,"props":11406,"children":11407},{"style":1241},[11408],{"type":384,"value":11409},"(c.id, { name: c.name }));\n",{"type":375,"tag":1228,"props":11411,"children":11413},{"class":1230,"line":11412},178,[11414,11418,11422,11426,11430,11434],{"type":375,"tag":1228,"props":11415,"children":11416},{"style":1235},[11417],{"type":384,"value":6819},{"type":375,"tag":1228,"props":11419,"children":11420},{"style":1241},[11421],{"type":384,"value":2833},{"type":375,"tag":1228,"props":11423,"children":11424},{"style":1235},[11425],{"type":384,"value":1279},{"type":375,"tag":1228,"props":11427,"children":11428},{"style":1282},[11429],{"type":384,"value":9428},{"type":375,"tag":1228,"props":11431,"children":11432},{"style":1235},[11433],{"type":384,"value":6837},{"type":375,"tag":1228,"props":11435,"children":11436},{"style":1241},[11437],{"type":384,"value":9437},{"type":375,"tag":1228,"props":11439,"children":11441},{"class":1230,"line":11440},179,[11442,11446,11451,11456,11460],{"type":375,"tag":1228,"props":11443,"children":11444},{"style":1235},[11445],{"type":384,"value":7320},{"type":375,"tag":1228,"props":11447,"children":11448},{"style":1241},[11449],{"type":384,"value":11450}," (state[e.sourceId]) ",{"type":375,"tag":1228,"props":11452,"children":11453},{"style":1235},[11454],{"type":384,"value":11455},"continue",{"type":375,"tag":1228,"props":11457,"children":11458},{"style":1241},[11459],{"type":384,"value":3239},{"type":375,"tag":1228,"props":11461,"children":11462},{"style":1527},[11463],{"type":384,"value":11464},"// imported on an earlier run\n",{"type":375,"tag":1228,"props":11466,"children":11468},{"class":1230,"line":11467},180,[11469,11473,11477,11481,11485,11490,11494,11498,11502,11506,11510,11515,11519,11523,11527,11531,11535,11539,11543,11547,11551,11555,11559,11563],{"type":375,"tag":1228,"props":11470,"children":11471},{"style":1235},[11472],{"type":384,"value":7367},{"type":375,"tag":1228,"props":11474,"children":11475},{"style":1241},[11476],{"type":384,"value":5630},{"type":375,"tag":1228,"props":11478,"children":11479},{"style":1282},[11480],{"type":384,"value":730},{"type":375,"tag":1228,"props":11482,"children":11483},{"style":1241},[11484],{"type":384,"value":1853},{"type":375,"tag":1228,"props":11486,"children":11487},{"style":1282},[11488],{"type":384,"value":11489},"created",{"type":375,"tag":1228,"props":11491,"children":11492},{"style":1241},[11493],{"type":384,"value":6633},{"type":375,"tag":1228,"props":11495,"children":11496},{"style":1235},[11497],{"type":384,"value":3985},{"type":375,"tag":1228,"props":11499,"children":11500},{"style":1235},[11501],{"type":384,"value":2429},{"type":375,"tag":1228,"props":11503,"children":11504},{"style":1298},[11505],{"type":384,"value":10633},{"type":375,"tag":1228,"props":11507,"children":11508},{"style":1241},[11509],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11511,"children":11512},{"style":1252},[11513],{"type":384,"value":11514},"`endpoint ${",{"type":375,"tag":1228,"props":11516,"children":11517},{"style":1241},[11518],{"type":384,"value":8705},{"type":375,"tag":1228,"props":11520,"children":11521},{"style":1252},[11522],{"type":384,"value":433},{"type":375,"tag":1228,"props":11524,"children":11525},{"style":1241},[11526],{"type":384,"value":730},{"type":375,"tag":1228,"props":11528,"children":11529},{"style":1252},[11530],{"type":384,"value":6249},{"type":375,"tag":1228,"props":11532,"children":11533},{"style":1241},[11534],{"type":384,"value":8777},{"type":375,"tag":1228,"props":11536,"children":11537},{"style":1252},[11538],{"type":384,"value":433},{"type":375,"tag":1228,"props":11540,"children":11541},{"style":1241},[11542],{"type":384,"value":4189},{"type":375,"tag":1228,"props":11544,"children":11545},{"style":1252},[11546],{"type":384,"value":4852},{"type":375,"tag":1228,"props":11548,"children":11549},{"style":1241},[11550],{"type":384,"value":1853},{"type":375,"tag":1228,"props":11552,"children":11553},{"style":1235},[11554],{"type":384,"value":5804},{"type":375,"tag":1228,"props":11556,"children":11557},{"style":1241},[11558],{"type":384,"value":10676},{"type":375,"tag":1228,"props":11560,"children":11561},{"style":1235},[11562],{"type":384,"value":3606},{"type":375,"tag":1228,"props":11564,"children":11565},{"style":1241},[11566],{"type":384,"value":3611},{"type":375,"tag":1228,"props":11568,"children":11570},{"class":1230,"line":11569},181,[11571,11576],{"type":375,"tag":1228,"props":11572,"children":11573},{"style":1235},[11574],{"type":384,"value":11575},"        try",{"type":375,"tag":1228,"props":11577,"children":11578},{"style":1241},[11579],{"type":384,"value":3611},{"type":375,"tag":1228,"props":11581,"children":11583},{"class":1230,"line":11582},182,[11584,11589,11593,11597,11601,11605,11609,11614,11618],{"type":375,"tag":1228,"props":11585,"children":11586},{"style":1235},[11587],{"type":384,"value":11588},"          return",{"type":375,"tag":1228,"props":11590,"children":11591},{"style":1241},[11592],{"type":384,"value":5630},{"type":375,"tag":1228,"props":11594,"children":11595},{"style":1235},[11596],{"type":384,"value":6735},{"type":375,"tag":1228,"props":11598,"children":11599},{"style":1241},[11600],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11602,"children":11603},{"style":1235},[11604],{"type":384,"value":1333},{"type":375,"tag":1228,"props":11606,"children":11607},{"style":1298},[11608],{"type":384,"value":10167},{"type":375,"tag":1228,"props":11610,"children":11611},{"style":1241},[11612],{"type":384,"value":11613},"(c.id, e)), created: ",{"type":375,"tag":1228,"props":11615,"children":11616},{"style":1282},[11617],{"type":384,"value":2499},{"type":375,"tag":1228,"props":11619,"children":11620},{"style":1241},[11621],{"type":384,"value":6178},{"type":375,"tag":1228,"props":11623,"children":11625},{"class":1230,"line":11624},183,[11626,11631,11635],{"type":375,"tag":1228,"props":11627,"children":11628},{"style":1241},[11629],{"type":384,"value":11630},"        } ",{"type":375,"tag":1228,"props":11632,"children":11633},{"style":1235},[11634],{"type":384,"value":10809},{"type":375,"tag":1228,"props":11636,"children":11637},{"style":1241},[11638],{"type":384,"value":10814},{"type":375,"tag":1228,"props":11640,"children":11642},{"class":1230,"line":11641},184,[11643,11648,11653,11657,11661,11665,11669,11673,11678],{"type":375,"tag":1228,"props":11644,"children":11645},{"style":1235},[11646],{"type":384,"value":11647},"          if",{"type":375,"tag":1228,"props":11649,"children":11650},{"style":1241},[11651],{"type":384,"value":11652}," (err ",{"type":375,"tag":1228,"props":11654,"children":11655},{"style":1235},[11656],{"type":384,"value":10840},{"type":375,"tag":1228,"props":11658,"children":11659},{"style":1298},[11660],{"type":384,"value":10049},{"type":375,"tag":1228,"props":11662,"children":11663},{"style":1235},[11664],{"type":384,"value":3687},{"type":375,"tag":1228,"props":11666,"children":11667},{"style":1241},[11668],{"type":384,"value":10870},{"type":375,"tag":1228,"props":11670,"children":11671},{"style":1235},[11672],{"type":384,"value":6132},{"type":375,"tag":1228,"props":11674,"children":11675},{"style":1282},[11676],{"type":384,"value":11677}," 409",{"type":375,"tag":1228,"props":11679,"children":11680},{"style":1241},[11681],{"type":384,"value":3292},{"type":375,"tag":1228,"props":11683,"children":11685},{"class":1230,"line":11684},185,[11686,11691,11696,11700,11704,11708,11712,11716,11721,11726,11730,11735,11739,11743,11748,11752],{"type":375,"tag":1228,"props":11687,"children":11688},{"style":1235},[11689],{"type":384,"value":11690},"            const",{"type":375,"tag":1228,"props":11692,"children":11693},{"style":1282},[11694],{"type":384,"value":11695}," existing",{"type":375,"tag":1228,"props":11697,"children":11698},{"style":1235},[11699],{"type":384,"value":1290},{"type":375,"tag":1228,"props":11701,"children":11702},{"style":1241},[11703],{"type":384,"value":2833},{"type":375,"tag":1228,"props":11705,"children":11706},{"style":1235},[11707],{"type":384,"value":1333},{"type":375,"tag":1228,"props":11709,"children":11710},{"style":1241},[11711],{"type":384,"value":2434},{"type":375,"tag":1228,"props":11713,"children":11714},{"style":1298},[11715],{"type":384,"value":8687},{"type":375,"tag":1228,"props":11717,"children":11718},{"style":1241},[11719],{"type":384,"value":11720},"(c.id)).",{"type":375,"tag":1228,"props":11722,"children":11723},{"style":1298},[11724],{"type":384,"value":11725},"find",{"type":375,"tag":1228,"props":11727,"children":11728},{"style":1241},[11729],{"type":384,"value":3591},{"type":375,"tag":1228,"props":11731,"children":11732},{"style":3276},[11733],{"type":384,"value":11734},"x",{"type":375,"tag":1228,"props":11736,"children":11737},{"style":1241},[11738],{"type":384,"value":3601},{"type":375,"tag":1228,"props":11740,"children":11741},{"style":1235},[11742],{"type":384,"value":3606},{"type":375,"tag":1228,"props":11744,"children":11745},{"style":1241},[11746],{"type":384,"value":11747}," x.url ",{"type":375,"tag":1228,"props":11749,"children":11750},{"style":1235},[11751],{"type":384,"value":6132},{"type":375,"tag":1228,"props":11753,"children":11754},{"style":1241},[11755],{"type":384,"value":11756}," e.url);\n",{"type":375,"tag":1228,"props":11758,"children":11760},{"class":1230,"line":11759},186,[11761,11766,11771,11775,11780,11785,11789],{"type":375,"tag":1228,"props":11762,"children":11763},{"style":1235},[11764],{"type":384,"value":11765},"            if",{"type":375,"tag":1228,"props":11767,"children":11768},{"style":1241},[11769],{"type":384,"value":11770}," (existing) ",{"type":375,"tag":1228,"props":11772,"children":11773},{"style":1235},[11774],{"type":384,"value":3446},{"type":375,"tag":1228,"props":11776,"children":11777},{"style":1241},[11778],{"type":384,"value":11779}," { id: existing.id, created: ",{"type":375,"tag":1228,"props":11781,"children":11782},{"style":1282},[11783],{"type":384,"value":11784},"false",{"type":375,"tag":1228,"props":11786,"children":11787},{"style":1241},[11788],{"type":384,"value":10582},{"type":375,"tag":1228,"props":11790,"children":11791},{"style":1527},[11792],{"type":384,"value":11793},"// already there: leave its state alone\n",{"type":375,"tag":1228,"props":11795,"children":11797},{"class":1230,"line":11796},187,[11798],{"type":375,"tag":1228,"props":11799,"children":11800},{"style":1241},[11801],{"type":384,"value":11802},"          }\n",{"type":375,"tag":1228,"props":11804,"children":11806},{"class":1230,"line":11805},188,[11807,11812],{"type":375,"tag":1228,"props":11808,"children":11809},{"style":1235},[11810],{"type":384,"value":11811},"          throw",{"type":375,"tag":1228,"props":11813,"children":11814},{"style":1241},[11815],{"type":384,"value":11816}," err;\n",{"type":375,"tag":1228,"props":11818,"children":11820},{"class":1230,"line":11819},189,[11821],{"type":375,"tag":1228,"props":11822,"children":11823},{"style":1241},[11824],{"type":384,"value":11825},"        }\n",{"type":375,"tag":1228,"props":11827,"children":11829},{"class":1230,"line":11828},190,[11830],{"type":375,"tag":1228,"props":11831,"children":11832},{"style":1241},[11833],{"type":384,"value":8319},{"type":375,"tag":1228,"props":11835,"children":11837},{"class":1230,"line":11836},191,[11838,11842,11847,11851,11855,11859,11864,11868,11872,11876,11880,11884,11889],{"type":375,"tag":1228,"props":11839,"children":11840},{"style":1235},[11841],{"type":384,"value":7320},{"type":375,"tag":1228,"props":11843,"children":11844},{"style":1241},[11845],{"type":384,"value":11846}," (created) ",{"type":375,"tag":1228,"props":11848,"children":11849},{"style":1235},[11850],{"type":384,"value":1333},{"type":375,"tag":1228,"props":11852,"children":11853},{"style":1298},[11854],{"type":384,"value":10633},{"type":375,"tag":1228,"props":11856,"children":11857},{"style":1241},[11858],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11860,"children":11861},{"style":1252},[11862],{"type":384,"value":11863},"`pause ${",{"type":375,"tag":1228,"props":11865,"children":11866},{"style":1241},[11867],{"type":384,"value":730},{"type":375,"tag":1228,"props":11869,"children":11870},{"style":1252},[11871],{"type":384,"value":4852},{"type":375,"tag":1228,"props":11873,"children":11874},{"style":1241},[11875],{"type":384,"value":11292},{"type":375,"tag":1228,"props":11877,"children":11878},{"style":1235},[11879],{"type":384,"value":3606},{"type":375,"tag":1228,"props":11881,"children":11882},{"style":1241},[11883],{"type":384,"value":2434},{"type":375,"tag":1228,"props":11885,"children":11886},{"style":1298},[11887],{"type":384,"value":11888},"pause",{"type":375,"tag":1228,"props":11890,"children":11891},{"style":1241},[11892],{"type":384,"value":11893},"(id));\n",{"type":375,"tag":1228,"props":11895,"children":11897},{"class":1230,"line":11896},192,[11898,11903,11907],{"type":375,"tag":1228,"props":11899,"children":11900},{"style":1241},[11901],{"type":384,"value":11902},"      state[e.sourceId] ",{"type":375,"tag":1228,"props":11904,"children":11905},{"style":1235},[11906],{"type":384,"value":3985},{"type":375,"tag":1228,"props":11908,"children":11909},{"style":1241},[11910],{"type":384,"value":11911}," id;\n",{"type":375,"tag":1228,"props":11913,"children":11915},{"class":1230,"line":11914},193,[11916,11921,11925,11929,11933,11937,11941,11945,11950,11955,11959,11964],{"type":375,"tag":1228,"props":11917,"children":11918},{"style":1298},[11919],{"type":384,"value":11920},"      writeFileSync",{"type":375,"tag":1228,"props":11922,"children":11923},{"style":1241},[11924],{"type":384,"value":1739},{"type":375,"tag":1228,"props":11926,"children":11927},{"style":1282},[11928],{"type":384,"value":9969},{"type":375,"tag":1228,"props":11930,"children":11931},{"style":1241},[11932],{"type":384,"value":1853},{"type":375,"tag":1228,"props":11934,"children":11935},{"style":1282},[11936],{"type":384,"value":10356},{"type":375,"tag":1228,"props":11938,"children":11939},{"style":1241},[11940],{"type":384,"value":433},{"type":375,"tag":1228,"props":11942,"children":11943},{"style":1298},[11944],{"type":384,"value":10365},{"type":375,"tag":1228,"props":11946,"children":11947},{"style":1241},[11948],{"type":384,"value":11949},"(state, ",{"type":375,"tag":1228,"props":11951,"children":11952},{"style":1282},[11953],{"type":384,"value":11954},"null",{"type":375,"tag":1228,"props":11956,"children":11957},{"style":1241},[11958],{"type":384,"value":1853},{"type":375,"tag":1228,"props":11960,"children":11961},{"style":1282},[11962],{"type":384,"value":11963},"2",{"type":375,"tag":1228,"props":11965,"children":11966},{"style":1241},[11967],{"type":384,"value":10982},{"type":375,"tag":1228,"props":11969,"children":11971},{"class":1230,"line":11970},194,[11972,11976,11981,11985,11990,11994,11999,12003,12008,12012,12017,12021,12025,12030],{"type":375,"tag":1228,"props":11973,"children":11974},{"style":1235},[11975],{"type":384,"value":7367},{"type":375,"tag":1228,"props":11977,"children":11978},{"style":1282},[11979],{"type":384,"value":11980}," secretNote",{"type":375,"tag":1228,"props":11982,"children":11983},{"style":1235},[11984],{"type":384,"value":1290},{"type":375,"tag":1228,"props":11986,"children":11987},{"style":1241},[11988],{"type":384,"value":11989}," created ",{"type":375,"tag":1228,"props":11991,"children":11992},{"style":1235},[11993],{"type":384,"value":6745},{"type":375,"tag":1228,"props":11995,"children":11996},{"style":1241},[11997],{"type":384,"value":11998}," (e.secret ",{"type":375,"tag":1228,"props":12000,"children":12001},{"style":1235},[12002],{"type":384,"value":6745},{"type":375,"tag":1228,"props":12004,"children":12005},{"style":1252},[12006],{"type":384,"value":12007}," \", secret imported\"",{"type":375,"tag":1228,"props":12009,"children":12010},{"style":1235},[12011],{"type":384,"value":6055},{"type":375,"tag":1228,"props":12013,"children":12014},{"style":1252},[12015],{"type":384,"value":12016}," \", NEW secret\"",{"type":375,"tag":1228,"props":12018,"children":12019},{"style":1241},[12020],{"type":384,"value":3601},{"type":375,"tag":1228,"props":12022,"children":12023},{"style":1235},[12024],{"type":384,"value":1212},{"type":375,"tag":1228,"props":12026,"children":12027},{"style":1252},[12028],{"type":384,"value":12029}," \"\"",{"type":375,"tag":1228,"props":12031,"children":12032},{"style":1241},[12033],{"type":384,"value":1260},{"type":375,"tag":1228,"props":12035,"children":12037},{"class":1230,"line":12036},195,[12038,12042,12047,12051,12055,12059,12063,12067,12071,12075,12079,12083,12088,12092,12096,12100,12104,12109,12113,12118,12123,12128,12132,12136,12140,12144,12149,12153,12157],{"type":375,"tag":1228,"props":12039,"children":12040},{"style":1241},[12041],{"type":384,"value":11011},{"type":375,"tag":1228,"props":12043,"children":12044},{"style":1298},[12045],{"type":384,"value":12046},"log",{"type":375,"tag":1228,"props":12048,"children":12049},{"style":1241},[12050],{"type":384,"value":1739},{"type":375,"tag":1228,"props":12052,"children":12053},{"style":1252},[12054],{"type":384,"value":4798},{"type":375,"tag":1228,"props":12056,"children":12057},{"style":1241},[12058],{"type":384,"value":8705},{"type":375,"tag":1228,"props":12060,"children":12061},{"style":1252},[12062],{"type":384,"value":433},{"type":375,"tag":1228,"props":12064,"children":12065},{"style":1241},[12066],{"type":384,"value":730},{"type":375,"tag":1228,"props":12068,"children":12069},{"style":1252},[12070],{"type":384,"value":6231},{"type":375,"tag":1228,"props":12072,"children":12073},{"style":1241},[12074],{"type":384,"value":8777},{"type":375,"tag":1228,"props":12076,"children":12077},{"style":1252},[12078],{"type":384,"value":433},{"type":375,"tag":1228,"props":12080,"children":12081},{"style":1241},[12082],{"type":384,"value":4189},{"type":375,"tag":1228,"props":12084,"children":12085},{"style":1252},[12086],{"type":384,"value":12087},"} -> ${",{"type":375,"tag":1228,"props":12089,"children":12090},{"style":1241},[12091],{"type":384,"value":730},{"type":375,"tag":1228,"props":12093,"children":12094},{"style":1252},[12095],{"type":384,"value":6249},{"type":375,"tag":1228,"props":12097,"children":12098},{"style":1241},[12099],{"type":384,"value":11489},{"type":375,"tag":1228,"props":12101,"children":12102},{"style":1235},[12103],{"type":384,"value":6037},{"type":375,"tag":1228,"props":12105,"children":12106},{"style":1252},[12107],{"type":384,"value":12108}," \"(created, paused\"",{"type":375,"tag":1228,"props":12110,"children":12111},{"style":1235},[12112],{"type":384,"value":6055},{"type":375,"tag":1228,"props":12114,"children":12115},{"style":1252},[12116],{"type":384,"value":12117}," \"(already existed, unchanged\"}${",{"type":375,"tag":1228,"props":12119,"children":12120},{"style":1241},[12121],{"type":384,"value":12122},"secretNote",{"type":375,"tag":1228,"props":12124,"children":12125},{"style":1252},[12126],{"type":384,"value":12127},"})${",{"type":375,"tag":1228,"props":12129,"children":12130},{"style":1241},[12131],{"type":384,"value":8777},{"type":375,"tag":1228,"props":12133,"children":12134},{"style":1252},[12135],{"type":384,"value":433},{"type":375,"tag":1228,"props":12137,"children":12138},{"style":1241},[12139],{"type":384,"value":5079},{"type":375,"tag":1228,"props":12141,"children":12142},{"style":1235},[12143],{"type":384,"value":6037},{"type":375,"tag":1228,"props":12145,"children":12146},{"style":1252},[12147],{"type":384,"value":12148}," \" [disabled at Outpost]\"",{"type":375,"tag":1228,"props":12150,"children":12151},{"style":1235},[12152],{"type":384,"value":6055},{"type":375,"tag":1228,"props":12154,"children":12155},{"style":1252},[12156],{"type":384,"value":6060},{"type":375,"tag":1228,"props":12158,"children":12159},{"style":1241},[12160],{"type":384,"value":1634},{"type":375,"tag":1228,"props":12162,"children":12164},{"class":1230,"line":12163},196,[12165],{"type":375,"tag":1228,"props":12166,"children":12167},{"style":1241},[12168],{"type":384,"value":8328},{"type":375,"tag":1228,"props":12170,"children":12172},{"class":1230,"line":12171},197,[12173],{"type":375,"tag":1228,"props":12174,"children":12175},{"style":1241},[12176],{"type":384,"value":3365},{"type":375,"tag":1228,"props":12178,"children":12180},{"class":1230,"line":12179},198,[12181],{"type":375,"tag":1228,"props":12182,"children":12183},{"style":1241},[12184],{"type":384,"value":3719},{"type":375,"tag":1228,"props":12186,"children":12188},{"class":1230,"line":12187},199,[12189],{"type":375,"tag":1228,"props":12190,"children":12191},{"emptyLinePlaceholder":1267},[12192],{"type":384,"value":1270},{"type":375,"tag":1228,"props":12194,"children":12196},{"class":1230,"line":12195},200,[12197,12201,12205,12209,12213,12217],{"type":375,"tag":1228,"props":12198,"children":12199},{"style":1235},[12200],{"type":384,"value":1279},{"type":375,"tag":1228,"props":12202,"children":12203},{"style":1282},[12204],{"type":384,"value":6980},{"type":375,"tag":1228,"props":12206,"children":12207},{"style":1235},[12208],{"type":384,"value":1290},{"type":375,"tag":1228,"props":12210,"children":12211},{"style":1235},[12212],{"type":384,"value":2429},{"type":375,"tag":1228,"props":12214,"children":12215},{"style":1298},[12216],{"type":384,"value":6941},{"type":375,"tag":1228,"props":12218,"children":12219},{"style":1241},[12220],{"type":384,"value":3532},{"type":375,"tag":1228,"props":12222,"children":12224},{"class":1230,"line":12223},201,[12225,12229,12233],{"type":375,"tag":1228,"props":12226,"children":12227},{"style":1235},[12228],{"type":384,"value":1333},{"type":375,"tag":1228,"props":12230,"children":12231},{"style":1298},[12232],{"type":384,"value":8409},{"type":375,"tag":1228,"props":12234,"children":12235},{"style":1241},[12236],{"type":384,"value":12237},"(plan);\n",{"type":375,"tag":1228,"props":12239,"children":12241},{"class":1230,"line":12240},202,[12242,12246,12251,12255,12260,12264,12268,12272,12276,12280],{"type":375,"tag":1228,"props":12243,"children":12244},{"style":1235},[12245],{"type":384,"value":1279},{"type":375,"tag":1228,"props":12247,"children":12248},{"style":1282},[12249],{"type":384,"value":12250}," endpoints",{"type":375,"tag":1228,"props":12252,"children":12253},{"style":1235},[12254],{"type":384,"value":1290},{"type":375,"tag":1228,"props":12256,"children":12257},{"style":1241},[12258],{"type":384,"value":12259}," plan.consumers.",{"type":375,"tag":1228,"props":12261,"children":12262},{"style":1298},[12263],{"type":384,"value":7291},{"type":375,"tag":1228,"props":12265,"children":12266},{"style":1241},[12267],{"type":384,"value":3591},{"type":375,"tag":1228,"props":12269,"children":12270},{"style":3276},[12271],{"type":384,"value":8705},{"type":375,"tag":1228,"props":12273,"children":12274},{"style":1241},[12275],{"type":384,"value":3601},{"type":375,"tag":1228,"props":12277,"children":12278},{"style":1235},[12279],{"type":384,"value":3606},{"type":375,"tag":1228,"props":12281,"children":12282},{"style":1241},[12283],{"type":384,"value":12284}," c.endpoints);\n",{"type":375,"tag":1228,"props":12286,"children":12288},{"class":1230,"line":12287},203,[12289,12293,12298,12302,12307,12311,12315,12319,12323,12327,12332,12336],{"type":375,"tag":1228,"props":12290,"children":12291},{"style":1235},[12292],{"type":384,"value":1279},{"type":375,"tag":1228,"props":12294,"children":12295},{"style":1282},[12296],{"type":384,"value":12297}," imported",{"type":375,"tag":1228,"props":12299,"children":12300},{"style":1235},[12301],{"type":384,"value":1290},{"type":375,"tag":1228,"props":12303,"children":12304},{"style":1241},[12305],{"type":384,"value":12306}," endpoints.",{"type":375,"tag":1228,"props":12308,"children":12309},{"style":1298},[12310],{"type":384,"value":642},{"type":375,"tag":1228,"props":12312,"children":12313},{"style":1241},[12314],{"type":384,"value":3591},{"type":375,"tag":1228,"props":12316,"children":12317},{"style":3276},[12318],{"type":384,"value":8777},{"type":375,"tag":1228,"props":12320,"children":12321},{"style":1241},[12322],{"type":384,"value":3601},{"type":375,"tag":1228,"props":12324,"children":12325},{"style":1235},[12326],{"type":384,"value":3606},{"type":375,"tag":1228,"props":12328,"children":12329},{"style":1241},[12330],{"type":384,"value":12331}," e.secret).",{"type":375,"tag":1228,"props":12333,"children":12334},{"style":1282},[12335],{"type":384,"value":3668},{"type":375,"tag":1228,"props":12337,"children":12338},{"style":1241},[12339],{"type":384,"value":1260},{"type":375,"tag":1228,"props":12341,"children":12343},{"class":1230,"line":12342},204,[12344,12349,12353,12357,12362,12366,12370,12374,12378,12382,12387,12391,12395,12399,12403,12407,12412,12416,12420,12424,12429,12434,12439,12443,12447,12451,12456,12460,12465],{"type":375,"tag":1228,"props":12345,"children":12346},{"style":1241},[12347],{"type":384,"value":12348},"console.",{"type":375,"tag":1228,"props":12350,"children":12351},{"style":1298},[12352],{"type":384,"value":12046},{"type":375,"tag":1228,"props":12354,"children":12355},{"style":1241},[12356],{"type":384,"value":1739},{"type":375,"tag":1228,"props":12358,"children":12359},{"style":1252},[12360],{"type":384,"value":12361},"`Plan: ${",{"type":375,"tag":1228,"props":12363,"children":12364},{"style":1241},[12365],{"type":384,"value":8418},{"type":375,"tag":1228,"props":12367,"children":12368},{"style":1252},[12369],{"type":384,"value":433},{"type":375,"tag":1228,"props":12371,"children":12372},{"style":1241},[12373],{"type":384,"value":4986},{"type":375,"tag":1228,"props":12375,"children":12376},{"style":1252},[12377],{"type":384,"value":433},{"type":375,"tag":1228,"props":12379,"children":12380},{"style":1282},[12381],{"type":384,"value":3668},{"type":375,"tag":1228,"props":12383,"children":12384},{"style":1252},[12385],{"type":384,"value":12386},"} event types, ${",{"type":375,"tag":1228,"props":12388,"children":12389},{"style":1241},[12390],{"type":384,"value":8418},{"type":375,"tag":1228,"props":12392,"children":12393},{"style":1252},[12394],{"type":384,"value":433},{"type":375,"tag":1228,"props":12396,"children":12397},{"style":1241},[12398],{"type":384,"value":8592},{"type":375,"tag":1228,"props":12400,"children":12401},{"style":1252},[12402],{"type":384,"value":433},{"type":375,"tag":1228,"props":12404,"children":12405},{"style":1282},[12406],{"type":384,"value":3668},{"type":375,"tag":1228,"props":12408,"children":12409},{"style":1252},[12410],{"type":384,"value":12411},"} consumers, ${",{"type":375,"tag":1228,"props":12413,"children":12414},{"style":1241},[12415],{"type":384,"value":5735},{"type":375,"tag":1228,"props":12417,"children":12418},{"style":1252},[12419],{"type":384,"value":433},{"type":375,"tag":1228,"props":12421,"children":12422},{"style":1282},[12423],{"type":384,"value":3668},{"type":375,"tag":1228,"props":12425,"children":12426},{"style":1252},[12427],{"type":384,"value":12428},"} endpoints (${",{"type":375,"tag":1228,"props":12430,"children":12431},{"style":1241},[12432],{"type":384,"value":12433},"imported",{"type":375,"tag":1228,"props":12435,"children":12436},{"style":1252},[12437],{"type":384,"value":12438},"} with an imported secret, ${",{"type":375,"tag":1228,"props":12440,"children":12441},{"style":1241},[12442],{"type":384,"value":5735},{"type":375,"tag":1228,"props":12444,"children":12445},{"style":1252},[12446],{"type":384,"value":433},{"type":375,"tag":1228,"props":12448,"children":12449},{"style":1282},[12450],{"type":384,"value":3668},{"type":375,"tag":1228,"props":12452,"children":12453},{"style":1235},[12454],{"type":384,"value":12455}," -",{"type":375,"tag":1228,"props":12457,"children":12458},{"style":1241},[12459],{"type":384,"value":12297},{"type":375,"tag":1228,"props":12461,"children":12462},{"style":1252},[12463],{"type":384,"value":12464},"} with a new one).`",{"type":375,"tag":1228,"props":12466,"children":12467},{"style":1241},[12468],{"type":384,"value":1634},{"type":375,"tag":1228,"props":12470,"children":12472},{"class":1230,"line":12471},205,[12473,12477,12481,12485,12490,12494,12498,12503],{"type":375,"tag":1228,"props":12474,"children":12475},{"style":1235},[12476],{"type":384,"value":9140},{"type":375,"tag":1228,"props":12478,"children":12479},{"style":1241},[12480],{"type":384,"value":2833},{"type":375,"tag":1228,"props":12482,"children":12483},{"style":1282},[12484],{"type":384,"value":4575},{"type":375,"tag":1228,"props":12486,"children":12487},{"style":1241},[12488],{"type":384,"value":12489},") console.",{"type":375,"tag":1228,"props":12491,"children":12492},{"style":1298},[12493],{"type":384,"value":12046},{"type":375,"tag":1228,"props":12495,"children":12496},{"style":1241},[12497],{"type":384,"value":1739},{"type":375,"tag":1228,"props":12499,"children":12500},{"style":1252},[12501],{"type":384,"value":12502},"\"Dry run: nothing was written. Run again with DRY_RUN=false to import.\"",{"type":375,"tag":1228,"props":12504,"children":12505},{"style":1241},[12506],{"type":384,"value":1634},{"type":375,"tag":1228,"props":12508,"children":12510},{"class":1230,"line":12509},206,[12511,12516,12520,12524],{"type":375,"tag":1228,"props":12512,"children":12513},{"style":1235},[12514],{"type":384,"value":12515},"else",{"type":375,"tag":1228,"props":12517,"children":12518},{"style":1235},[12519],{"type":384,"value":2429},{"type":375,"tag":1228,"props":12521,"children":12522},{"style":1298},[12523],{"type":384,"value":11200},{"type":375,"tag":1228,"props":12525,"children":12526},{"style":1241},[12527],{"type":384,"value":12237},{"type":375,"tag":376,"props":12529,"children":12530},{},[12531,12533,12538],{"type":384,"value":12532},"With more than a few hundred endpoints, run the script in batches (for example, set ",{"type":375,"tag":389,"props":12534,"children":12536},{"className":12535},[],[12537],{"type":384,"value":4418},{"type":384,"value":12539}," to one batch at a time) and review the output between runs. There is no bulk import endpoint.",{"type":375,"tag":435,"props":12541,"children":12543},{"id":12542},"let-your-agent-do-it",[12544],{"type":384,"value":12545},"Let your agent do it",{"type":375,"tag":12547,"props":12548,"children":12550},"agent-prompt",{"title":12549},"Migrate our outbound webhooks from Hookdeck Outpost to Webhook Relay",[12551,12564,12600],{"type":375,"tag":376,"props":12552,"children":12553},{},[12554,12556,12562],{"type":384,"value":12555},"Read ",{"type":375,"tag":411,"props":12557,"children":12560},{"href":12558,"rel":12559},"https://webhookrelay.com/outbound-migration/hookdeck-outpost.md",[1173],[12561],{"type":384,"value":12558},{"type":384,"value":12563}," and follow it step by step in this repository.",{"type":375,"tag":3753,"props":12565,"children":12566},{},[12567,12572,12585,12590,12595],{"type":375,"tag":3082,"props":12568,"children":12569},{},[12570],{"type":384,"value":12571},"Inventory every use of the Outpost SDK and API (publishing, tenant and destination management, secret display, receiver docs), and find out whether our Outpost instance uses the default or the Standard Webhooks signature mode.",{"type":375,"tag":3082,"props":12573,"children":12574},{},[12575,12577,12583],{"type":384,"value":12576},"Check GET ",{"type":375,"tag":411,"props":12578,"children":12581},{"href":12579,"rel":12580},"https://my.webhookrelay.com/v1/outbound/access",[1173],[12582],{"type":384,"value":12579},{"type":384,"value":12584},": confirm enabled is true and that our tenants, webhook destinations and topics fit within the returned limits. Stop and tell me if they don't.",{"type":375,"tag":3082,"props":12586,"children":12587},{},[12588],{"type":384,"value":12589},"Import event types, consumers and endpoints with the playbook's script, dry run first, passing each destination's existing signing secret where it fits the format. Every new endpoint must be paused. Report any non-webhook destinations and filters it skipped, and which endpoints got a new secret (by ID only).",{"type":375,"tag":3082,"props":12591,"children":12592},{},[12593],{"type":384,"value":12594},"Add a Webhook Relay publish call next to every Outpost publish call, behind a feature flag, using the Outpost event id as event_id and as the idempotency key.",{"type":375,"tag":3082,"props":12596,"children":12597},{},[12598],{"type":384,"value":12599},"Run the playbook's verification checks with a Webhook Bin and report the results.",{"type":375,"tag":376,"props":12601,"children":12602},{},[12603],{"type":384,"value":12604},"Never print, log or commit signing secrets. Never delete or modify Outpost tenants or destinations. Stop and ask me for approval before resuming any Webhook Relay endpoint or disabling any Outpost destination.",{"type":375,"tag":435,"props":12606,"children":12608},{"id":12607},"next-steps",[12609],{"type":384,"value":12610},"Next steps",{"type":375,"tag":3078,"props":12612,"children":12613},{},[12614,12624,12633],{"type":375,"tag":3082,"props":12615,"children":12616},{},[12617,12622],{"type":375,"tag":411,"props":12618,"children":12619},{"href":77},[12620],{"type":384,"value":12621},"Migration overview",{"type":384,"value":12623},": limits, what doesn't carry over and the general cutover plan.",{"type":375,"tag":3082,"props":12625,"children":12626},{},[12627,12631],{"type":375,"tag":411,"props":12628,"children":12629},{"href":71},[12630],{"type":384,"value":72},{"type":384,"value":12632},": send this to customers whose receivers change.",{"type":375,"tag":3082,"props":12634,"children":12635},{},[12636,12640],{"type":375,"tag":411,"props":12637,"children":12638},{"href":74},[12639],{"type":384,"value":75},{"type":384,"value":12641},": delivery history, endpoint health, pause and resume.",{"type":375,"tag":12643,"props":12644,"children":12645},"style",{},[12646],{"type":384,"value":12647},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":345,"searchDepth":1273,"depth":1273,"links":12649},[12650,12651,12655,12656,12657,12658,12659,12660],{"id":437,"depth":1263,"text":440},{"id":812,"depth":1263,"text":815,"children":12652},[12653,12654],{"id":1197,"depth":1273,"text":978},{"id":2294,"depth":1273,"text":2297},{"id":2817,"depth":1263,"text":2820},{"id":3748,"depth":1263,"text":3751},{"id":3946,"depth":1263,"text":3949},{"id":4353,"depth":1263,"text":4356},{"id":12542,"depth":1263,"text":12545},{"id":12607,"depth":1263,"text":12610},"markdown","content:docs:outbound:5.migrate:3.hookdeck-outpost.md","content","docs/outbound/5.migrate/3.hookdeck-outpost.md","docs/outbound/5.migrate/3.hookdeck-outpost","md",{"loc":83},1792946407426]