@react-email/preview-server 5.0.0-canary.8 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +2 -2
  3. package/.next/fallback-build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/server/app/_global-error.html +2 -2
  6. package/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
  12. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  13. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/page/server-reference-manifest.json +1 -1
  15. package/.next/server/app/page.js.nft.json +1 -1
  16. package/.next/server/app/page_client-reference-manifest.js +1 -1
  17. package/.next/server/app/preview/[...slug]/page/server-reference-manifest.json +7 -7
  18. package/.next/server/app/preview/[...slug]/page.js +1 -1
  19. package/.next/server/app/preview/[...slug]/page.js.nft.json +1 -1
  20. package/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +1 -1
  21. package/.next/server/chunks/ssr/[root-of-the-server]__18129482._.js +3 -3
  22. package/.next/server/chunks/ssr/{[root-of-the-server]__d720c507._.js → [root-of-the-server]__c94da270._.js} +3 -3
  23. package/.next/server/chunks/ssr/{[root-of-the-server]__d720c507._.js.map → [root-of-the-server]__c94da270._.js.map} +1 -1
  24. package/.next/server/chunks/ssr/{[root-of-the-server]__0f2789e9._.js → [root-of-the-server]__d473ad55._.js} +2 -2
  25. package/.next/server/chunks/ssr/_1e7382c4._.js +1 -1
  26. package/.next/server/chunks/ssr/_1e7382c4._.js.map +1 -1
  27. package/.next/server/chunks/ssr/_1f94369d._.js +65 -0
  28. package/.next/server/chunks/ssr/_1f94369d._.js.map +1 -0
  29. package/.next/server/chunks/ssr/_38d04011._.js +1 -1
  30. package/.next/server/chunks/ssr/_38d04011._.js.map +1 -1
  31. package/.next/server/chunks/ssr/_4918e306._.js +1 -1
  32. package/.next/server/chunks/ssr/_4918e306._.js.map +1 -1
  33. package/.next/server/chunks/ssr/_79065a4e._.js +1 -1
  34. package/.next/server/chunks/ssr/_79065a4e._.js.map +1 -1
  35. package/.next/server/chunks/ssr/_d3e887f6._.js +1 -1
  36. package/.next/server/chunks/ssr/_d3e887f6._.js.map +1 -1
  37. package/.next/server/chunks/ssr/packages_preview-server_src_f0998b31._.js +1 -1
  38. package/.next/server/chunks/ssr/packages_preview-server_src_f0998b31._.js.map +1 -1
  39. package/.next/server/pages/500.html +2 -2
  40. package/.next/server/server-reference-manifest.js +1 -1
  41. package/.next/server/server-reference-manifest.json +8 -8
  42. package/.next/static/chunks/0b113982472e3e1b.js +1 -0
  43. package/.next/static/chunks/{8ce29851cb58a52a.js → 45b1225b2717626c.js} +1 -1
  44. package/.next/static/chunks/{f5ff5c112f33b111.js → 6e2fa401bc616db8.js} +1 -1
  45. package/.next/static/chunks/daa3196100e7d340.css +3 -0
  46. package/.next/static/chunks/{1d92333769998bd1.js → fca0e5e80bb0405b.js} +1 -1
  47. package/.next/trace +1 -1
  48. package/.next/trace-build +1 -1
  49. package/CHANGELOG.md +51 -0
  50. package/package.json +3 -3
  51. package/src/app/preview/[...slug]/preview.tsx +5 -4
  52. package/src/components/button.tsx +1 -1
  53. package/src/components/icons/icon-moon.tsx +5 -2
  54. package/src/components/icons/icon-sun.tsx +63 -2
  55. package/src/components/toolbar.tsx +2 -2
  56. package/src/components/topbar/active-view-toggle-group.tsx +3 -3
  57. package/src/components/topbar/emulated-dark-mode-toggle.tsx +24 -2
  58. package/src/components/topbar/view-size-controls.tsx +1 -3
  59. package/.next/server/chunks/ssr/node_modules__pnpm_2fa1fe8f._.js +0 -65
  60. package/.next/server/chunks/ssr/node_modules__pnpm_2fa1fe8f._.js.map +0 -1
  61. package/.next/static/chunks/2e3bb8dc1fdb6193.css +0 -3
  62. package/.next/static/chunks/53569ee8c1ffd28c.js +0 -1
  63. /package/.next/server/chunks/ssr/{[root-of-the-server]__0f2789e9._.js.map → [root-of-the-server]__d473ad55._.js.map} +0 -0
  64. /package/.next/static/{r7_8ybl_LZyJsI81XC8pI → wK2_Oz3JEpImYMZG6pJ_C}/_buildManifest.js +0 -0
  65. /package/.next/static/{r7_8ybl_LZyJsI81XC8pI → wK2_Oz3JEpImYMZG6pJ_C}/_clientMiddlewareManifest.json +0 -0
  66. /package/.next/static/{r7_8ybl_LZyJsI81XC8pI → wK2_Oz3JEpImYMZG6pJ_C}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/applicationIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/applicationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/applicationPatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseApplicationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/util.ts","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/max.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/nil.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/regex.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/validate.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/parse.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/stringify.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/rng.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v1.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v1ToV6.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v35.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/md5.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v3.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/native.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v4.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/sha1.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v5.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v6.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v6ToV1.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v7.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/version.js","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/request.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/application.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appPortalCapability.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appPortalAccessIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appPortalAccessOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/applicationTokenExpireIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/dashboardAccessOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/authentication.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/backgroundTaskStatus.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/backgroundTaskType.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/backgroundTaskOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseBackgroundTaskOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/backgroundTask.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointHeadersIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointHeadersOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointHeadersPatchIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointPatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointSecretOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointSecretRotateIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointStats.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointTransformationIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointTransformationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointTransformationPatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventExampleIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/recoverIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/recoverOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/replayIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/replayOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/endpoint.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/connectorKind.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/connectorIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/environmentIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/connectorOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/environmentOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/environment.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeImportOpenApiIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeFromOpenApi.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeImportOpenApiOutData.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeImportOpenApiOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypePatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseEventTypeOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/eventType.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/health.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestSourceConsumerPortalAccessIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointHeadersIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointHeadersOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointSecretIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointSecretOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointTransformationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointTransformationPatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseIngestEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/ingestEndpoint.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/adobeSignConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/airwallexConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/checkbookConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/cronConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/docusignConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/easypostConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/githubConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/hubspotConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/orumIoConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pandaDocConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/portIoConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/rutterConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/segmentConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/shopifyConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/slackConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/stripeConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/svixConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/telnyxConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/vapiConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/veriffConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/zoomConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestSourceIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/adobeSignConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/airwallexConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/checkbookConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/docusignConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/easypostConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/githubConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/hubspotConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/orumIoConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pandaDocConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/portIoConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/rutterConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/segmentConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/shopifyConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/slackConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/stripeConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/svixConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/telnyxConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/vapiConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/veriffConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/zoomConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestSourceOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseIngestSourceOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/rotateTokenOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/ingestSource.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/ingest.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/integrationIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/integrationKeyOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/integrationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/integrationUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseIntegrationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/integration.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/expungeAllContentsOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseMessageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pollingEndpointConsumerSeekIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pollingEndpointConsumerSeekOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pollingEndpointMessageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pollingEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/messagePoller.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/message.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageStatus.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageStatusText.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointMessageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseEndpointMessageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageAttemptTriggerType.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageAttemptOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseMessageAttemptOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseMessageEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/messageAttempt.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseOperationalWebhookEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointHeadersIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointHeadersOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointSecretIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointSecretOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/operationalWebhookEndpoint.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/operationalWebhook.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/aggregateEventTypesOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appUsageStatsIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appUsageStatsOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/statistics.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/HttpErrors.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/timing_safe_equal.ts","turbopack:///[project]/node_modules/.pnpm/@stablelib+base64@1.0.1/node_modules/@stablelib/base64/base64.ts","turbopack:///[project]/node_modules/.pnpm/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.js","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/webhook.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointDisabledTrigger.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ordering.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/statusCodeClass.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/index.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/index.ts","turbopack:///[project]/node_modules/.pnpm/resend@6.4.0_@react-email+render@1.0.6_react-dom@19.0.0_react@19.0.0__react@19.0.0_/node_modules/resend/dist/index.mjs","turbopack:///[project]/packages/preview-server/.next-internal/server/app/preview/[...slug]/page/actions.js (server actions loader)","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/bailout-to-csr.ts","turbopack:///[project]/packages/preview-server/src/actions/export-single-template.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/.pnpm/deepmerge-ts@7.1.5/node_modules/deepmerge-ts/dist/index.mjs","turbopack:///[project]/packages/preview-server/src/actions/safe-action.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/http-access-fallback.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/redirect.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/router.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/dynamic-usage.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/postpone.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/index.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/standard-schema.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/utils.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/validation-errors.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/action-builder.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/safe-action-client.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/middleware.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/index.ts"],"sourcesContent":["// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ApplicationIn {\n metadata?: { [key: string]: string };\n name: string;\n rateLimit?: number | null;\n /** Optional unique identifier for the application. */\n uid?: string | null;\n}\n\nexport const ApplicationInSerializer = {\n _fromJsonObject(object: any): ApplicationIn {\n return {\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n };\n },\n\n _toJsonObject(self: ApplicationIn): any {\n return {\n metadata: self.metadata,\n name: self.name,\n rateLimit: self.rateLimit,\n uid: self.uid,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ApplicationOut {\n createdAt: Date;\n /** The Application's ID. */\n id: string;\n metadata: { [key: string]: string };\n name: string;\n rateLimit?: number | null;\n /** The Application's UID. */\n uid?: string | null;\n updatedAt: Date;\n}\n\nexport const ApplicationOutSerializer = {\n _fromJsonObject(object: any): ApplicationOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n id: object[\"id\"],\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: ApplicationOut): any {\n return {\n createdAt: self.createdAt,\n id: self.id,\n metadata: self.metadata,\n name: self.name,\n rateLimit: self.rateLimit,\n uid: self.uid,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ApplicationPatch {\n metadata?: { [key: string]: string };\n name?: string;\n rateLimit?: number | null;\n /** The Application's UID. */\n uid?: string | null;\n}\n\nexport const ApplicationPatchSerializer = {\n _fromJsonObject(object: any): ApplicationPatch {\n return {\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n };\n },\n\n _toJsonObject(self: ApplicationPatch): any {\n return {\n metadata: self.metadata,\n name: self.name,\n rateLimit: self.rateLimit,\n uid: self.uid,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ApplicationOut, ApplicationOutSerializer } from \"./applicationOut\";\n\nexport interface ListResponseApplicationOut {\n data: ApplicationOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseApplicationOutSerializer = {\n _fromJsonObject(object: any): ListResponseApplicationOut {\n return {\n data: object[\"data\"].map((item: ApplicationOut) =>\n ApplicationOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseApplicationOut): any {\n return {\n data: self.data.map((item) => ApplicationOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","export interface PostOptions {\n idempotencyKey?: string;\n}\n\nexport class ApiException<T> extends Error {\n public headers: Record<string, string> = {};\n\n public constructor(\n public code: number,\n public body: T,\n headers: Headers\n ) {\n super(`HTTP-Code: ${code}\\nHeaders: ${JSON.stringify(headers)}`);\n\n headers.forEach((value: string, name: string) => {\n this.headers[name] = value;\n });\n }\n}\n\nexport type XOR<T, U> =\n | (T & { [K in keyof U]?: never })\n | (U & { [K in keyof T]?: never });\n","export default 'ffffffff-ffff-ffff-ffff-ffffffffffff';","export default '00000000-0000-0000-0000-000000000000';","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;","import REGEX from './regex.js';\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\nexport default validate;","import validate from './validate.js';\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n let v;\n const arr = new Uint8Array(16);\n\n // Parse ########-....-....-....-............\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff;\n\n // Parse ........-####-....-....-............\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff;\n\n // Parse ........-....-####-....-............\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff;\n\n // Parse ........-....-....-####-............\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff;\n\n // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\nexport default parse;","import validate from './validate.js';\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n //\n // Note to future-self: No, you can't remove the `toLowerCase()` call.\n // REF: https://github.com/uuidjs/uuid/pull/677#issuecomment-1757351351\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset);\n // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;","import crypto from 'node:crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nlet _nodeId;\nlet _clockseq;\n\n// Previous uuid creation time\nlet _lastMSecs = 0;\nlet _lastNSecs = 0;\n\n// See https://github.com/uuidjs/uuid for API details\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node;\n let clockseq = options.clockseq;\n\n // v1 only: Use cached `node` and `clockseq` values\n if (!options._v6) {\n if (!node) {\n node = _nodeId;\n }\n if (clockseq == null) {\n clockseq = _clockseq;\n }\n }\n\n // Handle cases where we need entropy. We do this lazily to minimize issues\n // related to insufficient system entropy. See #189\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || rng)();\n\n // Randomize node\n if (node == null) {\n node = [seedBytes[0], seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n\n // v1 only: cache node value for reuse\n if (!_nodeId && !options._v6) {\n // per RFC4122 4.5: Set MAC multicast bit (v1 only)\n node[0] |= 0x01; // Set multicast bit\n\n _nodeId = node;\n }\n }\n\n // Randomize clockseq\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n if (_clockseq === undefined && !options._v6) {\n _clockseq = clockseq;\n }\n }\n }\n\n // v1 & v6 timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so time is\n // handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n let msecs = options.msecs !== undefined ? options.msecs : Date.now();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n return buf || unsafeStringify(b);\n}\nexport default v1;","import parse from './parse.js';\nimport { unsafeStringify } from './stringify.js';\n\n/**\n * Convert a v1 UUID to a v6 UUID\n *\n * @param {string|Uint8Array} uuid - The v1 UUID to convert to v6\n * @returns {string|Uint8Array} The v6 UUID as the same type as the `uuid` arg\n * (string or Uint8Array)\n */\nexport default function v1ToV6(uuid) {\n const v1Bytes = typeof uuid === 'string' ? parse(uuid) : uuid;\n const v6Bytes = _v1ToV6(v1Bytes);\n return typeof uuid === 'string' ? unsafeStringify(v6Bytes) : v6Bytes;\n}\n\n// Do the field transformation needed for v1 -> v6\nfunction _v1ToV6(v1Bytes, randomize = false) {\n return Uint8Array.of((v1Bytes[6] & 0x0f) << 4 | v1Bytes[7] >> 4 & 0x0f, (v1Bytes[7] & 0x0f) << 4 | (v1Bytes[4] & 0xf0) >> 4, (v1Bytes[4] & 0x0f) << 4 | (v1Bytes[5] & 0xf0) >> 4, (v1Bytes[5] & 0x0f) << 4 | (v1Bytes[0] & 0xf0) >> 4, (v1Bytes[0] & 0x0f) << 4 | (v1Bytes[1] & 0xf0) >> 4, (v1Bytes[1] & 0x0f) << 4 | (v1Bytes[2] & 0xf0) >> 4, 0x60 | v1Bytes[2] & 0x0f, v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]);\n}","import { unsafeStringify } from './stringify.js';\nimport parse from './parse.js';\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n return bytes;\n}\nexport const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function v35(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n var _namespace;\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n }\n\n // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n if (buf) {\n offset = offset || 0;\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n return buf;\n }\n return unsafeStringify(bytes);\n }\n\n // Function#name is not settable on some platforms (#270)\n try {\n generateUUID.name = name;\n } catch (err) {}\n\n // For CommonJS default export support\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","import crypto from 'node:crypto';\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n return crypto.createHash('md5').update(bytes).digest();\n}\nexport default md5;","import v35 from './v35.js';\nimport md5 from './md5.js';\nconst v3 = v35('v3', 0x30, md5);\nexport default v3;","import crypto from 'node:crypto';\nexport default {\n randomUUID: crypto.randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n const rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;","import crypto from 'node:crypto';\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n return crypto.createHash('sha1').update(bytes).digest();\n}\nexport default sha1;","import v35 from './v35.js';\nimport sha1 from './sha1.js';\nconst v5 = v35('v5', 0x50, sha1);\nexport default v5;","import { unsafeStringify } from './stringify.js';\nimport v1 from './v1.js';\nimport v1ToV6 from './v1ToV6.js';\n\n/**\n *\n * @param {object} options\n * @param {Uint8Array=} buf\n * @param {number=} offset\n * @returns\n */\nexport default function v6(options = {}, buf, offset = 0) {\n // v6 is v1 with different field layout, so we start with a v1 UUID, albeit\n // with slightly different behavior around how the clock_seq and node fields\n // are randomized, which is why we call v1 with _v6: true.\n let bytes = v1({\n ...options,\n _v6: true\n }, new Uint8Array(16));\n\n // Reorder the fields to v6 layout.\n bytes = v1ToV6(bytes);\n\n // Return as a byte array if requested\n if (buf) {\n for (let i = 0; i < 16; i++) {\n buf[offset + i] = bytes[i];\n }\n return buf;\n }\n return unsafeStringify(bytes);\n}","import parse from './parse.js';\nimport { unsafeStringify } from './stringify.js';\n\n/**\n * Convert a v6 UUID to a v1 UUID\n *\n * @param {string|Uint8Array} uuid - The v6 UUID to convert to v6\n * @returns {string|Uint8Array} The v1 UUID as the same type as the `uuid` arg\n * (string or Uint8Array)\n */\nexport default function v6ToV1(uuid) {\n const v6Bytes = typeof uuid === 'string' ? parse(uuid) : uuid;\n const v1Bytes = _v6ToV1(v6Bytes);\n return typeof uuid === 'string' ? unsafeStringify(v1Bytes) : v1Bytes;\n}\n\n// Do the field transformation needed for v6 -> v1\nfunction _v6ToV1(v6Bytes) {\n return Uint8Array.of((v6Bytes[3] & 0x0f) << 4 | v6Bytes[4] >> 4 & 0x0f, (v6Bytes[4] & 0x0f) << 4 | (v6Bytes[5] & 0xf0) >> 4, (v6Bytes[5] & 0x0f) << 4 | v6Bytes[6] & 0x0f, v6Bytes[7], (v6Bytes[1] & 0x0f) << 4 | (v6Bytes[2] & 0xf0) >> 4, (v6Bytes[2] & 0x0f) << 4 | (v6Bytes[3] & 0xf0) >> 4, 0x10 | (v6Bytes[0] & 0xf0) >> 4, (v6Bytes[0] & 0x0f) << 4 | (v6Bytes[1] & 0xf0) >> 4, v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]);\n}","import rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\n/**\n * UUID V7 - Unix Epoch time-based UUID\n *\n * The IETF has published RFC9562, introducing 3 new UUID versions (6,7,8). This\n * implementation of V7 is based on the accepted, though not yet approved,\n * revisions.\n *\n * RFC 9562:https://www.rfc-editor.org/rfc/rfc9562.html Universally Unique\n * IDentifiers (UUIDs)\n\n *\n * Sample V7 value:\n * https://www.rfc-editor.org/rfc/rfc9562.html#name-example-of-a-uuidv7-value\n *\n * Monotonic Bit Layout: RFC rfc9562.6.2 Method 1, Dedicated Counter Bits ref:\n * https://www.rfc-editor.org/rfc/rfc9562.html#section-6.2-5.1\n *\n * 0 1 2 3 0 1 2 3 4 5 6\n * 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n * | unix_ts_ms |\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n * | unix_ts_ms | ver | seq_hi |\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n * |var| seq_low | rand |\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n * | rand |\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n *\n * seq is a 31 bit serialized counter; comprised of 12 bit seq_hi and 19 bit\n * seq_low, and randomly initialized upon timestamp change. 31 bit counter size\n * was selected as any bitwise operations in node are done as _signed_ 32 bit\n * ints. we exclude the sign bit.\n */\n\nlet _seqLow = null;\nlet _seqHigh = null;\nlet _msecs = 0;\nfunction v7(options, buf, offset) {\n options = options || {};\n\n // initialize buffer and pointer\n let i = buf && offset || 0;\n const b = buf || new Uint8Array(16);\n\n // rnds is Uint8Array(16) filled with random bytes\n const rnds = options.random || (options.rng || rng)();\n\n // milliseconds since unix epoch, 1970-01-01 00:00\n const msecs = options.msecs !== undefined ? options.msecs : Date.now();\n\n // seq is user provided 31 bit counter\n let seq = options.seq !== undefined ? options.seq : null;\n\n // initialize local seq high/low parts\n let seqHigh = _seqHigh;\n let seqLow = _seqLow;\n\n // check if clock has advanced and user has not provided msecs\n if (msecs > _msecs && options.msecs === undefined) {\n _msecs = msecs;\n\n // unless user provided seq, reset seq parts\n if (seq !== null) {\n seqHigh = null;\n seqLow = null;\n }\n }\n\n // if we have a user provided seq\n if (seq !== null) {\n // trim provided seq to 31 bits of value, avoiding overflow\n if (seq > 0x7fffffff) {\n seq = 0x7fffffff;\n }\n\n // split provided seq into high/low parts\n seqHigh = seq >>> 19 & 0xfff;\n seqLow = seq & 0x7ffff;\n }\n\n // randomly initialize seq\n if (seqHigh === null || seqLow === null) {\n seqHigh = rnds[6] & 0x7f;\n seqHigh = seqHigh << 8 | rnds[7];\n seqLow = rnds[8] & 0x3f; // pad for var\n seqLow = seqLow << 8 | rnds[9];\n seqLow = seqLow << 5 | rnds[10] >>> 3;\n }\n\n // increment seq if within msecs window\n if (msecs + 10000 > _msecs && seq === null) {\n if (++seqLow > 0x7ffff) {\n seqLow = 0;\n if (++seqHigh > 0xfff) {\n seqHigh = 0;\n\n // increment internal _msecs. this allows us to continue incrementing\n // while staying monotonic. Note, once we hit 10k milliseconds beyond system\n // clock, we will reset breaking monotonicity (after (2^31)*10000 generations)\n _msecs++;\n }\n }\n } else {\n // resetting; we have advanced more than\n // 10k milliseconds beyond system clock\n _msecs = msecs;\n }\n _seqHigh = seqHigh;\n _seqLow = seqLow;\n\n // [bytes 0-5] 48 bits of local timestamp\n b[i++] = _msecs / 0x10000000000 & 0xff;\n b[i++] = _msecs / 0x100000000 & 0xff;\n b[i++] = _msecs / 0x1000000 & 0xff;\n b[i++] = _msecs / 0x10000 & 0xff;\n b[i++] = _msecs / 0x100 & 0xff;\n b[i++] = _msecs & 0xff;\n\n // [byte 6] - set 4 bits of version (7) with first 4 bits seq_hi\n b[i++] = seqHigh >>> 4 & 0x0f | 0x70;\n\n // [byte 7] remaining 8 bits of seq_hi\n b[i++] = seqHigh & 0xff;\n\n // [byte 8] - variant (2 bits), first 6 bits seq_low\n b[i++] = seqLow >>> 13 & 0x3f | 0x80;\n\n // [byte 9] 8 bits seq_low\n b[i++] = seqLow >>> 5 & 0xff;\n\n // [byte 10] remaining 5 bits seq_low, 3 bits random\n b[i++] = seqLow << 3 & 0xff | rnds[10] & 0x07;\n\n // [bytes 11-15] always random\n b[i++] = rnds[11];\n b[i++] = rnds[12];\n b[i++] = rnds[13];\n b[i++] = rnds[14];\n b[i++] = rnds[15];\n return buf || unsafeStringify(b);\n}\nexport default v7;","import validate from './validate.js';\nfunction version(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n return parseInt(uuid.slice(14, 15), 16);\n}\nexport default version;","import { ApiException, XOR } from \"./util\";\nimport { HttpErrorOut, HTTPValidationError } from \"./HttpErrors\";\nimport { v4 as uuidv4 } from \"uuid\";\n\nexport const LIB_VERSION = \"1.76.1\";\nconst USER_AGENT = `svix-libs/${LIB_VERSION}/javascript`;\n\nexport enum HttpMethod {\n GET = \"GET\",\n HEAD = \"HEAD\",\n POST = \"POST\",\n PUT = \"PUT\",\n DELETE = \"DELETE\",\n CONNECT = \"CONNECT\",\n OPTIONS = \"OPTIONS\",\n TRACE = \"TRACE\",\n PATCH = \"PATCH\",\n}\n\nexport type SvixRequestContext = {\n /** The API base URL, like \"https://api.svix.com\" */\n baseUrl: string;\n /** The 'bearer' scheme access token */\n token: string;\n /** Time in milliseconds to wait for requests to get a response. */\n timeout?: number;\n} & XOR<\n {\n /** List of delays (in milliseconds) to wait before each retry attempt.*/\n retryScheduleInMs?: number[];\n },\n {\n /** The number of times the client will retry if a server-side error\n * or timeout is received.\n * Default: 2\n */\n numRetries?: number;\n }\n>;\n\ntype QueryParameter = string | boolean | number | Date | string[] | null | undefined;\n\nexport class SvixRequest {\n constructor(\n private readonly method: HttpMethod,\n private path: string\n ) {}\n\n private body?: string;\n private queryParams: Record<string, string> = {};\n private headerParams: Record<string, string> = {};\n\n public setPathParam(name: string, value: string) {\n const newPath = this.path.replace(`{${name}}`, encodeURIComponent(value));\n if (this.path === newPath) {\n throw new Error(`path parameter ${name} not found`);\n }\n this.path = newPath;\n }\n\n public setQueryParam(name: string, value: QueryParameter) {\n if (value === undefined || value === null) {\n return;\n }\n\n if (typeof value === \"string\") {\n this.queryParams[name] = value;\n } else if (typeof value === \"boolean\" || typeof value === \"number\") {\n this.queryParams[name] = value.toString();\n } else if (value instanceof Date) {\n this.queryParams[name] = value.toISOString();\n } else if (value instanceof Array) {\n if (value.length > 0) {\n this.queryParams[name] = value.join(\",\");\n }\n } else {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _assert_unreachable: never = value;\n throw new Error(`query parameter ${name} has unsupported type`);\n }\n }\n\n public setHeaderParam(name: string, value?: string) {\n if (value === undefined) {\n return;\n }\n\n this.headerParams[name] = value;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public setBody(value: any) {\n this.body = JSON.stringify(value);\n }\n\n /**\n * Send this request, returning the request body as a caller-specified type.\n *\n * If the server returns a 422 error, an `ApiException<HTTPValidationError>` is thrown.\n * If the server returns another 4xx error, an `ApiException<HttpErrorOut>` is thrown.\n *\n * If the server returns a 5xx error, the request is retried up to two times with exponential backoff.\n * If retries are exhausted, an `ApiException<HttpErrorOut>` is thrown.\n */\n public async send<R>(\n ctx: SvixRequestContext,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n parseResponseBody: (jsonObject: any) => R\n ): Promise<R> {\n const response = await this.sendInner(ctx);\n if (response.status == 204) {\n return <R>null;\n }\n const responseBody = await response.text();\n return parseResponseBody(JSON.parse(responseBody));\n }\n\n /** Same as `send`, but the response body is discarded, not parsed. */\n public async sendNoResponseBody(ctx: SvixRequestContext): Promise<void> {\n await this.sendInner(ctx);\n }\n\n private async sendInner(ctx: SvixRequestContext): Promise<Response> {\n const url = new URL(ctx.baseUrl + this.path);\n for (const [name, value] of Object.entries(this.queryParams)) {\n url.searchParams.set(name, value);\n }\n\n if (\n this.headerParams[\"idempotency-key\"] === undefined &&\n this.method.toUpperCase() === \"POST\"\n ) {\n this.headerParams[\"idempotency-key\"] = \"auto_\" + uuidv4();\n }\n\n const randomId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);\n\n if (this.body != null) {\n this.headerParams[\"content-type\"] = \"application/json\";\n }\n // Cloudflare Workers fail if the credentials option is used in a fetch call.\n // This work around that. Source:\n // https://github.com/cloudflare/workers-sdk/issues/2514#issuecomment-2178070014\n const isCredentialsSupported = \"credentials\" in Request.prototype;\n\n const response = await sendWithRetry(\n url,\n {\n method: this.method.toString(),\n body: this.body,\n headers: {\n accept: \"application/json, */*;q=0.8\",\n authorization: `Bearer ${ctx.token}`,\n \"user-agent\": USER_AGENT,\n \"svix-req-id\": randomId.toString(),\n ...this.headerParams,\n },\n credentials: isCredentialsSupported ? \"same-origin\" : undefined,\n signal: ctx.timeout !== undefined ? AbortSignal.timeout(ctx.timeout) : undefined,\n },\n ctx.retryScheduleInMs,\n ctx.retryScheduleInMs?.[0],\n ctx.retryScheduleInMs?.length || ctx.numRetries\n );\n return filterResponseForErrors(response);\n }\n}\n\nasync function filterResponseForErrors(response: Response): Promise<Response> {\n if (response.status < 300) {\n return response;\n }\n\n const responseBody = await response.text();\n\n if (response.status === 422) {\n throw new ApiException<HTTPValidationError>(\n response.status,\n JSON.parse(responseBody) as HTTPValidationError,\n response.headers\n );\n }\n\n if (response.status >= 400 && response.status <= 499) {\n throw new ApiException<HttpErrorOut>(\n response.status,\n JSON.parse(responseBody) as HttpErrorOut,\n response.headers\n );\n }\n throw new ApiException(response.status, responseBody, response.headers);\n}\n\ntype SvixRequestInit = RequestInit & {\n headers: Record<string, string>;\n};\n\nasync function sendWithRetry(\n url: URL,\n init: SvixRequestInit,\n retryScheduleInMs?: number[],\n nextInterval = 50,\n triesLeft = 2,\n retryCount = 1\n): Promise<Response> {\n const sleep = (interval: number) =>\n new Promise((resolve) => setTimeout(resolve, interval));\n\n try {\n const response = await fetch(url, init);\n if (triesLeft <= 0 || response.status < 500) {\n return response;\n }\n } catch (e) {\n if (triesLeft <= 0) {\n throw e;\n }\n }\n\n await sleep(nextInterval);\n init.headers[\"svix-retry-count\"] = retryCount.toString();\n nextInterval = retryScheduleInMs?.[retryCount] || nextInterval * 2;\n return await sendWithRetry(\n url,\n init,\n retryScheduleInMs,\n nextInterval,\n --triesLeft,\n ++retryCount\n );\n}\n","// this file is @generated\n\nimport { ApplicationIn, ApplicationInSerializer } from \"../models/applicationIn\";\nimport { ApplicationOut, ApplicationOutSerializer } from \"../models/applicationOut\";\nimport { ApplicationPatch, ApplicationPatchSerializer } from \"../models/applicationPatch\";\nimport {\n ListResponseApplicationOut,\n ListResponseApplicationOutSerializer,\n} from \"../models/listResponseApplicationOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface ApplicationListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface ApplicationCreateOptions {\n idempotencyKey?: string;\n}\n\nexport class Application {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List of all the organization's applications. */\n public list(options?: ApplicationListOptions): Promise<ListResponseApplicationOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app\");\n\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseApplicationOutSerializer._fromJsonObject\n );\n }\n\n /** Create a new application. */\n public create(\n applicationIn: ApplicationIn,\n options?: ApplicationCreateOptions\n ): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(ApplicationInSerializer._toJsonObject(applicationIn));\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n\n /** Get the application with the UID from `applicationIn`, or create it if it doesn't exist yet. */\n public getOrCreate(\n applicationIn: ApplicationIn,\n options?: ApplicationCreateOptions\n ): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app\");\n\n request.setQueryParam(\"get_if_exists\", true);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(ApplicationInSerializer._toJsonObject(applicationIn));\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n\n /** Get an application. */\n public get(appId: string): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}\");\n\n request.setPathParam(\"app_id\", appId);\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n\n /** Update an application. */\n public update(appId: string, applicationIn: ApplicationIn): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.PUT, \"/api/v1/app/{app_id}\");\n\n request.setPathParam(\"app_id\", appId);\n request.setBody(ApplicationInSerializer._toJsonObject(applicationIn));\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n\n /** Delete an application. */\n public delete(appId: string): Promise<void> {\n const request = new SvixRequest(HttpMethod.DELETE, \"/api/v1/app/{app_id}\");\n\n request.setPathParam(\"app_id\", appId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Partially update an application. */\n public patch(\n appId: string,\n applicationPatch: ApplicationPatch\n ): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.PATCH, \"/api/v1/app/{app_id}\");\n\n request.setPathParam(\"app_id\", appId);\n request.setBody(ApplicationPatchSerializer._toJsonObject(applicationPatch));\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum AppPortalCapability {\n ViewBase = \"ViewBase\",\n ViewEndpointSecret = \"ViewEndpointSecret\",\n ManageEndpointSecret = \"ManageEndpointSecret\",\n ManageTransformations = \"ManageTransformations\",\n CreateAttempts = \"CreateAttempts\",\n ManageEndpoint = \"ManageEndpoint\",\n}\n\nexport const AppPortalCapabilitySerializer = {\n _fromJsonObject(object: any): AppPortalCapability {\n return object;\n },\n\n _toJsonObject(self: AppPortalCapability): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n AppPortalCapability,\n AppPortalCapabilitySerializer,\n} from \"./appPortalCapability\";\nimport { ApplicationIn, ApplicationInSerializer } from \"./applicationIn\";\n\nexport interface AppPortalAccessIn {\n /**\n * Optionally creates a new application while generating the access link.\n *\n * If the application id or uid that is used in the path already exists, this argument is ignored.\n */\n application?: ApplicationIn | null;\n /**\n * Custom capabilities attached to the token, You can combine as many capabilities as necessary.\n *\n * The `ViewBase` capability is always required\n *\n * - `ViewBase`: Basic read only permissions, does not allow the user to see the endpoint secret.\n *\n * - `ViewEndpointSecret`: Allows user to view the endpoint secret.\n *\n * - `ManageEndpointSecret`: Allows user to rotate and view the endpoint secret.\n *\n * - `ManageTransformations`: Allows user to modify the endpoint transformations.\n *\n * - `CreateAttempts`: Allows user to replay missing messages and send example messages.\n *\n * - `ManageEndpoint`: Allows user to read/modify any field or configuration of an endpoint (including secrets)\n */\n capabilities?: AppPortalCapability[] | null;\n /**\n * How long the token will be valid for, in seconds.\n *\n * Valid values are between 1 hour and 7 days. The default is 7 days.\n */\n expiry?: number | null;\n /** The set of feature flags the created token will have access to. */\n featureFlags?: string[];\n /**\n * Whether the app portal should be in read-only mode.\n *\n * @deprecated\n */\n readOnly?: boolean | null;\n /**\n * An optional session ID to attach to the token.\n *\n * When expiring tokens with \"Expire All\", you can include the session ID to only expire tokens that were created with that session ID.\n */\n sessionId?: string | null;\n}\n\nexport const AppPortalAccessInSerializer = {\n _fromJsonObject(object: any): AppPortalAccessIn {\n return {\n application: object[\"application\"]\n ? ApplicationInSerializer._fromJsonObject(object[\"application\"])\n : undefined,\n capabilities: object[\"capabilities\"]?.map((item: AppPortalCapability) =>\n AppPortalCapabilitySerializer._fromJsonObject(item)\n ),\n expiry: object[\"expiry\"],\n featureFlags: object[\"featureFlags\"],\n readOnly: object[\"readOnly\"],\n sessionId: object[\"sessionId\"],\n };\n },\n\n _toJsonObject(self: AppPortalAccessIn): any {\n return {\n application: self.application\n ? ApplicationInSerializer._toJsonObject(self.application)\n : undefined,\n capabilities: self.capabilities?.map((item) =>\n AppPortalCapabilitySerializer._toJsonObject(item)\n ),\n expiry: self.expiry,\n featureFlags: self.featureFlags,\n readOnly: self.readOnly,\n sessionId: self.sessionId,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface AppPortalAccessOut {\n token: string;\n url: string;\n}\n\nexport const AppPortalAccessOutSerializer = {\n _fromJsonObject(object: any): AppPortalAccessOut {\n return {\n token: object[\"token\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: AppPortalAccessOut): any {\n return {\n token: self.token,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ApplicationTokenExpireIn {\n /** How many seconds until the old key is expired. */\n expiry?: number | null;\n /**\n * An optional list of session ids.\n *\n * If any session ids are specified, only Application tokens created with that session id will be expired.\n */\n sessionIds?: string[];\n}\n\nexport const ApplicationTokenExpireInSerializer = {\n _fromJsonObject(object: any): ApplicationTokenExpireIn {\n return {\n expiry: object[\"expiry\"],\n sessionIds: object[\"sessionIds\"],\n };\n },\n\n _toJsonObject(self: ApplicationTokenExpireIn): any {\n return {\n expiry: self.expiry,\n sessionIds: self.sessionIds,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface DashboardAccessOut {\n token: string;\n url: string;\n}\n\nexport const DashboardAccessOutSerializer = {\n _fromJsonObject(object: any): DashboardAccessOut {\n return {\n token: object[\"token\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: DashboardAccessOut): any {\n return {\n token: self.token,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n\nimport {\n AppPortalAccessIn,\n AppPortalAccessInSerializer,\n} from \"../models/appPortalAccessIn\";\nimport {\n AppPortalAccessOut,\n AppPortalAccessOutSerializer,\n} from \"../models/appPortalAccessOut\";\nimport {\n ApplicationTokenExpireIn,\n ApplicationTokenExpireInSerializer,\n} from \"../models/applicationTokenExpireIn\";\nimport {\n DashboardAccessOut,\n DashboardAccessOutSerializer,\n} from \"../models/dashboardAccessOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface AuthenticationAppPortalAccessOptions {\n idempotencyKey?: string;\n}\n\nexport interface AuthenticationExpireAllOptions {\n idempotencyKey?: string;\n}\n\nexport interface AuthenticationLogoutOptions {\n idempotencyKey?: string;\n}\n\n/** @deprecated */\nexport interface AuthenticationDashboardAccessOptions {\n idempotencyKey?: string;\n}\n\nexport class Authentication {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Use this function to get magic links (and authentication codes) for connecting your users to the Consumer Application Portal. */\n public appPortalAccess(\n appId: string,\n appPortalAccessIn: AppPortalAccessIn,\n options?: AuthenticationAppPortalAccessOptions\n ): Promise<AppPortalAccessOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/auth/app-portal-access/{app_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(AppPortalAccessInSerializer._toJsonObject(appPortalAccessIn));\n\n return request.send(this.requestCtx, AppPortalAccessOutSerializer._fromJsonObject);\n }\n\n /** Expire all of the tokens associated with a specific application. */\n public expireAll(\n appId: string,\n applicationTokenExpireIn: ApplicationTokenExpireIn,\n options?: AuthenticationExpireAllOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/auth/app/{app_id}/expire-all\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n ApplicationTokenExpireInSerializer._toJsonObject(applicationTokenExpireIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** @deprecated Please use `appPortalAccess` instead. */\n public dashboardAccess(\n appId: string,\n options?: AuthenticationDashboardAccessOptions\n ): Promise<DashboardAccessOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/auth/dashboard-access/{app_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, DashboardAccessOutSerializer._fromJsonObject);\n }\n\n /**\n * Logout an app token.\n *\n * Trying to log out other tokens will fail.\n */\n public logout(options?: AuthenticationLogoutOptions): Promise<void> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/auth/logout\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum BackgroundTaskStatus {\n Running = \"running\",\n Finished = \"finished\",\n Failed = \"failed\",\n}\n\nexport const BackgroundTaskStatusSerializer = {\n _fromJsonObject(object: any): BackgroundTaskStatus {\n return object;\n },\n\n _toJsonObject(self: BackgroundTaskStatus): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum BackgroundTaskType {\n EndpointReplay = \"endpoint.replay\",\n EndpointRecover = \"endpoint.recover\",\n ApplicationStats = \"application.stats\",\n MessageBroadcast = \"message.broadcast\",\n SdkGenerate = \"sdk.generate\",\n EventTypeAggregate = \"event-type.aggregate\",\n ApplicationPurgeContent = \"application.purge_content\",\n}\n\nexport const BackgroundTaskTypeSerializer = {\n _fromJsonObject(object: any): BackgroundTaskType {\n return object;\n },\n\n _toJsonObject(self: BackgroundTaskType): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface BackgroundTaskOut {\n data: any;\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const BackgroundTaskOutSerializer = {\n _fromJsonObject(object: any): BackgroundTaskOut {\n return {\n data: object[\"data\"],\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: BackgroundTaskOut): any {\n return {\n data: self.data,\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { BackgroundTaskOut, BackgroundTaskOutSerializer } from \"./backgroundTaskOut\";\n\nexport interface ListResponseBackgroundTaskOut {\n data: BackgroundTaskOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseBackgroundTaskOutSerializer = {\n _fromJsonObject(object: any): ListResponseBackgroundTaskOut {\n return {\n data: object[\"data\"].map((item: BackgroundTaskOut) =>\n BackgroundTaskOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseBackgroundTaskOut): any {\n return {\n data: self.data.map((item) => BackgroundTaskOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n BackgroundTaskOut,\n BackgroundTaskOutSerializer,\n} from \"../models/backgroundTaskOut\";\nimport { BackgroundTaskStatus } from \"../models/backgroundTaskStatus\";\nimport { BackgroundTaskType } from \"../models/backgroundTaskType\";\nimport {\n ListResponseBackgroundTaskOut,\n ListResponseBackgroundTaskOutSerializer,\n} from \"../models/listResponseBackgroundTaskOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface BackgroundTaskListOptions {\n /** Filter the response based on the status. */\n status?: BackgroundTaskStatus;\n /** Filter the response based on the type. */\n task?: BackgroundTaskType;\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport class BackgroundTask {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List background tasks executed in the past 90 days. */\n public list(\n options?: BackgroundTaskListOptions\n ): Promise<ListResponseBackgroundTaskOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/background-task\");\n\n request.setQueryParam(\"status\", options?.status);\n request.setQueryParam(\"task\", options?.task);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseBackgroundTaskOutSerializer._fromJsonObject\n );\n }\n\n /**\n * List background tasks executed in the past 90 days.\n *\n * @deprecated Use list instead.\n * */\n public listByEndpoint(\n options?: BackgroundTaskListOptions\n ): Promise<ListResponseBackgroundTaskOut> {\n return this.list(options);\n }\n\n /** Get a background task by ID. */\n public get(taskId: string): Promise<BackgroundTaskOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/background-task/{task_id}\");\n\n request.setPathParam(\"task_id\", taskId);\n\n return request.send(this.requestCtx, BackgroundTaskOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointHeadersIn {\n headers: { [key: string]: string };\n}\n\nexport const EndpointHeadersInSerializer = {\n _fromJsonObject(object: any): EndpointHeadersIn {\n return {\n headers: object[\"headers\"],\n };\n },\n\n _toJsonObject(self: EndpointHeadersIn): any {\n return {\n headers: self.headers,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\n/**\n * The value of the headers is returned in the `headers` field.\n *\n * Sensitive headers that have been redacted are returned in the sensitive field.\n */\nexport interface EndpointHeadersOut {\n headers: { [key: string]: string };\n sensitive: string[];\n}\n\nexport const EndpointHeadersOutSerializer = {\n _fromJsonObject(object: any): EndpointHeadersOut {\n return {\n headers: object[\"headers\"],\n sensitive: object[\"sensitive\"],\n };\n },\n\n _toJsonObject(self: EndpointHeadersOut): any {\n return {\n headers: self.headers,\n sensitive: self.sensitive,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointHeadersPatchIn {\n /** A list of headers be be removed */\n deleteHeaders?: string[];\n headers: { [key: string]: string };\n}\n\nexport const EndpointHeadersPatchInSerializer = {\n _fromJsonObject(object: any): EndpointHeadersPatchIn {\n return {\n deleteHeaders: object[\"deleteHeaders\"],\n headers: object[\"headers\"],\n };\n },\n\n _toJsonObject(self: EndpointHeadersPatchIn): any {\n return {\n deleteHeaders: self.deleteHeaders,\n headers: self.headers,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointIn {\n /** List of message channels this endpoint listens to (omit for all). */\n channels?: string[] | null;\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n headers?: { [key: string]: string } | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n secret?: string | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n version?: number | null;\n}\n\nexport const EndpointInSerializer = {\n _fromJsonObject(object: any): EndpointIn {\n return {\n channels: object[\"channels\"],\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n headers: object[\"headers\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n secret: object[\"secret\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EndpointIn): any {\n return {\n channels: self.channels,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n headers: self.headers,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n secret: self.secret,\n uid: self.uid,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointOut {\n /** List of message channels this endpoint listens to (omit for all). */\n channels?: string[] | null;\n createdAt: Date;\n /** An example endpoint name. */\n description: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n /** The Endpoint's ID. */\n id: string;\n metadata: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n updatedAt: Date;\n url: string;\n version: number;\n}\n\nexport const EndpointOutSerializer = {\n _fromJsonObject(object: any): EndpointOut {\n return {\n channels: object[\"channels\"],\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n id: object[\"id\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EndpointOut): any {\n return {\n channels: self.channels,\n createdAt: self.createdAt,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n id: self.id,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n updatedAt: self.updatedAt,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointPatch {\n channels?: string[] | null;\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n secret?: string | null;\n /** The Endpoint's UID. */\n uid?: string | null;\n url?: string;\n version?: number;\n}\n\nexport const EndpointPatchSerializer = {\n _fromJsonObject(object: any): EndpointPatch {\n return {\n channels: object[\"channels\"],\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n secret: object[\"secret\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EndpointPatch): any {\n return {\n channels: self.channels,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n secret: self.secret,\n uid: self.uid,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointSecretOut {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key: string;\n}\n\nexport const EndpointSecretOutSerializer = {\n _fromJsonObject(object: any): EndpointSecretOut {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: EndpointSecretOut): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointSecretRotateIn {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key?: string | null;\n}\n\nexport const EndpointSecretRotateInSerializer = {\n _fromJsonObject(object: any): EndpointSecretRotateIn {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: EndpointSecretRotateIn): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointStats {\n fail: number;\n pending: number;\n sending: number;\n success: number;\n}\n\nexport const EndpointStatsSerializer = {\n _fromJsonObject(object: any): EndpointStats {\n return {\n fail: object[\"fail\"],\n pending: object[\"pending\"],\n sending: object[\"sending\"],\n success: object[\"success\"],\n };\n },\n\n _toJsonObject(self: EndpointStats): any {\n return {\n fail: self.fail,\n pending: self.pending,\n sending: self.sending,\n success: self.success,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointTransformationIn {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const EndpointTransformationInSerializer = {\n _fromJsonObject(object: any): EndpointTransformationIn {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: EndpointTransformationIn): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointTransformationOut {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const EndpointTransformationOutSerializer = {\n _fromJsonObject(object: any): EndpointTransformationOut {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: EndpointTransformationOut): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointTransformationPatch {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const EndpointTransformationPatchSerializer = {\n _fromJsonObject(object: any): EndpointTransformationPatch {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: EndpointTransformationPatch): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointUpdate {\n /** List of message channels this endpoint listens to (omit for all). */\n channels?: string[] | null;\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n version?: number | null;\n}\n\nexport const EndpointUpdateSerializer = {\n _fromJsonObject(object: any): EndpointUpdate {\n return {\n channels: object[\"channels\"],\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EndpointUpdate): any {\n return {\n channels: self.channels,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventExampleIn {\n /** The event type's name */\n eventType: string;\n /**\n * If the event type schema contains an array of examples, chooses which one to send.\n *\n * Defaults to the first example. Ignored if the schema doesn't contain an array of examples.\n */\n exampleIndex?: number;\n}\n\nexport const EventExampleInSerializer = {\n _fromJsonObject(object: any): EventExampleIn {\n return {\n eventType: object[\"eventType\"],\n exampleIndex: object[\"exampleIndex\"],\n };\n },\n\n _toJsonObject(self: EventExampleIn): any {\n return {\n eventType: self.eventType,\n exampleIndex: self.exampleIndex,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { EndpointOut, EndpointOutSerializer } from \"./endpointOut\";\n\nexport interface ListResponseEndpointOut {\n data: EndpointOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseEndpointOutSerializer = {\n _fromJsonObject(object: any): ListResponseEndpointOut {\n return {\n data: object[\"data\"].map((item: EndpointOut) =>\n EndpointOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseEndpointOut): any {\n return {\n data: self.data.map((item) => EndpointOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface MessageOut {\n /** List of free-form identifiers that endpoints can filter by */\n channels?: string[] | null;\n /** Optional unique identifier for the message */\n eventId?: string | null;\n /** The event type's name */\n eventType: string;\n /** The Message's ID. */\n id: string;\n payload: any;\n tags?: string[] | null;\n timestamp: Date;\n}\n\nexport const MessageOutSerializer = {\n _fromJsonObject(object: any): MessageOut {\n return {\n channels: object[\"channels\"],\n eventId: object[\"eventId\"],\n eventType: object[\"eventType\"],\n id: object[\"id\"],\n payload: object[\"payload\"],\n tags: object[\"tags\"],\n timestamp: new Date(object[\"timestamp\"]),\n };\n },\n\n _toJsonObject(self: MessageOut): any {\n return {\n channels: self.channels,\n eventId: self.eventId,\n eventType: self.eventType,\n id: self.id,\n payload: self.payload,\n tags: self.tags,\n timestamp: self.timestamp,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface RecoverIn {\n since: Date;\n until?: Date | null;\n}\n\nexport const RecoverInSerializer = {\n _fromJsonObject(object: any): RecoverIn {\n return {\n since: new Date(object[\"since\"]),\n until: object[\"until\"] ? new Date(object[\"until\"]) : null,\n };\n },\n\n _toJsonObject(self: RecoverIn): any {\n return {\n since: self.since,\n until: self.until,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface RecoverOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const RecoverOutSerializer = {\n _fromJsonObject(object: any): RecoverOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: RecoverOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ReplayIn {\n since: Date;\n until?: Date | null;\n}\n\nexport const ReplayInSerializer = {\n _fromJsonObject(object: any): ReplayIn {\n return {\n since: new Date(object[\"since\"]),\n until: object[\"until\"] ? new Date(object[\"until\"]) : null,\n };\n },\n\n _toJsonObject(self: ReplayIn): any {\n return {\n since: self.since,\n until: self.until,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface ReplayOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const ReplayOutSerializer = {\n _fromJsonObject(object: any): ReplayOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: ReplayOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n\nimport {\n EndpointHeadersIn,\n EndpointHeadersInSerializer,\n} from \"../models/endpointHeadersIn\";\nimport {\n EndpointHeadersOut,\n EndpointHeadersOutSerializer,\n} from \"../models/endpointHeadersOut\";\nimport {\n EndpointHeadersPatchIn,\n EndpointHeadersPatchInSerializer,\n} from \"../models/endpointHeadersPatchIn\";\nimport { EndpointIn, EndpointInSerializer } from \"../models/endpointIn\";\nimport { EndpointOut, EndpointOutSerializer } from \"../models/endpointOut\";\nimport { EndpointPatch, EndpointPatchSerializer } from \"../models/endpointPatch\";\nimport {\n EndpointSecretOut,\n EndpointSecretOutSerializer,\n} from \"../models/endpointSecretOut\";\nimport {\n EndpointSecretRotateIn,\n EndpointSecretRotateInSerializer,\n} from \"../models/endpointSecretRotateIn\";\nimport { EndpointStats, EndpointStatsSerializer } from \"../models/endpointStats\";\nimport {\n EndpointTransformationIn,\n EndpointTransformationInSerializer,\n} from \"../models/endpointTransformationIn\";\nimport {\n EndpointTransformationOut,\n EndpointTransformationOutSerializer,\n} from \"../models/endpointTransformationOut\";\nimport {\n EndpointTransformationPatch,\n EndpointTransformationPatchSerializer,\n} from \"../models/endpointTransformationPatch\";\nimport { EndpointUpdate, EndpointUpdateSerializer } from \"../models/endpointUpdate\";\nimport { EventExampleIn, EventExampleInSerializer } from \"../models/eventExampleIn\";\nimport {\n ListResponseEndpointOut,\n ListResponseEndpointOutSerializer,\n} from \"../models/listResponseEndpointOut\";\nimport { MessageOut, MessageOutSerializer } from \"../models/messageOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { RecoverIn, RecoverInSerializer } from \"../models/recoverIn\";\nimport { RecoverOut, RecoverOutSerializer } from \"../models/recoverOut\";\nimport { ReplayIn, ReplayInSerializer } from \"../models/replayIn\";\nimport { ReplayOut, ReplayOutSerializer } from \"../models/replayOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface EndpointListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface EndpointCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointRecoverOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointReplayMissingOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointRotateSecretOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointSendExampleOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointGetStatsOptions {\n /** Filter the range to data starting from this date. */\n since?: Date | null;\n /** Filter the range to data ending by this date. */\n until?: Date | null;\n}\n\nexport class Endpoint {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List the application's endpoints. */\n public list(\n appId: string,\n options?: EndpointListOptions\n ): Promise<ListResponseEndpointOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}/endpoint\");\n\n request.setPathParam(\"app_id\", appId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseEndpointOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Create a new endpoint for the application.\n *\n * When `secret` is `null` the secret is automatically generated (recommended).\n */\n public create(\n appId: string,\n endpointIn: EndpointIn,\n options?: EndpointCreateOptions\n ): Promise<EndpointOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app/{app_id}/endpoint\");\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(EndpointInSerializer._toJsonObject(endpointIn));\n\n return request.send(this.requestCtx, EndpointOutSerializer._fromJsonObject);\n }\n\n /** Get an endpoint. */\n public get(appId: string, endpointId: string): Promise<EndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(this.requestCtx, EndpointOutSerializer._fromJsonObject);\n }\n\n /** Update an endpoint. */\n public update(\n appId: string,\n endpointId: string,\n endpointUpdate: EndpointUpdate\n ): Promise<EndpointOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(EndpointUpdateSerializer._toJsonObject(endpointUpdate));\n\n return request.send(this.requestCtx, EndpointOutSerializer._fromJsonObject);\n }\n\n /** Delete an endpoint. */\n public delete(appId: string, endpointId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Partially update an endpoint. */\n public patch(\n appId: string,\n endpointId: string,\n endpointPatch: EndpointPatch\n ): Promise<EndpointOut> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(EndpointPatchSerializer._toJsonObject(endpointPatch));\n\n return request.send(this.requestCtx, EndpointOutSerializer._fromJsonObject);\n }\n\n /** Get the additional headers to be sent with the webhook. */\n public getHeaders(appId: string, endpointId: string): Promise<EndpointHeadersOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(this.requestCtx, EndpointHeadersOutSerializer._fromJsonObject);\n }\n\n /** Set the additional headers to be sent with the webhook. */\n public updateHeaders(\n appId: string,\n endpointId: string,\n endpointHeadersIn: EndpointHeadersIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(EndpointHeadersInSerializer._toJsonObject(endpointHeadersIn));\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n public headersUpdate(\n appId: string,\n endpointId: string,\n endpointHeadersIn: EndpointHeadersIn\n ): Promise<void> {\n return this.updateHeaders(appId, endpointId, endpointHeadersIn);\n }\n\n /** Partially set the additional headers to be sent with the webhook. */\n public patchHeaders(\n appId: string,\n endpointId: string,\n endpointHeadersPatchIn: EndpointHeadersPatchIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n EndpointHeadersPatchInSerializer._toJsonObject(endpointHeadersPatchIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n public headersPatch(\n appId: string,\n endpointId: string,\n endpointHeadersPatchIn: EndpointHeadersPatchIn\n ): Promise<void> {\n return this.patchHeaders(appId, endpointId, endpointHeadersPatchIn);\n }\n\n /**\n * Resend all failed messages since a given time.\n *\n * Messages that were sent successfully, even if failed initially, are not resent.\n */\n public recover(\n appId: string,\n endpointId: string,\n recoverIn: RecoverIn,\n options?: EndpointRecoverOptions\n ): Promise<RecoverOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/recover\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(RecoverInSerializer._toJsonObject(recoverIn));\n\n return request.send(this.requestCtx, RecoverOutSerializer._fromJsonObject);\n }\n\n /**\n * Replays messages to the endpoint.\n *\n * Only messages that were created after `since` will be sent.\n * Messages that were previously sent to the endpoint are not resent.\n */\n public replayMissing(\n appId: string,\n endpointId: string,\n replayIn: ReplayIn,\n options?: EndpointReplayMissingOptions\n ): Promise<ReplayOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/replay-missing\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(ReplayInSerializer._toJsonObject(replayIn));\n\n return request.send(this.requestCtx, ReplayOutSerializer._fromJsonObject);\n }\n\n /**\n * Get the endpoint's signing secret.\n *\n * This is used to verify the authenticity of the webhook.\n * For more information please refer to [the consuming webhooks docs](https://docs.svix.com/consuming-webhooks/).\n */\n public getSecret(appId: string, endpointId: string): Promise<EndpointSecretOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/secret\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(this.requestCtx, EndpointSecretOutSerializer._fromJsonObject);\n }\n\n /**\n * Rotates the endpoint's signing secret.\n *\n * The previous secret will remain valid for the next 24 hours.\n */\n public rotateSecret(\n appId: string,\n endpointId: string,\n endpointSecretRotateIn: EndpointSecretRotateIn,\n options?: EndpointRotateSecretOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/secret/rotate\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n EndpointSecretRotateInSerializer._toJsonObject(endpointSecretRotateIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Send an example message for an event. */\n public sendExample(\n appId: string,\n endpointId: string,\n eventExampleIn: EventExampleIn,\n options?: EndpointSendExampleOptions\n ): Promise<MessageOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/send-example\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(EventExampleInSerializer._toJsonObject(eventExampleIn));\n\n return request.send(this.requestCtx, MessageOutSerializer._fromJsonObject);\n }\n\n /** Get basic statistics for the endpoint. */\n public getStats(\n appId: string,\n endpointId: string,\n options?: EndpointGetStatsOptions\n ): Promise<EndpointStats> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/stats\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setQueryParam(\"since\", options?.since);\n request.setQueryParam(\"until\", options?.until);\n\n return request.send(this.requestCtx, EndpointStatsSerializer._fromJsonObject);\n }\n\n /** Get the transformation code associated with this endpoint. */\n public transformationGet(\n appId: string,\n endpointId: string\n ): Promise<EndpointTransformationOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n EndpointTransformationOutSerializer._fromJsonObject\n );\n }\n\n /** Set or unset the transformation code associated with this endpoint. */\n public patchTransformation(\n appId: string,\n endpointId: string,\n endpointTransformationPatch: EndpointTransformationPatch\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n EndpointTransformationPatchSerializer._toJsonObject(endpointTransformationPatch)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * This operation was renamed to `set-transformation`.\n *\n * @deprecated\n */\n public transformationPartialUpdate(\n appId: string,\n endpointId: string,\n endpointTransformationIn: EndpointTransformationIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n EndpointTransformationInSerializer._toJsonObject(endpointTransformationIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum ConnectorKind {\n Custom = \"Custom\",\n CloseCrm = \"CloseCRM\",\n CustomerIo = \"CustomerIO\",\n Discord = \"Discord\",\n Hubspot = \"Hubspot\",\n Inngest = \"Inngest\",\n Loops = \"Loops\",\n Resend = \"Resend\",\n Salesforce = \"Salesforce\",\n Segment = \"Segment\",\n Sendgrid = \"Sendgrid\",\n Slack = \"Slack\",\n Teams = \"Teams\",\n TriggerDev = \"TriggerDev\",\n Windmill = \"Windmill\",\n Zapier = \"Zapier\",\n}\n\nexport const ConnectorKindSerializer = {\n _fromJsonObject(object: any): ConnectorKind {\n return object;\n },\n\n _toJsonObject(self: ConnectorKind): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ConnectorKind, ConnectorKindSerializer } from \"./connectorKind\";\n\nexport interface ConnectorIn {\n description?: string;\n /**\n * Deprecated - prefer featureFlags instead.\n *\n * @deprecated\n */\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n filterTypes?: string[] | null;\n instructions?: string;\n instructionsLink?: string | null;\n kind?: ConnectorKind;\n logo: string;\n name: string;\n transformation: string;\n}\n\nexport const ConnectorInSerializer = {\n _fromJsonObject(object: any): ConnectorIn {\n return {\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n filterTypes: object[\"filterTypes\"],\n instructions: object[\"instructions\"],\n instructionsLink: object[\"instructionsLink\"],\n kind: object[\"kind\"]\n ? ConnectorKindSerializer._fromJsonObject(object[\"kind\"])\n : undefined,\n logo: object[\"logo\"],\n name: object[\"name\"],\n transformation: object[\"transformation\"],\n };\n },\n\n _toJsonObject(self: ConnectorIn): any {\n return {\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n filterTypes: self.filterTypes,\n instructions: self.instructions,\n instructionsLink: self.instructionsLink,\n kind: self.kind ? ConnectorKindSerializer._toJsonObject(self.kind) : undefined,\n logo: self.logo,\n name: self.name,\n transformation: self.transformation,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypeIn {\n archived?: boolean;\n deprecated?: boolean;\n description: string;\n /**\n * Deprecated - prefer featureFlags instead.\n *\n * @deprecated\n */\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n /** The event type's name */\n name: string;\n /** The schema for the event type for a specific version as a JSON schema. */\n schemas?: any | null;\n}\n\nexport const EventTypeInSerializer = {\n _fromJsonObject(object: any): EventTypeIn {\n return {\n archived: object[\"archived\"],\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n name: object[\"name\"],\n schemas: object[\"schemas\"],\n };\n },\n\n _toJsonObject(self: EventTypeIn): any {\n return {\n archived: self.archived,\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n name: self.name,\n schemas: self.schemas,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ConnectorIn, ConnectorInSerializer } from \"./connectorIn\";\nimport { EventTypeIn, EventTypeInSerializer } from \"./eventTypeIn\";\n\nexport interface EnvironmentIn {\n connectors?: ConnectorIn[] | null;\n eventTypes?: EventTypeIn[] | null;\n settings?: any | null;\n}\n\nexport const EnvironmentInSerializer = {\n _fromJsonObject(object: any): EnvironmentIn {\n return {\n connectors: object[\"connectors\"]?.map((item: ConnectorIn) =>\n ConnectorInSerializer._fromJsonObject(item)\n ),\n eventTypes: object[\"eventTypes\"]?.map((item: EventTypeIn) =>\n EventTypeInSerializer._fromJsonObject(item)\n ),\n settings: object[\"settings\"],\n };\n },\n\n _toJsonObject(self: EnvironmentIn): any {\n return {\n connectors: self.connectors?.map((item) =>\n ConnectorInSerializer._toJsonObject(item)\n ),\n eventTypes: self.eventTypes?.map((item) =>\n EventTypeInSerializer._toJsonObject(item)\n ),\n settings: self.settings,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ConnectorKind, ConnectorKindSerializer } from \"./connectorKind\";\n\nexport interface ConnectorOut {\n createdAt: Date;\n description: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n filterTypes?: string[] | null;\n /** The Connector's ID. */\n id: string;\n instructions: string;\n instructionsLink?: string | null;\n kind: ConnectorKind;\n logo: string;\n name: string;\n /** The Environment's ID. */\n orgId: string;\n transformation: string;\n updatedAt: Date;\n}\n\nexport const ConnectorOutSerializer = {\n _fromJsonObject(object: any): ConnectorOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n filterTypes: object[\"filterTypes\"],\n id: object[\"id\"],\n instructions: object[\"instructions\"],\n instructionsLink: object[\"instructionsLink\"],\n kind: ConnectorKindSerializer._fromJsonObject(object[\"kind\"]),\n logo: object[\"logo\"],\n name: object[\"name\"],\n orgId: object[\"orgId\"],\n transformation: object[\"transformation\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: ConnectorOut): any {\n return {\n createdAt: self.createdAt,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n filterTypes: self.filterTypes,\n id: self.id,\n instructions: self.instructions,\n instructionsLink: self.instructionsLink,\n kind: ConnectorKindSerializer._toJsonObject(self.kind),\n logo: self.logo,\n name: self.name,\n orgId: self.orgId,\n transformation: self.transformation,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypeOut {\n archived?: boolean;\n createdAt: Date;\n deprecated: boolean;\n description: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n /** The event type's name */\n name: string;\n /** The schema for the event type for a specific version as a JSON schema. */\n schemas?: any | null;\n updatedAt: Date;\n}\n\nexport const EventTypeOutSerializer = {\n _fromJsonObject(object: any): EventTypeOut {\n return {\n archived: object[\"archived\"],\n createdAt: new Date(object[\"createdAt\"]),\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n name: object[\"name\"],\n schemas: object[\"schemas\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: EventTypeOut): any {\n return {\n archived: self.archived,\n createdAt: self.createdAt,\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n name: self.name,\n schemas: self.schemas,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ConnectorOut, ConnectorOutSerializer } from \"./connectorOut\";\nimport { EventTypeOut, EventTypeOutSerializer } from \"./eventTypeOut\";\n\nexport interface EnvironmentOut {\n createdAt: Date;\n eventTypes: EventTypeOut[];\n settings: any | null;\n transformationTemplates: ConnectorOut[];\n version?: number;\n}\n\nexport const EnvironmentOutSerializer = {\n _fromJsonObject(object: any): EnvironmentOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n eventTypes: object[\"eventTypes\"].map((item: EventTypeOut) =>\n EventTypeOutSerializer._fromJsonObject(item)\n ),\n settings: object[\"settings\"],\n transformationTemplates: object[\"transformationTemplates\"].map(\n (item: ConnectorOut) => ConnectorOutSerializer._fromJsonObject(item)\n ),\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EnvironmentOut): any {\n return {\n createdAt: self.createdAt,\n eventTypes: self.eventTypes.map((item) =>\n EventTypeOutSerializer._toJsonObject(item)\n ),\n settings: self.settings,\n transformationTemplates: self.transformationTemplates.map((item) =>\n ConnectorOutSerializer._toJsonObject(item)\n ),\n version: self.version,\n };\n },\n};\n","// this file is @generated\n\nimport { EnvironmentIn, EnvironmentInSerializer } from \"../models/environmentIn\";\nimport { EnvironmentOut, EnvironmentOutSerializer } from \"../models/environmentOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface EnvironmentExportOptions {\n idempotencyKey?: string;\n}\n\nexport interface EnvironmentImportOptions {\n idempotencyKey?: string;\n}\n\nexport class Environment {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Download a JSON file containing all org-settings and event types. */\n public export(options?: EnvironmentExportOptions): Promise<EnvironmentOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/environment/export\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, EnvironmentOutSerializer._fromJsonObject);\n }\n\n /**\n * Import a configuration into the active organization.\n *\n * It doesn't delete anything, only adds / updates what was passed to it.\n */\n public import(\n environmentIn: EnvironmentIn,\n options?: EnvironmentImportOptions\n ): Promise<void> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/environment/import\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(EnvironmentInSerializer._toJsonObject(environmentIn));\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\n/**\n * Import a list of event types from webhooks defined in an OpenAPI spec.\n *\n * The OpenAPI spec can be specified as either `spec` given the spec as a JSON object, or as `specRaw` (a `string`) which will be parsed as YAML or JSON by the server. Sending neither or both is invalid, resulting in a `400` **Bad Request**.\n */\nexport interface EventTypeImportOpenApiIn {\n /** If `true`, return the event types that would be modified without actually modifying them. */\n dryRun?: boolean;\n /** If `true`, all existing event types that are not in the spec will be archived. */\n replaceAll?: boolean;\n /** A pre-parsed JSON spec. */\n spec?: any | null;\n /** A string, parsed by the server as YAML or JSON. */\n specRaw?: string | null;\n}\n\nexport const EventTypeImportOpenApiInSerializer = {\n _fromJsonObject(object: any): EventTypeImportOpenApiIn {\n return {\n dryRun: object[\"dryRun\"],\n replaceAll: object[\"replaceAll\"],\n spec: object[\"spec\"],\n specRaw: object[\"specRaw\"],\n };\n },\n\n _toJsonObject(self: EventTypeImportOpenApiIn): any {\n return {\n dryRun: self.dryRun,\n replaceAll: self.replaceAll,\n spec: self.spec,\n specRaw: self.specRaw,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypeFromOpenApi {\n deprecated: boolean;\n description: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n /** The event type's name */\n name: string;\n schemas?: any | null;\n}\n\nexport const EventTypeFromOpenApiSerializer = {\n _fromJsonObject(object: any): EventTypeFromOpenApi {\n return {\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n name: object[\"name\"],\n schemas: object[\"schemas\"],\n };\n },\n\n _toJsonObject(self: EventTypeFromOpenApi): any {\n return {\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n name: self.name,\n schemas: self.schemas,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n EventTypeFromOpenApi,\n EventTypeFromOpenApiSerializer,\n} from \"./eventTypeFromOpenApi\";\n\nexport interface EventTypeImportOpenApiOutData {\n modified: string[];\n toModify?: EventTypeFromOpenApi[] | null;\n}\n\nexport const EventTypeImportOpenApiOutDataSerializer = {\n _fromJsonObject(object: any): EventTypeImportOpenApiOutData {\n return {\n modified: object[\"modified\"],\n toModify: object[\"to_modify\"]?.map((item: EventTypeFromOpenApi) =>\n EventTypeFromOpenApiSerializer._fromJsonObject(item)\n ),\n };\n },\n\n _toJsonObject(self: EventTypeImportOpenApiOutData): any {\n return {\n modified: self.modified,\n to_modify: self.toModify?.map((item) =>\n EventTypeFromOpenApiSerializer._toJsonObject(item)\n ),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n EventTypeImportOpenApiOutData,\n EventTypeImportOpenApiOutDataSerializer,\n} from \"./eventTypeImportOpenApiOutData\";\n\nexport interface EventTypeImportOpenApiOut {\n data: EventTypeImportOpenApiOutData;\n}\n\nexport const EventTypeImportOpenApiOutSerializer = {\n _fromJsonObject(object: any): EventTypeImportOpenApiOut {\n return {\n data: EventTypeImportOpenApiOutDataSerializer._fromJsonObject(object[\"data\"]),\n };\n },\n\n _toJsonObject(self: EventTypeImportOpenApiOut): any {\n return {\n data: EventTypeImportOpenApiOutDataSerializer._toJsonObject(self.data),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypePatch {\n archived?: boolean;\n deprecated?: boolean;\n description?: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n schemas?: any | null;\n}\n\nexport const EventTypePatchSerializer = {\n _fromJsonObject(object: any): EventTypePatch {\n return {\n archived: object[\"archived\"],\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n schemas: object[\"schemas\"],\n };\n },\n\n _toJsonObject(self: EventTypePatch): any {\n return {\n archived: self.archived,\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n schemas: self.schemas,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypeUpdate {\n archived?: boolean;\n deprecated?: boolean;\n description: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n /** The schema for the event type for a specific version as a JSON schema. */\n schemas?: any | null;\n}\n\nexport const EventTypeUpdateSerializer = {\n _fromJsonObject(object: any): EventTypeUpdate {\n return {\n archived: object[\"archived\"],\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n schemas: object[\"schemas\"],\n };\n },\n\n _toJsonObject(self: EventTypeUpdate): any {\n return {\n archived: self.archived,\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n schemas: self.schemas,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { EventTypeOut, EventTypeOutSerializer } from \"./eventTypeOut\";\n\nexport interface ListResponseEventTypeOut {\n data: EventTypeOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseEventTypeOutSerializer = {\n _fromJsonObject(object: any): ListResponseEventTypeOut {\n return {\n data: object[\"data\"].map((item: EventTypeOut) =>\n EventTypeOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseEventTypeOut): any {\n return {\n data: self.data.map((item) => EventTypeOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n EventTypeImportOpenApiIn,\n EventTypeImportOpenApiInSerializer,\n} from \"../models/eventTypeImportOpenApiIn\";\nimport {\n EventTypeImportOpenApiOut,\n EventTypeImportOpenApiOutSerializer,\n} from \"../models/eventTypeImportOpenApiOut\";\nimport { EventTypeIn, EventTypeInSerializer } from \"../models/eventTypeIn\";\nimport { EventTypeOut, EventTypeOutSerializer } from \"../models/eventTypeOut\";\nimport { EventTypePatch, EventTypePatchSerializer } from \"../models/eventTypePatch\";\nimport { EventTypeUpdate, EventTypeUpdateSerializer } from \"../models/eventTypeUpdate\";\nimport {\n ListResponseEventTypeOut,\n ListResponseEventTypeOutSerializer,\n} from \"../models/listResponseEventTypeOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface EventTypeListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n /** When `true` archived (deleted but not expunged) items are included in the response. */\n includeArchived?: boolean;\n /** When `true` the full item (including the schema) is included in the response. */\n withContent?: boolean;\n}\n\nexport interface EventTypeCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface EventTypeImportOpenapiOptions {\n idempotencyKey?: string;\n}\n\nexport interface EventTypeDeleteOptions {\n /** By default event types are archived when \"deleted\". Passing this to `true` deletes them entirely. */\n expunge?: boolean;\n}\n\nexport class EventType {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Return the list of event types. */\n public list(options?: EventTypeListOptions): Promise<ListResponseEventTypeOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/event-type\");\n\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n request.setQueryParam(\"include_archived\", options?.includeArchived);\n request.setQueryParam(\"with_content\", options?.withContent);\n\n return request.send(\n this.requestCtx,\n ListResponseEventTypeOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Create new or unarchive existing event type.\n *\n * Unarchiving an event type will allow endpoints to filter on it and messages to be sent with it.\n * Endpoints filtering on the event type before archival will continue to filter on it.\n * This operation does not preserve the description and schemas.\n */\n public create(\n eventTypeIn: EventTypeIn,\n options?: EventTypeCreateOptions\n ): Promise<EventTypeOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/event-type\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(EventTypeInSerializer._toJsonObject(eventTypeIn));\n\n return request.send(this.requestCtx, EventTypeOutSerializer._fromJsonObject);\n }\n\n /**\n * Given an OpenAPI spec, create new or update existing event types.\n * If an existing `archived` event type is updated, it will be unarchived.\n *\n * The importer will convert all webhooks found in the either the `webhooks` or `x-webhooks`\n * top-level.\n */\n public importOpenapi(\n eventTypeImportOpenApiIn: EventTypeImportOpenApiIn,\n options?: EventTypeImportOpenapiOptions\n ): Promise<EventTypeImportOpenApiOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/event-type/import/openapi\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n EventTypeImportOpenApiInSerializer._toJsonObject(eventTypeImportOpenApiIn)\n );\n\n return request.send(\n this.requestCtx,\n EventTypeImportOpenApiOutSerializer._fromJsonObject\n );\n }\n\n /** Get an event type. */\n public get(eventTypeName: string): Promise<EventTypeOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/event-type/{event_type_name}\"\n );\n\n request.setPathParam(\"event_type_name\", eventTypeName);\n\n return request.send(this.requestCtx, EventTypeOutSerializer._fromJsonObject);\n }\n\n /** Update an event type. */\n public update(\n eventTypeName: string,\n eventTypeUpdate: EventTypeUpdate\n ): Promise<EventTypeOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/event-type/{event_type_name}\"\n );\n\n request.setPathParam(\"event_type_name\", eventTypeName);\n request.setBody(EventTypeUpdateSerializer._toJsonObject(eventTypeUpdate));\n\n return request.send(this.requestCtx, EventTypeOutSerializer._fromJsonObject);\n }\n\n /**\n * Archive an event type.\n *\n * Endpoints already configured to filter on an event type will continue to do so after archival.\n * However, new messages can not be sent with it and endpoints can not filter on it.\n * An event type can be unarchived with the\n * [create operation](#operation/create_event_type_api_v1_event_type__post).\n */\n public delete(eventTypeName: string, options?: EventTypeDeleteOptions): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/event-type/{event_type_name}\"\n );\n\n request.setPathParam(\"event_type_name\", eventTypeName);\n request.setQueryParam(\"expunge\", options?.expunge);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Partially update an event type. */\n public patch(\n eventTypeName: string,\n eventTypePatch: EventTypePatch\n ): Promise<EventTypeOut> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/event-type/{event_type_name}\"\n );\n\n request.setPathParam(\"event_type_name\", eventTypeName);\n request.setBody(EventTypePatchSerializer._toJsonObject(eventTypePatch));\n\n return request.send(this.requestCtx, EventTypeOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport class Health {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Verify the API server is up and running. */\n public get(): Promise<void> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/health\");\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestSourceConsumerPortalAccessIn {\n /**\n * How long the token will be valid for, in seconds.\n *\n * Valid values are between 1 hour and 7 days. The default is 7 days.\n */\n expiry?: number | null;\n /** Whether the app portal should be in read-only mode. */\n readOnly?: boolean | null;\n}\n\nexport const IngestSourceConsumerPortalAccessInSerializer = {\n _fromJsonObject(object: any): IngestSourceConsumerPortalAccessIn {\n return {\n expiry: object[\"expiry\"],\n readOnly: object[\"readOnly\"],\n };\n },\n\n _toJsonObject(self: IngestSourceConsumerPortalAccessIn): any {\n return {\n expiry: self.expiry,\n readOnly: self.readOnly,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointHeadersIn {\n headers: { [key: string]: string };\n}\n\nexport const IngestEndpointHeadersInSerializer = {\n _fromJsonObject(object: any): IngestEndpointHeadersIn {\n return {\n headers: object[\"headers\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointHeadersIn): any {\n return {\n headers: self.headers,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointHeadersOut {\n headers: { [key: string]: string };\n sensitive: string[];\n}\n\nexport const IngestEndpointHeadersOutSerializer = {\n _fromJsonObject(object: any): IngestEndpointHeadersOut {\n return {\n headers: object[\"headers\"],\n sensitive: object[\"sensitive\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointHeadersOut): any {\n return {\n headers: self.headers,\n sensitive: self.sensitive,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointIn {\n description?: string;\n disabled?: boolean;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n secret?: string | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n}\n\nexport const IngestEndpointInSerializer = {\n _fromJsonObject(object: any): IngestEndpointIn {\n return {\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n secret: object[\"secret\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointIn): any {\n return {\n description: self.description,\n disabled: self.disabled,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n secret: self.secret,\n uid: self.uid,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointOut {\n createdAt: Date;\n /** An example endpoint name. */\n description: string;\n disabled?: boolean;\n /** The Endpoint's ID. */\n id: string;\n metadata: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n updatedAt: Date;\n url: string;\n}\n\nexport const IngestEndpointOutSerializer = {\n _fromJsonObject(object: any): IngestEndpointOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n id: object[\"id\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointOut): any {\n return {\n createdAt: self.createdAt,\n description: self.description,\n disabled: self.disabled,\n id: self.id,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n updatedAt: self.updatedAt,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointSecretIn {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key?: string | null;\n}\n\nexport const IngestEndpointSecretInSerializer = {\n _fromJsonObject(object: any): IngestEndpointSecretIn {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointSecretIn): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointSecretOut {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key: string;\n}\n\nexport const IngestEndpointSecretOutSerializer = {\n _fromJsonObject(object: any): IngestEndpointSecretOut {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointSecretOut): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointTransformationOut {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const IngestEndpointTransformationOutSerializer = {\n _fromJsonObject(object: any): IngestEndpointTransformationOut {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointTransformationOut): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointTransformationPatch {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const IngestEndpointTransformationPatchSerializer = {\n _fromJsonObject(object: any): IngestEndpointTransformationPatch {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointTransformationPatch): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointUpdate {\n description?: string;\n disabled?: boolean;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n}\n\nexport const IngestEndpointUpdateSerializer = {\n _fromJsonObject(object: any): IngestEndpointUpdate {\n return {\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointUpdate): any {\n return {\n description: self.description,\n disabled: self.disabled,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { IngestEndpointOut, IngestEndpointOutSerializer } from \"./ingestEndpointOut\";\n\nexport interface ListResponseIngestEndpointOut {\n data: IngestEndpointOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseIngestEndpointOutSerializer = {\n _fromJsonObject(object: any): ListResponseIngestEndpointOut {\n return {\n data: object[\"data\"].map((item: IngestEndpointOut) =>\n IngestEndpointOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseIngestEndpointOut): any {\n return {\n data: self.data.map((item) => IngestEndpointOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n IngestEndpointHeadersIn,\n IngestEndpointHeadersInSerializer,\n} from \"../models/ingestEndpointHeadersIn\";\nimport {\n IngestEndpointHeadersOut,\n IngestEndpointHeadersOutSerializer,\n} from \"../models/ingestEndpointHeadersOut\";\nimport { IngestEndpointIn, IngestEndpointInSerializer } from \"../models/ingestEndpointIn\";\nimport {\n IngestEndpointOut,\n IngestEndpointOutSerializer,\n} from \"../models/ingestEndpointOut\";\nimport {\n IngestEndpointSecretIn,\n IngestEndpointSecretInSerializer,\n} from \"../models/ingestEndpointSecretIn\";\nimport {\n IngestEndpointSecretOut,\n IngestEndpointSecretOutSerializer,\n} from \"../models/ingestEndpointSecretOut\";\nimport {\n IngestEndpointTransformationOut,\n IngestEndpointTransformationOutSerializer,\n} from \"../models/ingestEndpointTransformationOut\";\nimport {\n IngestEndpointTransformationPatch,\n IngestEndpointTransformationPatchSerializer,\n} from \"../models/ingestEndpointTransformationPatch\";\nimport {\n IngestEndpointUpdate,\n IngestEndpointUpdateSerializer,\n} from \"../models/ingestEndpointUpdate\";\nimport {\n ListResponseIngestEndpointOut,\n ListResponseIngestEndpointOutSerializer,\n} from \"../models/listResponseIngestEndpointOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface IngestEndpointListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface IngestEndpointCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface IngestEndpointRotateSecretOptions {\n idempotencyKey?: string;\n}\n\nexport class IngestEndpoint {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List ingest endpoints. */\n public list(\n sourceId: string,\n options?: IngestEndpointListOptions\n ): Promise<ListResponseIngestEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseIngestEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Create an ingest endpoint. */\n public create(\n sourceId: string,\n ingestEndpointIn: IngestEndpointIn,\n options?: IngestEndpointCreateOptions\n ): Promise<IngestEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/ingest/api/v1/source/{source_id}/endpoint\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(IngestEndpointInSerializer._toJsonObject(ingestEndpointIn));\n\n return request.send(this.requestCtx, IngestEndpointOutSerializer._fromJsonObject);\n }\n\n /** Get an ingest endpoint. */\n public get(sourceId: string, endpointId: string): Promise<IngestEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(this.requestCtx, IngestEndpointOutSerializer._fromJsonObject);\n }\n\n /** Update an ingest endpoint. */\n public update(\n sourceId: string,\n endpointId: string,\n ingestEndpointUpdate: IngestEndpointUpdate\n ): Promise<IngestEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(IngestEndpointUpdateSerializer._toJsonObject(ingestEndpointUpdate));\n\n return request.send(this.requestCtx, IngestEndpointOutSerializer._fromJsonObject);\n }\n\n /** Delete an ingest endpoint. */\n public delete(sourceId: string, endpointId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Get the additional headers to be sent with the ingest. */\n public getHeaders(\n sourceId: string,\n endpointId: string\n ): Promise<IngestEndpointHeadersOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n IngestEndpointHeadersOutSerializer._fromJsonObject\n );\n }\n\n /** Set the additional headers to be sent to the endpoint. */\n public updateHeaders(\n sourceId: string,\n endpointId: string,\n ingestEndpointHeadersIn: IngestEndpointHeadersIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n IngestEndpointHeadersInSerializer._toJsonObject(ingestEndpointHeadersIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * Get an ingest endpoint's signing secret.\n *\n * This is used to verify the authenticity of the webhook.\n * For more information please refer to [the consuming webhooks docs](https://docs.svix.com/consuming-webhooks/).\n */\n public getSecret(\n sourceId: string,\n endpointId: string\n ): Promise<IngestEndpointSecretOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/secret\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n IngestEndpointSecretOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Rotates an ingest endpoint's signing secret.\n *\n * The previous secret will remain valid for the next 24 hours.\n */\n public rotateSecret(\n sourceId: string,\n endpointId: string,\n ingestEndpointSecretIn: IngestEndpointSecretIn,\n options?: IngestEndpointRotateSecretOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/secret/rotate\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n IngestEndpointSecretInSerializer._toJsonObject(ingestEndpointSecretIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Get the transformation code associated with this ingest endpoint. */\n public getTransformation(\n sourceId: string,\n endpointId: string\n ): Promise<IngestEndpointTransformationOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n IngestEndpointTransformationOutSerializer._fromJsonObject\n );\n }\n\n /** Set or unset the transformation code associated with this ingest endpoint. */\n public setTransformation(\n sourceId: string,\n endpointId: string,\n ingestEndpointTransformationPatch: IngestEndpointTransformationPatch\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n IngestEndpointTransformationPatchSerializer._toJsonObject(\n ingestEndpointTransformationPatch\n )\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface AdobeSignConfig {\n clientId: string;\n}\n\nexport const AdobeSignConfigSerializer = {\n _fromJsonObject(object: any): AdobeSignConfig {\n return {\n clientId: object[\"clientId\"],\n };\n },\n\n _toJsonObject(self: AdobeSignConfig): any {\n return {\n clientId: self.clientId,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface AirwallexConfig {\n secret: string;\n}\n\nexport const AirwallexConfigSerializer = {\n _fromJsonObject(object: any): AirwallexConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: AirwallexConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface CheckbookConfig {\n secret: string;\n}\n\nexport const CheckbookConfigSerializer = {\n _fromJsonObject(object: any): CheckbookConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: CheckbookConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface CronConfig {\n /**\n * Override the default content-type.\n *\n * Recommended if the payload is not JSON.\n */\n contentType?: string | null;\n payload: string;\n schedule: string;\n}\n\nexport const CronConfigSerializer = {\n _fromJsonObject(object: any): CronConfig {\n return {\n contentType: object[\"contentType\"],\n payload: object[\"payload\"],\n schedule: object[\"schedule\"],\n };\n },\n\n _toJsonObject(self: CronConfig): any {\n return {\n contentType: self.contentType,\n payload: self.payload,\n schedule: self.schedule,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface DocusignConfig {\n secret?: string | null;\n}\n\nexport const DocusignConfigSerializer = {\n _fromJsonObject(object: any): DocusignConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: DocusignConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EasypostConfig {\n secret?: string | null;\n}\n\nexport const EasypostConfigSerializer = {\n _fromJsonObject(object: any): EasypostConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: EasypostConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface GithubConfig {\n secret?: string | null;\n}\n\nexport const GithubConfigSerializer = {\n _fromJsonObject(object: any): GithubConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: GithubConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface HubspotConfig {\n secret?: string | null;\n}\n\nexport const HubspotConfigSerializer = {\n _fromJsonObject(object: any): HubspotConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: HubspotConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OrumIoConfig {\n publicKey: string;\n}\n\nexport const OrumIoConfigSerializer = {\n _fromJsonObject(object: any): OrumIoConfig {\n return {\n publicKey: object[\"publicKey\"],\n };\n },\n\n _toJsonObject(self: OrumIoConfig): any {\n return {\n publicKey: self.publicKey,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface PandaDocConfig {\n secret: string;\n}\n\nexport const PandaDocConfigSerializer = {\n _fromJsonObject(object: any): PandaDocConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: PandaDocConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface PortIoConfig {\n secret: string;\n}\n\nexport const PortIoConfigSerializer = {\n _fromJsonObject(object: any): PortIoConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: PortIoConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface RutterConfig {\n secret: string;\n}\n\nexport const RutterConfigSerializer = {\n _fromJsonObject(object: any): RutterConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: RutterConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface SegmentConfig {\n secret?: string | null;\n}\n\nexport const SegmentConfigSerializer = {\n _fromJsonObject(object: any): SegmentConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: SegmentConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ShopifyConfig {\n secret: string;\n}\n\nexport const ShopifyConfigSerializer = {\n _fromJsonObject(object: any): ShopifyConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: ShopifyConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface SlackConfig {\n secret: string;\n}\n\nexport const SlackConfigSerializer = {\n _fromJsonObject(object: any): SlackConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: SlackConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface StripeConfig {\n secret: string;\n}\n\nexport const StripeConfigSerializer = {\n _fromJsonObject(object: any): StripeConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: StripeConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface SvixConfig {\n secret: string;\n}\n\nexport const SvixConfigSerializer = {\n _fromJsonObject(object: any): SvixConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: SvixConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface TelnyxConfig {\n publicKey: string;\n}\n\nexport const TelnyxConfigSerializer = {\n _fromJsonObject(object: any): TelnyxConfig {\n return {\n publicKey: object[\"publicKey\"],\n };\n },\n\n _toJsonObject(self: TelnyxConfig): any {\n return {\n publicKey: self.publicKey,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface VapiConfig {\n secret: string;\n}\n\nexport const VapiConfigSerializer = {\n _fromJsonObject(object: any): VapiConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: VapiConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface VeriffConfig {\n secret: string;\n}\n\nexport const VeriffConfigSerializer = {\n _fromJsonObject(object: any): VeriffConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: VeriffConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ZoomConfig {\n secret: string;\n}\n\nexport const ZoomConfigSerializer = {\n _fromJsonObject(object: any): ZoomConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: ZoomConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { AdobeSignConfig, AdobeSignConfigSerializer } from \"./adobeSignConfig\";\nimport { AirwallexConfig, AirwallexConfigSerializer } from \"./airwallexConfig\";\nimport { CheckbookConfig, CheckbookConfigSerializer } from \"./checkbookConfig\";\nimport { CronConfig, CronConfigSerializer } from \"./cronConfig\";\nimport { DocusignConfig, DocusignConfigSerializer } from \"./docusignConfig\";\nimport { EasypostConfig, EasypostConfigSerializer } from \"./easypostConfig\";\nimport { GithubConfig, GithubConfigSerializer } from \"./githubConfig\";\nimport { HubspotConfig, HubspotConfigSerializer } from \"./hubspotConfig\";\nimport { OrumIoConfig, OrumIoConfigSerializer } from \"./orumIoConfig\";\nimport { PandaDocConfig, PandaDocConfigSerializer } from \"./pandaDocConfig\";\nimport { PortIoConfig, PortIoConfigSerializer } from \"./portIoConfig\";\nimport { RutterConfig, RutterConfigSerializer } from \"./rutterConfig\";\nimport { SegmentConfig, SegmentConfigSerializer } from \"./segmentConfig\";\nimport { ShopifyConfig, ShopifyConfigSerializer } from \"./shopifyConfig\";\nimport { SlackConfig, SlackConfigSerializer } from \"./slackConfig\";\nimport { StripeConfig, StripeConfigSerializer } from \"./stripeConfig\";\nimport { SvixConfig, SvixConfigSerializer } from \"./svixConfig\";\nimport { TelnyxConfig, TelnyxConfigSerializer } from \"./telnyxConfig\";\nimport { VapiConfig, VapiConfigSerializer } from \"./vapiConfig\";\nimport { VeriffConfig, VeriffConfigSerializer } from \"./veriffConfig\";\nimport { ZoomConfig, ZoomConfigSerializer } from \"./zoomConfig\";\ninterface _IngestSourceInFields {\n metadata?: { [key: string]: string };\n name: string;\n /** The Source's UID. */\n uid?: string | null;\n}\n\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\ninterface IngestSourceInGenericWebhookConfig {}\n\ninterface IngestSourceInGenericWebhook {\n type: \"generic-webhook\";\n config?: IngestSourceInGenericWebhookConfig;\n}\n\ninterface IngestSourceInCron {\n type: \"cron\";\n config: CronConfig;\n}\n\ninterface IngestSourceInAdobeSign {\n type: \"adobe-sign\";\n config: AdobeSignConfig;\n}\n\ninterface IngestSourceInBeehiiv {\n type: \"beehiiv\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInBrex {\n type: \"brex\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInCheckbook {\n type: \"checkbook\";\n config: CheckbookConfig;\n}\n\ninterface IngestSourceInClerk {\n type: \"clerk\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInDocusign {\n type: \"docusign\";\n config: DocusignConfig;\n}\n\ninterface IngestSourceInEasypost {\n type: \"easypost\";\n config: EasypostConfig;\n}\n\ninterface IngestSourceInGithub {\n type: \"github\";\n config: GithubConfig;\n}\n\ninterface IngestSourceInGuesty {\n type: \"guesty\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInHubspot {\n type: \"hubspot\";\n config: HubspotConfig;\n}\n\ninterface IngestSourceInIncidentIo {\n type: \"incident-io\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInLithic {\n type: \"lithic\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInNash {\n type: \"nash\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInOrumIo {\n type: \"orum-io\";\n config: OrumIoConfig;\n}\n\ninterface IngestSourceInPandaDoc {\n type: \"panda-doc\";\n config: PandaDocConfig;\n}\n\ninterface IngestSourceInPortIo {\n type: \"port-io\";\n config: PortIoConfig;\n}\n\ninterface IngestSourceInPleo {\n type: \"pleo\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInReplicate {\n type: \"replicate\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInResend {\n type: \"resend\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInRutter {\n type: \"rutter\";\n config: RutterConfig;\n}\n\ninterface IngestSourceInSafebase {\n type: \"safebase\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInSardine {\n type: \"sardine\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInSegment {\n type: \"segment\";\n config: SegmentConfig;\n}\n\ninterface IngestSourceInShopify {\n type: \"shopify\";\n config: ShopifyConfig;\n}\n\ninterface IngestSourceInSlack {\n type: \"slack\";\n config: SlackConfig;\n}\n\ninterface IngestSourceInStripe {\n type: \"stripe\";\n config: StripeConfig;\n}\n\ninterface IngestSourceInStych {\n type: \"stych\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInSvix {\n type: \"svix\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInZoom {\n type: \"zoom\";\n config: ZoomConfig;\n}\n\ninterface IngestSourceInTelnyx {\n type: \"telnyx\";\n config: TelnyxConfig;\n}\n\ninterface IngestSourceInVapi {\n type: \"vapi\";\n config: VapiConfig;\n}\n\ninterface IngestSourceInOpenAi {\n type: \"open-ai\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInRender {\n type: \"render\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInVeriff {\n type: \"veriff\";\n config: VeriffConfig;\n}\n\ninterface IngestSourceInAirwallex {\n type: \"airwallex\";\n config: AirwallexConfig;\n}\n\nexport type IngestSourceIn = _IngestSourceInFields &\n (\n | IngestSourceInGenericWebhook\n | IngestSourceInCron\n | IngestSourceInAdobeSign\n | IngestSourceInBeehiiv\n | IngestSourceInBrex\n | IngestSourceInCheckbook\n | IngestSourceInClerk\n | IngestSourceInDocusign\n | IngestSourceInEasypost\n | IngestSourceInGithub\n | IngestSourceInGuesty\n | IngestSourceInHubspot\n | IngestSourceInIncidentIo\n | IngestSourceInLithic\n | IngestSourceInNash\n | IngestSourceInOrumIo\n | IngestSourceInPandaDoc\n | IngestSourceInPortIo\n | IngestSourceInPleo\n | IngestSourceInReplicate\n | IngestSourceInResend\n | IngestSourceInRutter\n | IngestSourceInSafebase\n | IngestSourceInSardine\n | IngestSourceInSegment\n | IngestSourceInShopify\n | IngestSourceInSlack\n | IngestSourceInStripe\n | IngestSourceInStych\n | IngestSourceInSvix\n | IngestSourceInZoom\n | IngestSourceInTelnyx\n | IngestSourceInVapi\n | IngestSourceInOpenAi\n | IngestSourceInRender\n | IngestSourceInVeriff\n | IngestSourceInAirwallex\n );\n\nexport const IngestSourceInSerializer = {\n _fromJsonObject(object: any): IngestSourceIn {\n const type = object[\"type\"];\n\n function getConfig(type: string): any {\n switch (type) {\n case \"generic-webhook\":\n return {};\n case \"cron\":\n return CronConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"adobe-sign\":\n return AdobeSignConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"beehiiv\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"brex\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"checkbook\":\n return CheckbookConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"clerk\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"docusign\":\n return DocusignConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"easypost\":\n return EasypostConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"github\":\n return GithubConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"guesty\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"hubspot\":\n return HubspotConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"incident-io\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"lithic\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"nash\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"orum-io\":\n return OrumIoConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"panda-doc\":\n return PandaDocConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"port-io\":\n return PortIoConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"pleo\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"replicate\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"resend\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"rutter\":\n return RutterConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"safebase\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"sardine\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"segment\":\n return SegmentConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"shopify\":\n return ShopifyConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"slack\":\n return SlackConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"stripe\":\n return StripeConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"stych\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"svix\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"zoom\":\n return ZoomConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"telnyx\":\n return TelnyxConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"vapi\":\n return VapiConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"open-ai\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"render\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"veriff\":\n return VeriffConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"airwallex\":\n return AirwallexConfigSerializer._fromJsonObject(object[\"config\"]);\n default:\n throw new Error(`Unexpected type: ${type}`);\n }\n }\n return {\n type,\n config: getConfig(type),\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n uid: object[\"uid\"],\n };\n },\n\n _toJsonObject(self: IngestSourceIn): any {\n let config;\n switch (self.type) {\n case \"generic-webhook\":\n config = {};\n break;\n case \"cron\":\n config = CronConfigSerializer._toJsonObject(self.config);\n break;\n case \"adobe-sign\":\n config = AdobeSignConfigSerializer._toJsonObject(self.config);\n break;\n case \"beehiiv\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"brex\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"checkbook\":\n config = CheckbookConfigSerializer._toJsonObject(self.config);\n break;\n case \"clerk\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"docusign\":\n config = DocusignConfigSerializer._toJsonObject(self.config);\n break;\n case \"easypost\":\n config = EasypostConfigSerializer._toJsonObject(self.config);\n break;\n case \"github\":\n config = GithubConfigSerializer._toJsonObject(self.config);\n break;\n case \"guesty\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"hubspot\":\n config = HubspotConfigSerializer._toJsonObject(self.config);\n break;\n case \"incident-io\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"lithic\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"nash\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"orum-io\":\n config = OrumIoConfigSerializer._toJsonObject(self.config);\n break;\n case \"panda-doc\":\n config = PandaDocConfigSerializer._toJsonObject(self.config);\n break;\n case \"port-io\":\n config = PortIoConfigSerializer._toJsonObject(self.config);\n break;\n case \"pleo\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"replicate\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"resend\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"rutter\":\n config = RutterConfigSerializer._toJsonObject(self.config);\n break;\n case \"safebase\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"sardine\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"segment\":\n config = SegmentConfigSerializer._toJsonObject(self.config);\n break;\n case \"shopify\":\n config = ShopifyConfigSerializer._toJsonObject(self.config);\n break;\n case \"slack\":\n config = SlackConfigSerializer._toJsonObject(self.config);\n break;\n case \"stripe\":\n config = StripeConfigSerializer._toJsonObject(self.config);\n break;\n case \"stych\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"svix\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"zoom\":\n config = ZoomConfigSerializer._toJsonObject(self.config);\n break;\n case \"telnyx\":\n config = TelnyxConfigSerializer._toJsonObject(self.config);\n break;\n case \"vapi\":\n config = VapiConfigSerializer._toJsonObject(self.config);\n break;\n case \"open-ai\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"render\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"veriff\":\n config = VeriffConfigSerializer._toJsonObject(self.config);\n break;\n case \"airwallex\":\n config = AirwallexConfigSerializer._toJsonObject(self.config);\n break;\n }\n\n return {\n type: self.type,\n config: config,\n metadata: self.metadata,\n name: self.name,\n uid: self.uid,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface AdobeSignConfigOut {}\n\nexport const AdobeSignConfigOutSerializer = {\n _fromJsonObject(object: any): AdobeSignConfigOut {\n return {};\n },\n\n _toJsonObject(self: AdobeSignConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface AirwallexConfigOut {}\n\nexport const AirwallexConfigOutSerializer = {\n _fromJsonObject(object: any): AirwallexConfigOut {\n return {};\n },\n\n _toJsonObject(self: AirwallexConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface CheckbookConfigOut {}\n\nexport const CheckbookConfigOutSerializer = {\n _fromJsonObject(object: any): CheckbookConfigOut {\n return {};\n },\n\n _toJsonObject(self: CheckbookConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface DocusignConfigOut {}\n\nexport const DocusignConfigOutSerializer = {\n _fromJsonObject(object: any): DocusignConfigOut {\n return {};\n },\n\n _toJsonObject(self: DocusignConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface EasypostConfigOut {}\n\nexport const EasypostConfigOutSerializer = {\n _fromJsonObject(object: any): EasypostConfigOut {\n return {};\n },\n\n _toJsonObject(self: EasypostConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface GithubConfigOut {}\n\nexport const GithubConfigOutSerializer = {\n _fromJsonObject(object: any): GithubConfigOut {\n return {};\n },\n\n _toJsonObject(self: GithubConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface HubspotConfigOut {}\n\nexport const HubspotConfigOutSerializer = {\n _fromJsonObject(object: any): HubspotConfigOut {\n return {};\n },\n\n _toJsonObject(self: HubspotConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OrumIoConfigOut {\n publicKey: string;\n}\n\nexport const OrumIoConfigOutSerializer = {\n _fromJsonObject(object: any): OrumIoConfigOut {\n return {\n publicKey: object[\"publicKey\"],\n };\n },\n\n _toJsonObject(self: OrumIoConfigOut): any {\n return {\n publicKey: self.publicKey,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface PandaDocConfigOut {}\n\nexport const PandaDocConfigOutSerializer = {\n _fromJsonObject(object: any): PandaDocConfigOut {\n return {};\n },\n\n _toJsonObject(self: PandaDocConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface PortIoConfigOut {}\n\nexport const PortIoConfigOutSerializer = {\n _fromJsonObject(object: any): PortIoConfigOut {\n return {};\n },\n\n _toJsonObject(self: PortIoConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface RutterConfigOut {}\n\nexport const RutterConfigOutSerializer = {\n _fromJsonObject(object: any): RutterConfigOut {\n return {};\n },\n\n _toJsonObject(self: RutterConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface SegmentConfigOut {}\n\nexport const SegmentConfigOutSerializer = {\n _fromJsonObject(object: any): SegmentConfigOut {\n return {};\n },\n\n _toJsonObject(self: SegmentConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface ShopifyConfigOut {}\n\nexport const ShopifyConfigOutSerializer = {\n _fromJsonObject(object: any): ShopifyConfigOut {\n return {};\n },\n\n _toJsonObject(self: ShopifyConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface SlackConfigOut {}\n\nexport const SlackConfigOutSerializer = {\n _fromJsonObject(object: any): SlackConfigOut {\n return {};\n },\n\n _toJsonObject(self: SlackConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface StripeConfigOut {}\n\nexport const StripeConfigOutSerializer = {\n _fromJsonObject(object: any): StripeConfigOut {\n return {};\n },\n\n _toJsonObject(self: StripeConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface SvixConfigOut {}\n\nexport const SvixConfigOutSerializer = {\n _fromJsonObject(object: any): SvixConfigOut {\n return {};\n },\n\n _toJsonObject(self: SvixConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface TelnyxConfigOut {\n publicKey: string;\n}\n\nexport const TelnyxConfigOutSerializer = {\n _fromJsonObject(object: any): TelnyxConfigOut {\n return {\n publicKey: object[\"publicKey\"],\n };\n },\n\n _toJsonObject(self: TelnyxConfigOut): any {\n return {\n publicKey: self.publicKey,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface VapiConfigOut {}\n\nexport const VapiConfigOutSerializer = {\n _fromJsonObject(object: any): VapiConfigOut {\n return {};\n },\n\n _toJsonObject(self: VapiConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface VeriffConfigOut {}\n\nexport const VeriffConfigOutSerializer = {\n _fromJsonObject(object: any): VeriffConfigOut {\n return {};\n },\n\n _toJsonObject(self: VeriffConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface ZoomConfigOut {}\n\nexport const ZoomConfigOutSerializer = {\n _fromJsonObject(object: any): ZoomConfigOut {\n return {};\n },\n\n _toJsonObject(self: ZoomConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { AdobeSignConfigOut, AdobeSignConfigOutSerializer } from \"./adobeSignConfigOut\";\nimport { AirwallexConfigOut, AirwallexConfigOutSerializer } from \"./airwallexConfigOut\";\nimport { CheckbookConfigOut, CheckbookConfigOutSerializer } from \"./checkbookConfigOut\";\nimport { CronConfig, CronConfigSerializer } from \"./cronConfig\";\nimport { DocusignConfigOut, DocusignConfigOutSerializer } from \"./docusignConfigOut\";\nimport { EasypostConfigOut, EasypostConfigOutSerializer } from \"./easypostConfigOut\";\nimport { GithubConfigOut, GithubConfigOutSerializer } from \"./githubConfigOut\";\nimport { HubspotConfigOut, HubspotConfigOutSerializer } from \"./hubspotConfigOut\";\nimport { OrumIoConfigOut, OrumIoConfigOutSerializer } from \"./orumIoConfigOut\";\nimport { PandaDocConfigOut, PandaDocConfigOutSerializer } from \"./pandaDocConfigOut\";\nimport { PortIoConfigOut, PortIoConfigOutSerializer } from \"./portIoConfigOut\";\nimport { RutterConfigOut, RutterConfigOutSerializer } from \"./rutterConfigOut\";\nimport { SegmentConfigOut, SegmentConfigOutSerializer } from \"./segmentConfigOut\";\nimport { ShopifyConfigOut, ShopifyConfigOutSerializer } from \"./shopifyConfigOut\";\nimport { SlackConfigOut, SlackConfigOutSerializer } from \"./slackConfigOut\";\nimport { StripeConfigOut, StripeConfigOutSerializer } from \"./stripeConfigOut\";\nimport { SvixConfigOut, SvixConfigOutSerializer } from \"./svixConfigOut\";\nimport { TelnyxConfigOut, TelnyxConfigOutSerializer } from \"./telnyxConfigOut\";\nimport { VapiConfigOut, VapiConfigOutSerializer } from \"./vapiConfigOut\";\nimport { VeriffConfigOut, VeriffConfigOutSerializer } from \"./veriffConfigOut\";\nimport { ZoomConfigOut, ZoomConfigOutSerializer } from \"./zoomConfigOut\";\ninterface _IngestSourceOutFields {\n createdAt: Date;\n /** The Source's ID. */\n id: string;\n ingestUrl?: string | null;\n metadata: { [key: string]: string };\n name: string;\n /** The Source's UID. */\n uid?: string | null;\n updatedAt: Date;\n}\n\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\ninterface IngestSourceOutGenericWebhookConfig {}\n\ninterface IngestSourceOutGenericWebhook {\n type: \"generic-webhook\";\n config?: IngestSourceOutGenericWebhookConfig;\n}\n\ninterface IngestSourceOutCron {\n type: \"cron\";\n config: CronConfig;\n}\n\ninterface IngestSourceOutAdobeSign {\n type: \"adobe-sign\";\n config: AdobeSignConfigOut;\n}\n\ninterface IngestSourceOutBeehiiv {\n type: \"beehiiv\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutBrex {\n type: \"brex\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutCheckbook {\n type: \"checkbook\";\n config: CheckbookConfigOut;\n}\n\ninterface IngestSourceOutClerk {\n type: \"clerk\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutDocusign {\n type: \"docusign\";\n config: DocusignConfigOut;\n}\n\ninterface IngestSourceOutEasypost {\n type: \"easypost\";\n config: EasypostConfigOut;\n}\n\ninterface IngestSourceOutGithub {\n type: \"github\";\n config: GithubConfigOut;\n}\n\ninterface IngestSourceOutGuesty {\n type: \"guesty\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutHubspot {\n type: \"hubspot\";\n config: HubspotConfigOut;\n}\n\ninterface IngestSourceOutIncidentIo {\n type: \"incident-io\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutLithic {\n type: \"lithic\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutNash {\n type: \"nash\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutOrumIo {\n type: \"orum-io\";\n config: OrumIoConfigOut;\n}\n\ninterface IngestSourceOutPandaDoc {\n type: \"panda-doc\";\n config: PandaDocConfigOut;\n}\n\ninterface IngestSourceOutPortIo {\n type: \"port-io\";\n config: PortIoConfigOut;\n}\n\ninterface IngestSourceOutPleo {\n type: \"pleo\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutReplicate {\n type: \"replicate\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutResend {\n type: \"resend\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutRutter {\n type: \"rutter\";\n config: RutterConfigOut;\n}\n\ninterface IngestSourceOutSafebase {\n type: \"safebase\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutSardine {\n type: \"sardine\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutSegment {\n type: \"segment\";\n config: SegmentConfigOut;\n}\n\ninterface IngestSourceOutShopify {\n type: \"shopify\";\n config: ShopifyConfigOut;\n}\n\ninterface IngestSourceOutSlack {\n type: \"slack\";\n config: SlackConfigOut;\n}\n\ninterface IngestSourceOutStripe {\n type: \"stripe\";\n config: StripeConfigOut;\n}\n\ninterface IngestSourceOutStych {\n type: \"stych\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutSvix {\n type: \"svix\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutZoom {\n type: \"zoom\";\n config: ZoomConfigOut;\n}\n\ninterface IngestSourceOutTelnyx {\n type: \"telnyx\";\n config: TelnyxConfigOut;\n}\n\ninterface IngestSourceOutVapi {\n type: \"vapi\";\n config: VapiConfigOut;\n}\n\ninterface IngestSourceOutOpenAi {\n type: \"open-ai\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutRender {\n type: \"render\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutVeriff {\n type: \"veriff\";\n config: VeriffConfigOut;\n}\n\ninterface IngestSourceOutAirwallex {\n type: \"airwallex\";\n config: AirwallexConfigOut;\n}\n\nexport type IngestSourceOut = _IngestSourceOutFields &\n (\n | IngestSourceOutGenericWebhook\n | IngestSourceOutCron\n | IngestSourceOutAdobeSign\n | IngestSourceOutBeehiiv\n | IngestSourceOutBrex\n | IngestSourceOutCheckbook\n | IngestSourceOutClerk\n | IngestSourceOutDocusign\n | IngestSourceOutEasypost\n | IngestSourceOutGithub\n | IngestSourceOutGuesty\n | IngestSourceOutHubspot\n | IngestSourceOutIncidentIo\n | IngestSourceOutLithic\n | IngestSourceOutNash\n | IngestSourceOutOrumIo\n | IngestSourceOutPandaDoc\n | IngestSourceOutPortIo\n | IngestSourceOutPleo\n | IngestSourceOutReplicate\n | IngestSourceOutResend\n | IngestSourceOutRutter\n | IngestSourceOutSafebase\n | IngestSourceOutSardine\n | IngestSourceOutSegment\n | IngestSourceOutShopify\n | IngestSourceOutSlack\n | IngestSourceOutStripe\n | IngestSourceOutStych\n | IngestSourceOutSvix\n | IngestSourceOutZoom\n | IngestSourceOutTelnyx\n | IngestSourceOutVapi\n | IngestSourceOutOpenAi\n | IngestSourceOutRender\n | IngestSourceOutVeriff\n | IngestSourceOutAirwallex\n );\n\nexport const IngestSourceOutSerializer = {\n _fromJsonObject(object: any): IngestSourceOut {\n const type = object[\"type\"];\n\n function getConfig(type: string): any {\n switch (type) {\n case \"generic-webhook\":\n return {};\n case \"cron\":\n return CronConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"adobe-sign\":\n return AdobeSignConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"beehiiv\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"brex\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"checkbook\":\n return CheckbookConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"clerk\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"docusign\":\n return DocusignConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"easypost\":\n return EasypostConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"github\":\n return GithubConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"guesty\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"hubspot\":\n return HubspotConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"incident-io\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"lithic\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"nash\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"orum-io\":\n return OrumIoConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"panda-doc\":\n return PandaDocConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"port-io\":\n return PortIoConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"pleo\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"replicate\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"resend\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"rutter\":\n return RutterConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"safebase\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"sardine\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"segment\":\n return SegmentConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"shopify\":\n return ShopifyConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"slack\":\n return SlackConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"stripe\":\n return StripeConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"stych\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"svix\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"zoom\":\n return ZoomConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"telnyx\":\n return TelnyxConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"vapi\":\n return VapiConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"open-ai\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"render\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"veriff\":\n return VeriffConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"airwallex\":\n return AirwallexConfigOutSerializer._fromJsonObject(object[\"config\"]);\n default:\n throw new Error(`Unexpected type: ${type}`);\n }\n }\n return {\n type,\n config: getConfig(type),\n createdAt: new Date(object[\"createdAt\"]),\n id: object[\"id\"],\n ingestUrl: object[\"ingestUrl\"],\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: IngestSourceOut): any {\n let config;\n switch (self.type) {\n case \"generic-webhook\":\n config = {};\n break;\n case \"cron\":\n config = CronConfigSerializer._toJsonObject(self.config);\n break;\n case \"adobe-sign\":\n config = AdobeSignConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"beehiiv\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"brex\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"checkbook\":\n config = CheckbookConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"clerk\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"docusign\":\n config = DocusignConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"easypost\":\n config = EasypostConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"github\":\n config = GithubConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"guesty\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"hubspot\":\n config = HubspotConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"incident-io\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"lithic\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"nash\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"orum-io\":\n config = OrumIoConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"panda-doc\":\n config = PandaDocConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"port-io\":\n config = PortIoConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"pleo\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"replicate\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"resend\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"rutter\":\n config = RutterConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"safebase\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"sardine\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"segment\":\n config = SegmentConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"shopify\":\n config = ShopifyConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"slack\":\n config = SlackConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"stripe\":\n config = StripeConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"stych\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"svix\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"zoom\":\n config = ZoomConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"telnyx\":\n config = TelnyxConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"vapi\":\n config = VapiConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"open-ai\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"render\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"veriff\":\n config = VeriffConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"airwallex\":\n config = AirwallexConfigOutSerializer._toJsonObject(self.config);\n break;\n }\n\n return {\n type: self.type,\n config: config,\n createdAt: self.createdAt,\n id: self.id,\n ingestUrl: self.ingestUrl,\n metadata: self.metadata,\n name: self.name,\n uid: self.uid,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { IngestSourceOut, IngestSourceOutSerializer } from \"./ingestSourceOut\";\n\nexport interface ListResponseIngestSourceOut {\n data: IngestSourceOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseIngestSourceOutSerializer = {\n _fromJsonObject(object: any): ListResponseIngestSourceOut {\n return {\n data: object[\"data\"].map((item: IngestSourceOut) =>\n IngestSourceOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseIngestSourceOut): any {\n return {\n data: self.data.map((item) => IngestSourceOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface RotateTokenOut {\n ingestUrl: string;\n}\n\nexport const RotateTokenOutSerializer = {\n _fromJsonObject(object: any): RotateTokenOut {\n return {\n ingestUrl: object[\"ingestUrl\"],\n };\n },\n\n _toJsonObject(self: RotateTokenOut): any {\n return {\n ingestUrl: self.ingestUrl,\n };\n },\n};\n","// this file is @generated\n\nimport { IngestSourceIn, IngestSourceInSerializer } from \"../models/ingestSourceIn\";\nimport { IngestSourceOut, IngestSourceOutSerializer } from \"../models/ingestSourceOut\";\nimport {\n ListResponseIngestSourceOut,\n ListResponseIngestSourceOutSerializer,\n} from \"../models/listResponseIngestSourceOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { RotateTokenOut, RotateTokenOutSerializer } from \"../models/rotateTokenOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface IngestSourceListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface IngestSourceCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface IngestSourceRotateTokenOptions {\n idempotencyKey?: string;\n}\n\nexport class IngestSource {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List of all the organization's Ingest Sources. */\n public list(options?: IngestSourceListOptions): Promise<ListResponseIngestSourceOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/ingest/api/v1/source\");\n\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseIngestSourceOutSerializer._fromJsonObject\n );\n }\n\n /** Create Ingest Source. */\n public create(\n ingestSourceIn: IngestSourceIn,\n options?: IngestSourceCreateOptions\n ): Promise<IngestSourceOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/ingest/api/v1/source\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(IngestSourceInSerializer._toJsonObject(ingestSourceIn));\n\n return request.send(this.requestCtx, IngestSourceOutSerializer._fromJsonObject);\n }\n\n /** Get an Ingest Source by id or uid. */\n public get(sourceId: string): Promise<IngestSourceOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/ingest/api/v1/source/{source_id}\");\n\n request.setPathParam(\"source_id\", sourceId);\n\n return request.send(this.requestCtx, IngestSourceOutSerializer._fromJsonObject);\n }\n\n /** Update an Ingest Source. */\n public update(\n sourceId: string,\n ingestSourceIn: IngestSourceIn\n ): Promise<IngestSourceOut> {\n const request = new SvixRequest(HttpMethod.PUT, \"/ingest/api/v1/source/{source_id}\");\n\n request.setPathParam(\"source_id\", sourceId);\n request.setBody(IngestSourceInSerializer._toJsonObject(ingestSourceIn));\n\n return request.send(this.requestCtx, IngestSourceOutSerializer._fromJsonObject);\n }\n\n /** Delete an Ingest Source. */\n public delete(sourceId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/ingest/api/v1/source/{source_id}\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * Rotate the Ingest Source's Url Token.\n *\n * This will rotate the ingest source's token, which is used to\n * construct the unique `ingestUrl` for the source. Previous tokens\n * will remain valid for 48 hours after rotation. The token can be\n * rotated a maximum of three times within the 48-hour period.\n */\n public rotateToken(\n sourceId: string,\n options?: IngestSourceRotateTokenOptions\n ): Promise<RotateTokenOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/ingest/api/v1/source/{source_id}/token/rotate\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, RotateTokenOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n\nimport {\n DashboardAccessOut,\n DashboardAccessOutSerializer,\n} from \"../models/dashboardAccessOut\";\nimport {\n IngestSourceConsumerPortalAccessIn,\n IngestSourceConsumerPortalAccessInSerializer,\n} from \"../models/ingestSourceConsumerPortalAccessIn\";\nimport { IngestEndpoint } from \"./ingestEndpoint\";\nimport { IngestSource } from \"./ingestSource\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface IngestDashboardOptions {\n idempotencyKey?: string;\n}\n\nexport class Ingest {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n public get endpoint() {\n return new IngestEndpoint(this.requestCtx);\n }\n\n public get source() {\n return new IngestSource(this.requestCtx);\n }\n\n /** Get access to the Ingest Source Consumer Portal. */\n public dashboard(\n sourceId: string,\n ingestSourceConsumerPortalAccessIn: IngestSourceConsumerPortalAccessIn,\n options?: IngestDashboardOptions\n ): Promise<DashboardAccessOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/ingest/api/v1/source/{source_id}/dashboard\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n IngestSourceConsumerPortalAccessInSerializer._toJsonObject(\n ingestSourceConsumerPortalAccessIn\n )\n );\n\n return request.send(this.requestCtx, DashboardAccessOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IntegrationIn {\n /** The set of feature flags the integration will have access to. */\n featureFlags?: string[];\n name: string;\n}\n\nexport const IntegrationInSerializer = {\n _fromJsonObject(object: any): IntegrationIn {\n return {\n featureFlags: object[\"featureFlags\"],\n name: object[\"name\"],\n };\n },\n\n _toJsonObject(self: IntegrationIn): any {\n return {\n featureFlags: self.featureFlags,\n name: self.name,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IntegrationKeyOut {\n key: string;\n}\n\nexport const IntegrationKeyOutSerializer = {\n _fromJsonObject(object: any): IntegrationKeyOut {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: IntegrationKeyOut): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IntegrationOut {\n createdAt: Date;\n /** The set of feature flags the integration has access to. */\n featureFlags?: string[];\n /** The Integration's ID. */\n id: string;\n name: string;\n updatedAt: Date;\n}\n\nexport const IntegrationOutSerializer = {\n _fromJsonObject(object: any): IntegrationOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n featureFlags: object[\"featureFlags\"],\n id: object[\"id\"],\n name: object[\"name\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: IntegrationOut): any {\n return {\n createdAt: self.createdAt,\n featureFlags: self.featureFlags,\n id: self.id,\n name: self.name,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IntegrationUpdate {\n /** The set of feature flags the integration will have access to. */\n featureFlags?: string[];\n name: string;\n}\n\nexport const IntegrationUpdateSerializer = {\n _fromJsonObject(object: any): IntegrationUpdate {\n return {\n featureFlags: object[\"featureFlags\"],\n name: object[\"name\"],\n };\n },\n\n _toJsonObject(self: IntegrationUpdate): any {\n return {\n featureFlags: self.featureFlags,\n name: self.name,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { IntegrationOut, IntegrationOutSerializer } from \"./integrationOut\";\n\nexport interface ListResponseIntegrationOut {\n data: IntegrationOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseIntegrationOutSerializer = {\n _fromJsonObject(object: any): ListResponseIntegrationOut {\n return {\n data: object[\"data\"].map((item: IntegrationOut) =>\n IntegrationOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseIntegrationOut): any {\n return {\n data: self.data.map((item) => IntegrationOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport { IntegrationIn, IntegrationInSerializer } from \"../models/integrationIn\";\nimport {\n IntegrationKeyOut,\n IntegrationKeyOutSerializer,\n} from \"../models/integrationKeyOut\";\nimport { IntegrationOut, IntegrationOutSerializer } from \"../models/integrationOut\";\nimport {\n IntegrationUpdate,\n IntegrationUpdateSerializer,\n} from \"../models/integrationUpdate\";\nimport {\n ListResponseIntegrationOut,\n ListResponseIntegrationOutSerializer,\n} from \"../models/listResponseIntegrationOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface IntegrationListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface IntegrationCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface IntegrationRotateKeyOptions {\n idempotencyKey?: string;\n}\n\nexport class Integration {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List the application's integrations. */\n public list(\n appId: string,\n options?: IntegrationListOptions\n ): Promise<ListResponseIntegrationOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}/integration\");\n\n request.setPathParam(\"app_id\", appId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseIntegrationOutSerializer._fromJsonObject\n );\n }\n\n /** Create an integration. */\n public create(\n appId: string,\n integrationIn: IntegrationIn,\n options?: IntegrationCreateOptions\n ): Promise<IntegrationOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app/{app_id}/integration\");\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(IntegrationInSerializer._toJsonObject(integrationIn));\n\n return request.send(this.requestCtx, IntegrationOutSerializer._fromJsonObject);\n }\n\n /** Get an integration. */\n public get(appId: string, integId: string): Promise<IntegrationOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/integration/{integ_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n\n return request.send(this.requestCtx, IntegrationOutSerializer._fromJsonObject);\n }\n\n /** Update an integration. */\n public update(\n appId: string,\n integId: string,\n integrationUpdate: IntegrationUpdate\n ): Promise<IntegrationOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/app/{app_id}/integration/{integ_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n request.setBody(IntegrationUpdateSerializer._toJsonObject(integrationUpdate));\n\n return request.send(this.requestCtx, IntegrationOutSerializer._fromJsonObject);\n }\n\n /** Delete an integration. */\n public delete(appId: string, integId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/app/{app_id}/integration/{integ_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * Get an integration's key.\n *\n * @deprecated\n */\n public getKey(appId: string, integId: string): Promise<IntegrationKeyOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/integration/{integ_id}/key\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n\n return request.send(this.requestCtx, IntegrationKeyOutSerializer._fromJsonObject);\n }\n\n /** Rotate the integration's key. The previous key will be immediately revoked. */\n public rotateKey(\n appId: string,\n integId: string,\n options?: IntegrationRotateKeyOptions\n ): Promise<IntegrationKeyOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/integration/{integ_id}/key/rotate\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, IntegrationKeyOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface ExpungeAllContentsOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const ExpungeAllContentsOutSerializer = {\n _fromJsonObject(object: any): ExpungeAllContentsOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: ExpungeAllContentsOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageOut, MessageOutSerializer } from \"./messageOut\";\n\nexport interface ListResponseMessageOut {\n data: MessageOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseMessageOutSerializer = {\n _fromJsonObject(object: any): ListResponseMessageOut {\n return {\n data: object[\"data\"].map((item: MessageOut) =>\n MessageOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseMessageOut): any {\n return {\n data: self.data.map((item) => MessageOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface PollingEndpointConsumerSeekIn {\n after: Date;\n}\n\nexport const PollingEndpointConsumerSeekInSerializer = {\n _fromJsonObject(object: any): PollingEndpointConsumerSeekIn {\n return {\n after: new Date(object[\"after\"]),\n };\n },\n\n _toJsonObject(self: PollingEndpointConsumerSeekIn): any {\n return {\n after: self.after,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface PollingEndpointConsumerSeekOut {\n iterator: string;\n}\n\nexport const PollingEndpointConsumerSeekOutSerializer = {\n _fromJsonObject(object: any): PollingEndpointConsumerSeekOut {\n return {\n iterator: object[\"iterator\"],\n };\n },\n\n _toJsonObject(self: PollingEndpointConsumerSeekOut): any {\n return {\n iterator: self.iterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\n/** The MessageOut equivalent of polling endpoint */\nexport interface PollingEndpointMessageOut {\n /** List of free-form identifiers that endpoints can filter by */\n channels?: string[] | null;\n /** Optional unique identifier for the message */\n eventId?: string | null;\n /** The event type's name */\n eventType: string;\n headers?: { [key: string]: string } | null;\n /** The Message's ID. */\n id: string;\n payload: any;\n tags?: string[] | null;\n timestamp: Date;\n}\n\nexport const PollingEndpointMessageOutSerializer = {\n _fromJsonObject(object: any): PollingEndpointMessageOut {\n return {\n channels: object[\"channels\"],\n eventId: object[\"eventId\"],\n eventType: object[\"eventType\"],\n headers: object[\"headers\"],\n id: object[\"id\"],\n payload: object[\"payload\"],\n tags: object[\"tags\"],\n timestamp: new Date(object[\"timestamp\"]),\n };\n },\n\n _toJsonObject(self: PollingEndpointMessageOut): any {\n return {\n channels: self.channels,\n eventId: self.eventId,\n eventType: self.eventType,\n headers: self.headers,\n id: self.id,\n payload: self.payload,\n tags: self.tags,\n timestamp: self.timestamp,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n PollingEndpointMessageOut,\n PollingEndpointMessageOutSerializer,\n} from \"./pollingEndpointMessageOut\";\n\nexport interface PollingEndpointOut {\n data: PollingEndpointMessageOut[];\n done: boolean;\n iterator: string;\n}\n\nexport const PollingEndpointOutSerializer = {\n _fromJsonObject(object: any): PollingEndpointOut {\n return {\n data: object[\"data\"].map((item: PollingEndpointMessageOut) =>\n PollingEndpointMessageOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n };\n },\n\n _toJsonObject(self: PollingEndpointOut): any {\n return {\n data: self.data.map((item) =>\n PollingEndpointMessageOutSerializer._toJsonObject(item)\n ),\n done: self.done,\n iterator: self.iterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n PollingEndpointConsumerSeekIn,\n PollingEndpointConsumerSeekInSerializer,\n} from \"../models/pollingEndpointConsumerSeekIn\";\nimport {\n PollingEndpointConsumerSeekOut,\n PollingEndpointConsumerSeekOutSerializer,\n} from \"../models/pollingEndpointConsumerSeekOut\";\nimport {\n PollingEndpointOut,\n PollingEndpointOutSerializer,\n} from \"../models/pollingEndpointOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface MessagePollerPollOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filters messages sent with this event type (optional). */\n eventType?: string;\n /** Filters messages sent with this channel (optional). */\n channel?: string;\n after?: Date | null;\n}\n\nexport interface MessagePollerConsumerPollOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n}\n\nexport interface MessagePollerConsumerSeekOptions {\n idempotencyKey?: string;\n}\n\nexport class MessagePoller {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Reads the stream of created messages for an application, filtered on the Sink's event types and Channels. */\n public poll(\n appId: string,\n sinkId: string,\n options?: MessagePollerPollOptions\n ): Promise<PollingEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/poller/{sink_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"sink_id\", sinkId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"event_type\", options?.eventType);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"after\", options?.after);\n\n return request.send(this.requestCtx, PollingEndpointOutSerializer._fromJsonObject);\n }\n\n /**\n * Reads the stream of created messages for an application, filtered on the Sink's event types and\n * Channels, using server-managed iterator tracking.\n */\n public consumerPoll(\n appId: string,\n sinkId: string,\n consumerId: string,\n options?: MessagePollerConsumerPollOptions\n ): Promise<PollingEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/poller/{sink_id}/consumer/{consumer_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"sink_id\", sinkId);\n request.setPathParam(\"consumer_id\", consumerId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n\n return request.send(this.requestCtx, PollingEndpointOutSerializer._fromJsonObject);\n }\n\n /** Sets the starting offset for the consumer of a polling endpoint. */\n public consumerSeek(\n appId: string,\n sinkId: string,\n consumerId: string,\n pollingEndpointConsumerSeekIn: PollingEndpointConsumerSeekIn,\n options?: MessagePollerConsumerSeekOptions\n ): Promise<PollingEndpointConsumerSeekOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/poller/{sink_id}/consumer/{consumer_id}/seek\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"sink_id\", sinkId);\n request.setPathParam(\"consumer_id\", consumerId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n PollingEndpointConsumerSeekInSerializer._toJsonObject(pollingEndpointConsumerSeekIn)\n );\n\n return request.send(\n this.requestCtx,\n PollingEndpointConsumerSeekOutSerializer._fromJsonObject\n );\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ApplicationIn, ApplicationInSerializer } from \"./applicationIn\";\n\nexport interface MessageIn {\n /**\n * Optionally creates a new application alongside the message.\n *\n * If the application id or uid that is used in the path already exists, this argument is ignored.\n */\n application?: ApplicationIn | null;\n /** List of free-form identifiers that endpoints can filter by */\n channels?: string[] | null;\n /** Optional unique identifier for the message */\n eventId?: string | null;\n /** The event type's name */\n eventType: string;\n /**\n * JSON payload to send as the request body of the webhook.\n *\n * We also support sending non-JSON payloads. Please contact us for more information.\n */\n payload: any;\n /** Optional number of hours to retain the message payload. Note that this is mutually exclusive with `payloadRetentionPeriod`. */\n payloadRetentionHours?: number | null;\n /** Optional number of days to retain the message payload. Defaults to 90. Note that this is mutually exclusive with `payloadRetentionHours`. */\n payloadRetentionPeriod?: number | null;\n /** List of free-form tags that can be filtered by when listing messages */\n tags?: string[] | null;\n /** Extra parameters to pass to Transformations (for future use) */\n transformationsParams?: any | null;\n}\n\nexport const MessageInSerializer = {\n _fromJsonObject(object: any): MessageIn {\n return {\n application: object[\"application\"]\n ? ApplicationInSerializer._fromJsonObject(object[\"application\"])\n : undefined,\n channels: object[\"channels\"],\n eventId: object[\"eventId\"],\n eventType: object[\"eventType\"],\n payload: object[\"payload\"],\n payloadRetentionHours: object[\"payloadRetentionHours\"],\n payloadRetentionPeriod: object[\"payloadRetentionPeriod\"],\n tags: object[\"tags\"],\n transformationsParams: object[\"transformationsParams\"],\n };\n },\n\n _toJsonObject(self: MessageIn): any {\n return {\n application: self.application\n ? ApplicationInSerializer._toJsonObject(self.application)\n : undefined,\n channels: self.channels,\n eventId: self.eventId,\n eventType: self.eventType,\n payload: self.payload,\n payloadRetentionHours: self.payloadRetentionHours,\n payloadRetentionPeriod: self.payloadRetentionPeriod,\n tags: self.tags,\n transformationsParams: self.transformationsParams,\n };\n },\n};\n","// this file is @generated\n\nimport {\n ExpungeAllContentsOut,\n ExpungeAllContentsOutSerializer,\n} from \"../models/expungeAllContentsOut\";\nimport {\n ListResponseMessageOut,\n ListResponseMessageOutSerializer,\n} from \"../models/listResponseMessageOut\";\nimport { MessageOut, MessageOutSerializer } from \"../models/messageOut\";\nimport { MessagePoller } from \"./messagePoller\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\nimport { MessageIn, MessageInSerializer } from \"../models/messageIn\";\n\nexport interface MessageListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filter response based on the channel. */\n channel?: string;\n /** Only include items created before a certain date. */\n before?: Date | null;\n /** Only include items created after a certain date. */\n after?: Date | null;\n /** When `true` message payloads are included in the response. */\n withContent?: boolean;\n /** Filter messages matching the provided tag. */\n tag?: string;\n /** Filter response based on the event type */\n eventTypes?: string[];\n}\n\nexport interface MessageCreateOptions {\n /** When `true`, message payloads are included in the response. */\n withContent?: boolean;\n idempotencyKey?: string;\n}\n\nexport interface MessageExpungeAllContentsOptions {\n idempotencyKey?: string;\n}\n\nexport interface MessageGetOptions {\n /** When `true` message payloads are included in the response. */\n withContent?: boolean;\n}\n\nexport class Message {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n public get poller() {\n return new MessagePoller(this.requestCtx);\n }\n\n /**\n * List all of the application's messages.\n *\n * The `before` and `after` parameters let you filter all items created before or after a certain date. These can be used alongside an iterator to paginate over results\n * within a certain window.\n *\n * Note that by default this endpoint is limited to retrieving 90 days' worth of data\n * relative to now or, if an iterator is provided, 90 days before/after the time indicated\n * by the iterator ID. If you require data beyond those time ranges, you will need to explicitly\n * set the `before` or `after` parameter as appropriate.\n */\n public list(\n appId: string,\n options?: MessageListOptions\n ): Promise<ListResponseMessageOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}/msg\");\n\n request.setPathParam(\"app_id\", appId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"before\", options?.before);\n request.setQueryParam(\"after\", options?.after);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setQueryParam(\"tag\", options?.tag);\n request.setQueryParam(\"event_types\", options?.eventTypes);\n\n return request.send(\n this.requestCtx,\n ListResponseMessageOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Creates a new message and dispatches it to all of the application's endpoints.\n *\n * The `eventId` is an optional custom unique ID. It's verified to be unique only up to a day, after that no verification will be made.\n * If a message with the same `eventId` already exists for the application, a 409 conflict error will be returned.\n *\n * The `eventType` indicates the type and schema of the event. All messages of a certain `eventType` are expected to have the same schema. Endpoints can choose to only listen to specific event types.\n * Messages can also have `channels`, which similar to event types let endpoints filter by them. Unlike event types, messages can have multiple channels, and channels don't imply a specific message content or schema.\n *\n * The `payload` property is the webhook's body (the actual webhook message). Svix supports payload sizes of up to 1MiB, though it's generally a good idea to keep webhook payloads small, probably no larger than 40kb.\n */\n public create(\n appId: string,\n messageIn: MessageIn,\n options?: MessageCreateOptions\n ): Promise<MessageOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app/{app_id}/msg\");\n\n request.setPathParam(\"app_id\", appId);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(MessageInSerializer._toJsonObject(messageIn));\n\n return request.send(this.requestCtx, MessageOutSerializer._fromJsonObject);\n }\n\n /**\n * Delete all message payloads for the application.\n *\n * This operation is only available in the <a href=\"https://svix.com/pricing\" target=\"_blank\">Enterprise</a> plan.\n */\n public expungeAllContents(\n appId: string,\n options?: MessageExpungeAllContentsOptions\n ): Promise<ExpungeAllContentsOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/msg/expunge-all-contents\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, ExpungeAllContentsOutSerializer._fromJsonObject);\n }\n\n /** Get a message by its ID or eventID. */\n public get(\n appId: string,\n msgId: string,\n options?: MessageGetOptions\n ): Promise<MessageOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}/msg/{msg_id}\");\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setQueryParam(\"with_content\", options?.withContent);\n\n return request.send(this.requestCtx, MessageOutSerializer._fromJsonObject);\n }\n\n /**\n * Delete the given message's payload.\n *\n * Useful in cases when a message was accidentally sent with sensitive content.\n * The message can't be replayed or resent once its payload has been deleted or expired.\n */\n public expungeContent(appId: string, msgId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/app/{app_id}/msg/{msg_id}/content\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n\n/**\n * Creates a `MessageIn` with a raw string payload.\n *\n * The payload is not normalized on the server. Normally, payloads are\n * required to be JSON, and Svix will minify the payload before sending the\n * webhooks (for example, by removing extraneous whitespace or unnecessarily\n * escaped characters in strings). With this function, the payload will be\n * sent \"as is\", without any minification or other processing.\n *\n * @param payload Serialized message payload\n * @param contentType The value to use for the Content-Type header of the webhook sent by Svix, overwriting the default of `application/json` if specified\n *\n * See the class documentation for details about the other parameters.\n */\nexport function messageInRaw(\n eventType: string,\n payload: string,\n contentType?: string\n): MessageIn {\n const headers = contentType ? { \"content-type\": contentType } : undefined;\n\n return {\n eventType,\n payload: {},\n transformationsParams: {\n rawPayload: payload,\n headers,\n },\n };\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/**\n * The sending status of the message:\n *\n * - Success = 0\n * - Pending = 1\n * - Fail = 2\n * - Sending = 3\n */\nexport enum MessageStatus {\n Success = 0,\n Pending = 1,\n Fail = 2,\n Sending = 3,\n}\n\nexport const MessageStatusSerializer = {\n _fromJsonObject(object: any): MessageStatus {\n return object;\n },\n\n _toJsonObject(self: MessageStatus): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum MessageStatusText {\n Success = \"success\",\n Pending = \"pending\",\n Fail = \"fail\",\n Sending = \"sending\",\n}\n\nexport const MessageStatusTextSerializer = {\n _fromJsonObject(object: any): MessageStatusText {\n return object;\n },\n\n _toJsonObject(self: MessageStatusText): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageStatus, MessageStatusSerializer } from \"./messageStatus\";\nimport { MessageStatusText, MessageStatusTextSerializer } from \"./messageStatusText\";\n\n/** A model containing information on a given message plus additional fields on the last attempt for that message. */\nexport interface EndpointMessageOut {\n /** List of free-form identifiers that endpoints can filter by */\n channels?: string[] | null;\n /** Optional unique identifier for the message */\n eventId?: string | null;\n /** The event type's name */\n eventType: string;\n /** The Message's ID. */\n id: string;\n nextAttempt?: Date | null;\n payload: any;\n status: MessageStatus;\n statusText: MessageStatusText;\n tags?: string[] | null;\n timestamp: Date;\n}\n\nexport const EndpointMessageOutSerializer = {\n _fromJsonObject(object: any): EndpointMessageOut {\n return {\n channels: object[\"channels\"],\n eventId: object[\"eventId\"],\n eventType: object[\"eventType\"],\n id: object[\"id\"],\n nextAttempt: object[\"nextAttempt\"] ? new Date(object[\"nextAttempt\"]) : null,\n payload: object[\"payload\"],\n status: MessageStatusSerializer._fromJsonObject(object[\"status\"]),\n statusText: MessageStatusTextSerializer._fromJsonObject(object[\"statusText\"]),\n tags: object[\"tags\"],\n timestamp: new Date(object[\"timestamp\"]),\n };\n },\n\n _toJsonObject(self: EndpointMessageOut): any {\n return {\n channels: self.channels,\n eventId: self.eventId,\n eventType: self.eventType,\n id: self.id,\n nextAttempt: self.nextAttempt,\n payload: self.payload,\n status: MessageStatusSerializer._toJsonObject(self.status),\n statusText: MessageStatusTextSerializer._toJsonObject(self.statusText),\n tags: self.tags,\n timestamp: self.timestamp,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { EndpointMessageOut, EndpointMessageOutSerializer } from \"./endpointMessageOut\";\n\nexport interface ListResponseEndpointMessageOut {\n data: EndpointMessageOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseEndpointMessageOutSerializer = {\n _fromJsonObject(object: any): ListResponseEndpointMessageOut {\n return {\n data: object[\"data\"].map((item: EndpointMessageOut) =>\n EndpointMessageOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseEndpointMessageOut): any {\n return {\n data: self.data.map((item) => EndpointMessageOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/**\n * The reason an attempt was made:\n *\n * - Scheduled = 0\n * - Manual = 1\n */\nexport enum MessageAttemptTriggerType {\n Scheduled = 0,\n Manual = 1,\n}\n\nexport const MessageAttemptTriggerTypeSerializer = {\n _fromJsonObject(object: any): MessageAttemptTriggerType {\n return object;\n },\n\n _toJsonObject(self: MessageAttemptTriggerType): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n MessageAttemptTriggerType,\n MessageAttemptTriggerTypeSerializer,\n} from \"./messageAttemptTriggerType\";\nimport { MessageOut, MessageOutSerializer } from \"./messageOut\";\nimport { MessageStatus, MessageStatusSerializer } from \"./messageStatus\";\nimport { MessageStatusText, MessageStatusTextSerializer } from \"./messageStatusText\";\n\nexport interface MessageAttemptOut {\n /** The Endpoint's ID. */\n endpointId: string;\n /** The MessageAttempt's ID. */\n id: string;\n msg?: MessageOut | null;\n /** The Message's ID. */\n msgId: string;\n response: string;\n /** Response duration in milliseconds. */\n responseDurationMs: number;\n responseStatusCode: number;\n status: MessageStatus;\n statusText: MessageStatusText;\n timestamp: Date;\n triggerType: MessageAttemptTriggerType;\n url: string;\n}\n\nexport const MessageAttemptOutSerializer = {\n _fromJsonObject(object: any): MessageAttemptOut {\n return {\n endpointId: object[\"endpointId\"],\n id: object[\"id\"],\n msg: object[\"msg\"]\n ? MessageOutSerializer._fromJsonObject(object[\"msg\"])\n : undefined,\n msgId: object[\"msgId\"],\n response: object[\"response\"],\n responseDurationMs: object[\"responseDurationMs\"],\n responseStatusCode: object[\"responseStatusCode\"],\n status: MessageStatusSerializer._fromJsonObject(object[\"status\"]),\n statusText: MessageStatusTextSerializer._fromJsonObject(object[\"statusText\"]),\n timestamp: new Date(object[\"timestamp\"]),\n triggerType: MessageAttemptTriggerTypeSerializer._fromJsonObject(\n object[\"triggerType\"]\n ),\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: MessageAttemptOut): any {\n return {\n endpointId: self.endpointId,\n id: self.id,\n msg: self.msg ? MessageOutSerializer._toJsonObject(self.msg) : undefined,\n msgId: self.msgId,\n response: self.response,\n responseDurationMs: self.responseDurationMs,\n responseStatusCode: self.responseStatusCode,\n status: MessageStatusSerializer._toJsonObject(self.status),\n statusText: MessageStatusTextSerializer._toJsonObject(self.statusText),\n timestamp: self.timestamp,\n triggerType: MessageAttemptTriggerTypeSerializer._toJsonObject(self.triggerType),\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageAttemptOut, MessageAttemptOutSerializer } from \"./messageAttemptOut\";\n\nexport interface ListResponseMessageAttemptOut {\n data: MessageAttemptOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseMessageAttemptOutSerializer = {\n _fromJsonObject(object: any): ListResponseMessageAttemptOut {\n return {\n data: object[\"data\"].map((item: MessageAttemptOut) =>\n MessageAttemptOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseMessageAttemptOut): any {\n return {\n data: self.data.map((item) => MessageAttemptOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageStatus, MessageStatusSerializer } from \"./messageStatus\";\nimport { MessageStatusText, MessageStatusTextSerializer } from \"./messageStatusText\";\n\nexport interface MessageEndpointOut {\n /** List of message channels this endpoint listens to (omit for all). */\n channels?: string[] | null;\n createdAt: Date;\n /** An example endpoint name. */\n description: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n /** The Endpoint's ID. */\n id: string;\n nextAttempt?: Date | null;\n rateLimit?: number | null;\n status: MessageStatus;\n statusText: MessageStatusText;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n updatedAt: Date;\n url: string;\n version: number;\n}\n\nexport const MessageEndpointOutSerializer = {\n _fromJsonObject(object: any): MessageEndpointOut {\n return {\n channels: object[\"channels\"],\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n id: object[\"id\"],\n nextAttempt: object[\"nextAttempt\"] ? new Date(object[\"nextAttempt\"]) : null,\n rateLimit: object[\"rateLimit\"],\n status: MessageStatusSerializer._fromJsonObject(object[\"status\"]),\n statusText: MessageStatusTextSerializer._fromJsonObject(object[\"statusText\"]),\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: MessageEndpointOut): any {\n return {\n channels: self.channels,\n createdAt: self.createdAt,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n id: self.id,\n nextAttempt: self.nextAttempt,\n rateLimit: self.rateLimit,\n status: MessageStatusSerializer._toJsonObject(self.status),\n statusText: MessageStatusTextSerializer._toJsonObject(self.statusText),\n uid: self.uid,\n updatedAt: self.updatedAt,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageEndpointOut, MessageEndpointOutSerializer } from \"./messageEndpointOut\";\n\nexport interface ListResponseMessageEndpointOut {\n data: MessageEndpointOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseMessageEndpointOutSerializer = {\n _fromJsonObject(object: any): ListResponseMessageEndpointOut {\n return {\n data: object[\"data\"].map((item: MessageEndpointOut) =>\n MessageEndpointOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseMessageEndpointOut): any {\n return {\n data: self.data.map((item) => MessageEndpointOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n ListResponseEndpointMessageOut,\n ListResponseEndpointMessageOutSerializer,\n} from \"../models/listResponseEndpointMessageOut\";\nimport {\n ListResponseMessageAttemptOut,\n ListResponseMessageAttemptOutSerializer,\n} from \"../models/listResponseMessageAttemptOut\";\nimport {\n ListResponseMessageEndpointOut,\n ListResponseMessageEndpointOutSerializer,\n} from \"../models/listResponseMessageEndpointOut\";\nimport {\n MessageAttemptOut,\n MessageAttemptOutSerializer,\n} from \"../models/messageAttemptOut\";\nimport { MessageStatus } from \"../models/messageStatus\";\nimport { StatusCodeClass } from \"../models/statusCodeClass\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface MessageAttemptListByEndpointOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filter response based on the status of the attempt: Success (0), Pending (1), Failed (2), or Sending (3) */\n status?: MessageStatus;\n /** Filter response based on the HTTP status code */\n statusCodeClass?: StatusCodeClass;\n /** Filter response based on the channel */\n channel?: string;\n /** Filter response based on the tag */\n tag?: string;\n /** Only include items created before a certain date */\n before?: Date | null;\n /** Only include items created after a certain date */\n after?: Date | null;\n /** When `true` attempt content is included in the response */\n withContent?: boolean;\n /** When `true`, the message information is included in the response */\n withMsg?: boolean;\n /** Filter response based on the event type */\n eventTypes?: string[];\n}\n\nexport interface MessageAttemptListByMsgOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filter response based on the status of the attempt: Success (0), Pending (1), Failed (2), or Sending (3) */\n status?: MessageStatus;\n /** Filter response based on the HTTP status code */\n statusCodeClass?: StatusCodeClass;\n /** Filter response based on the channel */\n channel?: string;\n /** Filter response based on the tag */\n tag?: string;\n /** Filter the attempts based on the attempted endpoint */\n endpointId?: string;\n /** Only include items created before a certain date */\n before?: Date | null;\n /** Only include items created after a certain date */\n after?: Date | null;\n /** When `true` attempt content is included in the response */\n withContent?: boolean;\n /** Filter response based on the event type */\n eventTypes?: string[];\n}\n\nexport interface MessageAttemptListAttemptedMessagesOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filter response based on the channel */\n channel?: string;\n /** Filter response based on the message tags */\n tag?: string;\n /** Filter response based on the status of the attempt: Success (0), Pending (1), Failed (2), or Sending (3) */\n status?: MessageStatus;\n /** Only include items created before a certain date */\n before?: Date | null;\n /** Only include items created after a certain date */\n after?: Date | null;\n /** When `true` message payloads are included in the response */\n withContent?: boolean;\n /** Filter response based on the event type */\n eventTypes?: string[];\n}\n\nexport interface MessageAttemptListAttemptedDestinationsOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n}\n\nexport interface MessageAttemptResendOptions {\n idempotencyKey?: string;\n}\n\nexport class MessageAttempt {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /**\n * List attempts by endpoint id\n *\n * Note that by default this endpoint is limited to retrieving 90 days' worth of data\n * relative to now or, if an iterator is provided, 90 days before/after the time indicated\n * by the iterator ID. If you require data beyond those time ranges, you will need to explicitly\n * set the `before` or `after` parameter as appropriate.\n */\n public listByEndpoint(\n appId: string,\n endpointId: string,\n options?: MessageAttemptListByEndpointOptions\n ): Promise<ListResponseMessageAttemptOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/attempt/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"status\", options?.status);\n request.setQueryParam(\"status_code_class\", options?.statusCodeClass);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"tag\", options?.tag);\n request.setQueryParam(\"before\", options?.before);\n request.setQueryParam(\"after\", options?.after);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setQueryParam(\"with_msg\", options?.withMsg);\n request.setQueryParam(\"event_types\", options?.eventTypes);\n\n return request.send(\n this.requestCtx,\n ListResponseMessageAttemptOutSerializer._fromJsonObject\n );\n }\n\n /**\n * List attempts by message ID.\n *\n * Note that by default this endpoint is limited to retrieving 90 days' worth of data\n * relative to now or, if an iterator is provided, 90 days before/after the time indicated\n * by the iterator ID. If you require data beyond those time ranges, you will need to explicitly\n * set the `before` or `after` parameter as appropriate.\n */\n public listByMsg(\n appId: string,\n msgId: string,\n options?: MessageAttemptListByMsgOptions\n ): Promise<ListResponseMessageAttemptOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/attempt/msg/{msg_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"status\", options?.status);\n request.setQueryParam(\"status_code_class\", options?.statusCodeClass);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"tag\", options?.tag);\n request.setQueryParam(\"endpoint_id\", options?.endpointId);\n request.setQueryParam(\"before\", options?.before);\n request.setQueryParam(\"after\", options?.after);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setQueryParam(\"event_types\", options?.eventTypes);\n\n return request.send(\n this.requestCtx,\n ListResponseMessageAttemptOutSerializer._fromJsonObject\n );\n }\n\n /**\n * List messages for a particular endpoint. Additionally includes metadata about the latest message attempt.\n *\n * The `before` parameter lets you filter all items created before a certain date and is ignored if an iterator is passed.\n *\n * Note that by default this endpoint is limited to retrieving 90 days' worth of data\n * relative to now or, if an iterator is provided, 90 days before/after the time indicated\n * by the iterator ID. If you require data beyond those time ranges, you will need to explicitly\n * set the `before` or `after` parameter as appropriate.\n */\n public listAttemptedMessages(\n appId: string,\n endpointId: string,\n options?: MessageAttemptListAttemptedMessagesOptions\n ): Promise<ListResponseEndpointMessageOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/msg\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"tag\", options?.tag);\n request.setQueryParam(\"status\", options?.status);\n request.setQueryParam(\"before\", options?.before);\n request.setQueryParam(\"after\", options?.after);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setQueryParam(\"event_types\", options?.eventTypes);\n\n return request.send(\n this.requestCtx,\n ListResponseEndpointMessageOutSerializer._fromJsonObject\n );\n }\n\n /** `msg_id`: Use a message id or a message `eventId` */\n public get(\n appId: string,\n msgId: string,\n attemptId: string\n ): Promise<MessageAttemptOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/msg/{msg_id}/attempt/{attempt_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setPathParam(\"attempt_id\", attemptId);\n\n return request.send(this.requestCtx, MessageAttemptOutSerializer._fromJsonObject);\n }\n\n /**\n * Deletes the given attempt's response body.\n *\n * Useful when an endpoint accidentally returned sensitive content.\n * The message can't be replayed or resent once its payload has been deleted or expired.\n */\n public expungeContent(appId: string, msgId: string, attemptId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/app/{app_id}/msg/{msg_id}/attempt/{attempt_id}/content\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setPathParam(\"attempt_id\", attemptId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * List endpoints attempted by a given message.\n *\n * Additionally includes metadata about the latest message attempt.\n * By default, endpoints are listed in ascending order by ID.\n */\n public listAttemptedDestinations(\n appId: string,\n msgId: string,\n options?: MessageAttemptListAttemptedDestinationsOptions\n ): Promise<ListResponseMessageEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/msg/{msg_id}/endpoint\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n\n return request.send(\n this.requestCtx,\n ListResponseMessageEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Resend a message to the specified endpoint. */\n public resend(\n appId: string,\n msgId: string,\n endpointId: string,\n options?: MessageAttemptResendOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/msg/{msg_id}/endpoint/{endpoint_id}/resend\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointOut {\n createdAt: Date;\n /** An example endpoint name. */\n description: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n /** The Endpoint's ID. */\n id: string;\n metadata: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n updatedAt: Date;\n url: string;\n}\n\nexport const OperationalWebhookEndpointOutSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n id: object[\"id\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointOut): any {\n return {\n createdAt: self.createdAt,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n id: self.id,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n updatedAt: self.updatedAt,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n OperationalWebhookEndpointOut,\n OperationalWebhookEndpointOutSerializer,\n} from \"./operationalWebhookEndpointOut\";\n\nexport interface ListResponseOperationalWebhookEndpointOut {\n data: OperationalWebhookEndpointOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseOperationalWebhookEndpointOutSerializer = {\n _fromJsonObject(object: any): ListResponseOperationalWebhookEndpointOut {\n return {\n data: object[\"data\"].map((item: OperationalWebhookEndpointOut) =>\n OperationalWebhookEndpointOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseOperationalWebhookEndpointOut): any {\n return {\n data: self.data.map((item) =>\n OperationalWebhookEndpointOutSerializer._toJsonObject(item)\n ),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointHeadersIn {\n headers: { [key: string]: string };\n}\n\nexport const OperationalWebhookEndpointHeadersInSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointHeadersIn {\n return {\n headers: object[\"headers\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointHeadersIn): any {\n return {\n headers: self.headers,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointHeadersOut {\n headers: { [key: string]: string };\n sensitive: string[];\n}\n\nexport const OperationalWebhookEndpointHeadersOutSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointHeadersOut {\n return {\n headers: object[\"headers\"],\n sensitive: object[\"sensitive\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointHeadersOut): any {\n return {\n headers: self.headers,\n sensitive: self.sensitive,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointIn {\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n secret?: string | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n}\n\nexport const OperationalWebhookEndpointInSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointIn {\n return {\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n secret: object[\"secret\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointIn): any {\n return {\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n secret: self.secret,\n uid: self.uid,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointSecretIn {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key?: string | null;\n}\n\nexport const OperationalWebhookEndpointSecretInSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointSecretIn {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointSecretIn): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointSecretOut {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key: string;\n}\n\nexport const OperationalWebhookEndpointSecretOutSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointSecretOut {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointSecretOut): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointUpdate {\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n}\n\nexport const OperationalWebhookEndpointUpdateSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointUpdate {\n return {\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointUpdate): any {\n return {\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n\nimport {\n ListResponseOperationalWebhookEndpointOut,\n ListResponseOperationalWebhookEndpointOutSerializer,\n} from \"../models/listResponseOperationalWebhookEndpointOut\";\nimport {\n OperationalWebhookEndpointHeadersIn,\n OperationalWebhookEndpointHeadersInSerializer,\n} from \"../models/operationalWebhookEndpointHeadersIn\";\nimport {\n OperationalWebhookEndpointHeadersOut,\n OperationalWebhookEndpointHeadersOutSerializer,\n} from \"../models/operationalWebhookEndpointHeadersOut\";\nimport {\n OperationalWebhookEndpointIn,\n OperationalWebhookEndpointInSerializer,\n} from \"../models/operationalWebhookEndpointIn\";\nimport {\n OperationalWebhookEndpointOut,\n OperationalWebhookEndpointOutSerializer,\n} from \"../models/operationalWebhookEndpointOut\";\nimport {\n OperationalWebhookEndpointSecretIn,\n OperationalWebhookEndpointSecretInSerializer,\n} from \"../models/operationalWebhookEndpointSecretIn\";\nimport {\n OperationalWebhookEndpointSecretOut,\n OperationalWebhookEndpointSecretOutSerializer,\n} from \"../models/operationalWebhookEndpointSecretOut\";\nimport {\n OperationalWebhookEndpointUpdate,\n OperationalWebhookEndpointUpdateSerializer,\n} from \"../models/operationalWebhookEndpointUpdate\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface OperationalWebhookEndpointListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface OperationalWebhookEndpointCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface OperationalWebhookEndpointRotateSecretOptions {\n idempotencyKey?: string;\n}\n\nexport class OperationalWebhookEndpoint {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List operational webhook endpoints. */\n public list(\n options?: OperationalWebhookEndpointListOptions\n ): Promise<ListResponseOperationalWebhookEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/operational-webhook/endpoint\"\n );\n\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseOperationalWebhookEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Create an operational webhook endpoint. */\n public create(\n operationalWebhookEndpointIn: OperationalWebhookEndpointIn,\n options?: OperationalWebhookEndpointCreateOptions\n ): Promise<OperationalWebhookEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/operational-webhook/endpoint\"\n );\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n OperationalWebhookEndpointInSerializer._toJsonObject(operationalWebhookEndpointIn)\n );\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Get an operational webhook endpoint. */\n public get(endpointId: string): Promise<OperationalWebhookEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Update an operational webhook endpoint. */\n public update(\n endpointId: string,\n operationalWebhookEndpointUpdate: OperationalWebhookEndpointUpdate\n ): Promise<OperationalWebhookEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n OperationalWebhookEndpointUpdateSerializer._toJsonObject(\n operationalWebhookEndpointUpdate\n )\n );\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Delete an operational webhook endpoint. */\n public delete(endpointId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Get the additional headers to be sent with the operational webhook. */\n public getHeaders(endpointId: string): Promise<OperationalWebhookEndpointHeadersOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointHeadersOutSerializer._fromJsonObject\n );\n }\n\n /** Set the additional headers to be sent with the operational webhook. */\n public updateHeaders(\n endpointId: string,\n operationalWebhookEndpointHeadersIn: OperationalWebhookEndpointHeadersIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n OperationalWebhookEndpointHeadersInSerializer._toJsonObject(\n operationalWebhookEndpointHeadersIn\n )\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * Get an operational webhook endpoint's signing secret.\n *\n * This is used to verify the authenticity of the webhook.\n * For more information please refer to [the consuming webhooks docs](https://docs.svix.com/consuming-webhooks/).\n */\n public getSecret(endpointId: string): Promise<OperationalWebhookEndpointSecretOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}/secret\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointSecretOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Rotates an operational webhook endpoint's signing secret.\n *\n * The previous secret will remain valid for the next 24 hours.\n */\n public rotateSecret(\n endpointId: string,\n operationalWebhookEndpointSecretIn: OperationalWebhookEndpointSecretIn,\n options?: OperationalWebhookEndpointRotateSecretOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}/secret/rotate\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n OperationalWebhookEndpointSecretInSerializer._toJsonObject(\n operationalWebhookEndpointSecretIn\n )\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n\nimport { OperationalWebhookEndpoint } from \"./operationalWebhookEndpoint\";\nimport { SvixRequestContext } from \"../request\";\n\nexport class OperationalWebhook {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n public get endpoint() {\n return new OperationalWebhookEndpoint(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface AggregateEventTypesOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const AggregateEventTypesOutSerializer = {\n _fromJsonObject(object: any): AggregateEventTypesOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: AggregateEventTypesOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface AppUsageStatsIn {\n /**\n * Specific app IDs or UIDs to aggregate stats for.\n *\n * Note that if none of the given IDs or UIDs are resolved, a 422 response will be given.\n */\n appIds?: string[] | null;\n since: Date;\n until: Date;\n}\n\nexport const AppUsageStatsInSerializer = {\n _fromJsonObject(object: any): AppUsageStatsIn {\n return {\n appIds: object[\"appIds\"],\n since: new Date(object[\"since\"]),\n until: new Date(object[\"until\"]),\n };\n },\n\n _toJsonObject(self: AppUsageStatsIn): any {\n return {\n appIds: self.appIds,\n since: self.since,\n until: self.until,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface AppUsageStatsOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n /**\n * Any app IDs or UIDs received in the request that weren't found.\n *\n * Stats will be produced for all the others.\n */\n unresolvedAppIds: string[];\n}\n\nexport const AppUsageStatsOutSerializer = {\n _fromJsonObject(object: any): AppUsageStatsOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n unresolvedAppIds: object[\"unresolvedAppIds\"],\n };\n },\n\n _toJsonObject(self: AppUsageStatsOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n unresolvedAppIds: self.unresolvedAppIds,\n };\n },\n};\n","// this file is @generated\n\nimport {\n AggregateEventTypesOut,\n AggregateEventTypesOutSerializer,\n} from \"../models/aggregateEventTypesOut\";\nimport { AppUsageStatsIn, AppUsageStatsInSerializer } from \"../models/appUsageStatsIn\";\nimport { AppUsageStatsOut, AppUsageStatsOutSerializer } from \"../models/appUsageStatsOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface StatisticsAggregateAppStatsOptions {\n idempotencyKey?: string;\n}\n\nexport class Statistics {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /**\n * Creates a background task to calculate the message destinations for all applications in the environment.\n *\n * Note that this endpoint is asynchronous. You will need to poll the `Get Background Task` endpoint to\n * retrieve the results of the operation.\n */\n public aggregateAppStats(\n appUsageStatsIn: AppUsageStatsIn,\n options?: StatisticsAggregateAppStatsOptions\n ): Promise<AppUsageStatsOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/stats/usage/app\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(AppUsageStatsInSerializer._toJsonObject(appUsageStatsIn));\n\n return request.send(this.requestCtx, AppUsageStatsOutSerializer._fromJsonObject);\n }\n\n /**\n * Creates a background task to calculate the listed event types for all apps in the organization.\n *\n * Note that this endpoint is asynchronous. You will need to poll the `Get Background Task` endpoint to\n * retrieve the results of the operation.\n */\n public aggregateEventTypes(): Promise<AggregateEventTypesOut> {\n const request = new SvixRequest(HttpMethod.PUT, \"/api/v1/stats/usage/event-types\");\n\n return request.send(\n this.requestCtx,\n AggregateEventTypesOutSerializer._fromJsonObject\n );\n }\n}\n","export class HttpErrorOut {\n \"code\": string;\n \"detail\": string;\n\n static readonly discriminator: string | undefined = undefined;\n\n static readonly mapping: { [index: string]: string } | undefined = undefined;\n\n static readonly attributeTypeMap: Array<{\n name: string;\n baseName: string;\n type: string;\n format: string;\n }> = [\n {\n name: \"code\",\n baseName: \"code\",\n type: \"string\",\n format: \"\",\n },\n {\n name: \"detail\",\n baseName: \"detail\",\n type: \"string\",\n format: \"\",\n },\n ];\n\n static getAttributeTypeMap() {\n return HttpErrorOut.attributeTypeMap;\n }\n}\n\n/**\n * Validation errors have their own schema to provide context for invalid requests eg. mismatched types and out of bounds values. There may be any number of these per 422 UNPROCESSABLE ENTITY error.\n */\nexport class ValidationError {\n /**\n * The location as a [`Vec`] of [`String`]s -- often in the form `[\\\"body\\\", \\\"field_name\\\"]`, `[\\\"query\\\", \\\"field_name\\\"]`, etc. They may, however, be arbitrarily deep.\n */\n \"loc\": Array<string>;\n /**\n * The message accompanying the validation error item.\n */\n \"msg\": string;\n /**\n * The type of error, often \\\"type_error\\\" or \\\"value_error\\\", but sometimes with more context like as \\\"value_error.number.not_ge\\\"\n */\n \"type\": string;\n\n static readonly discriminator: string | undefined = undefined;\n\n static readonly mapping: { [index: string]: string } | undefined = undefined;\n\n static readonly attributeTypeMap: Array<{\n name: string;\n baseName: string;\n type: string;\n format: string;\n }> = [\n {\n name: \"loc\",\n baseName: \"loc\",\n type: \"Array<string>\",\n format: \"\",\n },\n {\n name: \"msg\",\n baseName: \"msg\",\n type: \"string\",\n format: \"\",\n },\n {\n name: \"type\",\n baseName: \"type\",\n type: \"string\",\n format: \"\",\n },\n ];\n\n static getAttributeTypeMap() {\n return ValidationError.attributeTypeMap;\n }\n}\n\nexport class HTTPValidationError {\n \"detail\": Array<ValidationError>;\n\n static readonly discriminator: string | undefined = undefined;\n\n static readonly mapping: { [index: string]: string } | undefined = undefined;\n\n static readonly attributeTypeMap: Array<{\n name: string;\n baseName: string;\n type: string;\n format: string;\n }> = [\n {\n name: \"detail\",\n baseName: \"detail\",\n type: \"Array<ValidationError>\",\n format: \"\",\n },\n ];\n\n static getAttributeTypeMap() {\n return HTTPValidationError.attributeTypeMap;\n }\n}\n","// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.\n// https://github.com/denoland/deno_std/blob/main/crypto/timing_safe_equal.ts\n\n/** Make an assertion, if not `true`, then throw. */\nfunction assert(expr: unknown, msg = \"\"): asserts expr {\n if (!expr) {\n throw new Error(msg);\n }\n}\n\n/** Compare to array buffers or data views in a way that timing based attacks\n * cannot gain information about the platform. */\nexport function timingSafeEqual(\n a: ArrayBufferView | ArrayBufferLike | DataView,\n b: ArrayBufferView | ArrayBufferLike | DataView\n): boolean {\n if (a.byteLength !== b.byteLength) {\n return false;\n }\n if (!(a instanceof DataView)) {\n a = new DataView(ArrayBuffer.isView(a) ? a.buffer : a);\n }\n if (!(b instanceof DataView)) {\n b = new DataView(ArrayBuffer.isView(b) ? b.buffer : b);\n }\n assert(a instanceof DataView);\n assert(b instanceof DataView);\n const length = a.byteLength;\n let out = 0;\n let i = -1;\n while (++i < length) {\n out |= a.getUint8(i) ^ b.getUint8(i);\n }\n return out === 0;\n}\n","// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\n\n/**\n * Package base64 implements Base64 encoding and decoding.\n */\n\n// Invalid character used in decoding to indicate\n// that the character to decode is out of range of\n// alphabet and cannot be decoded.\nconst INVALID_BYTE = 256;\n\n/**\n * Implements standard Base64 encoding.\n *\n * Operates in constant time.\n */\nexport class Coder {\n // TODO(dchest): methods to encode chunk-by-chunk.\n\n constructor(private _paddingCharacter = \"=\") { }\n\n encodedLength(length: number): number {\n if (!this._paddingCharacter) {\n return (length * 8 + 5) / 6 | 0;\n }\n return (length + 2) / 3 * 4 | 0;\n }\n\n encode(data: Uint8Array): string {\n let out = \"\";\n\n let i = 0;\n for (; i < data.length - 2; i += 3) {\n let c = (data[i] << 16) | (data[i + 1] << 8) | (data[i + 2]);\n out += this._encodeByte((c >>> 3 * 6) & 63);\n out += this._encodeByte((c >>> 2 * 6) & 63);\n out += this._encodeByte((c >>> 1 * 6) & 63);\n out += this._encodeByte((c >>> 0 * 6) & 63);\n }\n\n const left = data.length - i;\n if (left > 0) {\n let c = (data[i] << 16) | (left === 2 ? data[i + 1] << 8 : 0);\n out += this._encodeByte((c >>> 3 * 6) & 63);\n out += this._encodeByte((c >>> 2 * 6) & 63);\n if (left === 2) {\n out += this._encodeByte((c >>> 1 * 6) & 63);\n } else {\n out += this._paddingCharacter || \"\";\n }\n out += this._paddingCharacter || \"\";\n }\n\n return out;\n }\n\n maxDecodedLength(length: number): number {\n if (!this._paddingCharacter) {\n return (length * 6 + 7) / 8 | 0;\n }\n return length / 4 * 3 | 0;\n }\n\n decodedLength(s: string): number {\n return this.maxDecodedLength(s.length - this._getPaddingLength(s));\n }\n\n decode(s: string): Uint8Array {\n if (s.length === 0) {\n return new Uint8Array(0);\n }\n const paddingLength = this._getPaddingLength(s);\n const length = s.length - paddingLength;\n const out = new Uint8Array(this.maxDecodedLength(length));\n let op = 0;\n let i = 0;\n let haveBad = 0;\n let v0 = 0, v1 = 0, v2 = 0, v3 = 0;\n for (; i < length - 4; i += 4) {\n v0 = this._decodeChar(s.charCodeAt(i + 0));\n v1 = this._decodeChar(s.charCodeAt(i + 1));\n v2 = this._decodeChar(s.charCodeAt(i + 2));\n v3 = this._decodeChar(s.charCodeAt(i + 3));\n out[op++] = (v0 << 2) | (v1 >>> 4);\n out[op++] = (v1 << 4) | (v2 >>> 2);\n out[op++] = (v2 << 6) | v3;\n haveBad |= v0 & INVALID_BYTE;\n haveBad |= v1 & INVALID_BYTE;\n haveBad |= v2 & INVALID_BYTE;\n haveBad |= v3 & INVALID_BYTE;\n }\n if (i < length - 1) {\n v0 = this._decodeChar(s.charCodeAt(i));\n v1 = this._decodeChar(s.charCodeAt(i + 1));\n out[op++] = (v0 << 2) | (v1 >>> 4);\n haveBad |= v0 & INVALID_BYTE;\n haveBad |= v1 & INVALID_BYTE;\n }\n if (i < length - 2) {\n v2 = this._decodeChar(s.charCodeAt(i + 2));\n out[op++] = (v1 << 4) | (v2 >>> 2);\n haveBad |= v2 & INVALID_BYTE;\n }\n if (i < length - 3) {\n v3 = this._decodeChar(s.charCodeAt(i + 3));\n out[op++] = (v2 << 6) | v3;\n haveBad |= v3 & INVALID_BYTE;\n }\n if (haveBad !== 0) {\n throw new Error(\"Base64Coder: incorrect characters for decoding\");\n }\n return out;\n }\n\n // Standard encoding have the following encoded/decoded ranges,\n // which we need to convert between.\n //\n // ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 + /\n // Index: 0 - 25 26 - 51 52 - 61 62 63\n // ASCII: 65 - 90 97 - 122 48 - 57 43 47\n //\n\n // Encode 6 bits in b into a new character.\n protected _encodeByte(b: number): string {\n // Encoding uses constant time operations as follows:\n //\n // 1. Define comparison of A with B using (A - B) >>> 8:\n // if A > B, then result is positive integer\n // if A <= B, then result is 0\n //\n // 2. Define selection of C or 0 using bitwise AND: X & C:\n // if X == 0, then result is 0\n // if X != 0, then result is C\n //\n // 3. Start with the smallest comparison (b >= 0), which is always\n // true, so set the result to the starting ASCII value (65).\n //\n // 4. Continue comparing b to higher ASCII values, and selecting\n // zero if comparison isn't true, otherwise selecting a value\n // to add to result, which:\n //\n // a) undoes the previous addition\n // b) provides new value to add\n //\n let result = b;\n // b >= 0\n result += 65;\n // b > 25\n result += ((25 - b) >>> 8) & ((0 - 65) - 26 + 97);\n // b > 51\n result += ((51 - b) >>> 8) & ((26 - 97) - 52 + 48);\n // b > 61\n result += ((61 - b) >>> 8) & ((52 - 48) - 62 + 43);\n // b > 62\n result += ((62 - b) >>> 8) & ((62 - 43) - 63 + 47);\n\n return String.fromCharCode(result);\n }\n\n // Decode a character code into a byte.\n // Must return 256 if character is out of alphabet range.\n protected _decodeChar(c: number): number {\n // Decoding works similar to encoding: using the same comparison\n // function, but now it works on ranges: result is always incremented\n // by value, but this value becomes zero if the range is not\n // satisfied.\n //\n // Decoding starts with invalid value, 256, which is then\n // subtracted when the range is satisfied. If none of the ranges\n // apply, the function returns 256, which is then checked by\n // the caller to throw error.\n let result = INVALID_BYTE; // start with invalid character\n\n // c == 43 (c > 42 and c < 44)\n result += (((42 - c) & (c - 44)) >>> 8) & (-INVALID_BYTE + c - 43 + 62);\n // c == 47 (c > 46 and c < 48)\n result += (((46 - c) & (c - 48)) >>> 8) & (-INVALID_BYTE + c - 47 + 63);\n // c > 47 and c < 58\n result += (((47 - c) & (c - 58)) >>> 8) & (-INVALID_BYTE + c - 48 + 52);\n // c > 64 and c < 91\n result += (((64 - c) & (c - 91)) >>> 8) & (-INVALID_BYTE + c - 65 + 0);\n // c > 96 and c < 123\n result += (((96 - c) & (c - 123)) >>> 8) & (-INVALID_BYTE + c - 97 + 26);\n\n return result;\n }\n\n private _getPaddingLength(s: string): number {\n let paddingLength = 0;\n if (this._paddingCharacter) {\n for (let i = s.length - 1; i >= 0; i--) {\n if (s[i] !== this._paddingCharacter) {\n break;\n }\n paddingLength++;\n }\n if (s.length < 4 || paddingLength > 2) {\n throw new Error(\"Base64Coder: incorrect padding\");\n }\n }\n return paddingLength;\n }\n\n}\n\nconst stdCoder = new Coder();\n\nexport function encode(data: Uint8Array): string {\n return stdCoder.encode(data);\n}\n\nexport function decode(s: string): Uint8Array {\n return stdCoder.decode(s);\n}\n\n/**\n * Implements URL-safe Base64 encoding.\n * (Same as Base64, but '+' is replaced with '-', and '/' with '_').\n *\n * Operates in constant time.\n */\nexport class URLSafeCoder extends Coder {\n // URL-safe encoding have the following encoded/decoded ranges:\n //\n // ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 - _\n // Index: 0 - 25 26 - 51 52 - 61 62 63\n // ASCII: 65 - 90 97 - 122 48 - 57 45 95\n //\n\n protected _encodeByte(b: number): string {\n let result = b;\n // b >= 0\n result += 65;\n // b > 25\n result += ((25 - b) >>> 8) & ((0 - 65) - 26 + 97);\n // b > 51\n result += ((51 - b) >>> 8) & ((26 - 97) - 52 + 48);\n // b > 61\n result += ((61 - b) >>> 8) & ((52 - 48) - 62 + 45);\n // b > 62\n result += ((62 - b) >>> 8) & ((62 - 45) - 63 + 95);\n\n return String.fromCharCode(result);\n }\n\n protected _decodeChar(c: number): number {\n let result = INVALID_BYTE;\n\n // c == 45 (c > 44 and c < 46)\n result += (((44 - c) & (c - 46)) >>> 8) & (-INVALID_BYTE + c - 45 + 62);\n // c == 95 (c > 94 and c < 96)\n result += (((94 - c) & (c - 96)) >>> 8) & (-INVALID_BYTE + c - 95 + 63);\n // c > 47 and c < 58\n result += (((47 - c) & (c - 58)) >>> 8) & (-INVALID_BYTE + c - 48 + 52);\n // c > 64 and c < 91\n result += (((64 - c) & (c - 91)) >>> 8) & (-INVALID_BYTE + c - 65 + 0);\n // c > 96 and c < 123\n result += (((96 - c) & (c - 123)) >>> 8) & (-INVALID_BYTE + c - 97 + 26);\n\n return result;\n }\n}\n\nconst urlSafeCoder = new URLSafeCoder();\n\nexport function encodeURLSafe(data: Uint8Array): string {\n return urlSafeCoder.encode(data);\n}\n\nexport function decodeURLSafe(s: string): Uint8Array {\n return urlSafeCoder.decode(s);\n}\n\n\nexport const encodedLength = (length: number) =>\n stdCoder.encodedLength(length);\n\nexport const maxDecodedLength = (length: number) =>\n stdCoder.maxDecodedLength(length);\n\nexport const decodedLength = (s: string) =>\n stdCoder.decodedLength(s);\n","(function (root, factory) {\n // Hack to make all exports of this module sha256 function object properties.\n var exports = {};\n factory(exports);\n var sha256 = exports[\"default\"];\n for (var k in exports) {\n sha256[k] = exports[k];\n }\n \n if (typeof module === 'object' && typeof module.exports === 'object') {\n module.exports = sha256;\n } else if (typeof define === 'function' && define.amd) {\n define(function() { return sha256; }); \n } else {\n root.sha256 = sha256;\n }\n})(this, function(exports) {\n\"use strict\";\nexports.__esModule = true;\n// SHA-256 (+ HMAC and PBKDF2) for JavaScript.\n//\n// Written in 2014-2016 by Dmitry Chestnykh.\n// Public domain, no warranty.\n//\n// Functions (accept and return Uint8Arrays):\n//\n// sha256(message) -> hash\n// sha256.hmac(key, message) -> mac\n// sha256.pbkdf2(password, salt, rounds, dkLen) -> dk\n//\n// Classes:\n//\n// new sha256.Hash()\n// new sha256.HMAC(key)\n//\nexports.digestLength = 32;\nexports.blockSize = 64;\n// SHA-256 constants\nvar K = new Uint32Array([\n 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b,\n 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01,\n 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7,\n 0xc19bf174, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc,\n 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, 0x983e5152,\n 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147,\n 0x06ca6351, 0x14292967, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc,\n 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,\n 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819,\n 0xd6990624, 0xf40e3585, 0x106aa070, 0x19a4c116, 0x1e376c08,\n 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f,\n 0x682e6ff3, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,\n 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2\n]);\nfunction hashBlocks(w, v, p, pos, len) {\n var a, b, c, d, e, f, g, h, u, i, j, t1, t2;\n while (len >= 64) {\n a = v[0];\n b = v[1];\n c = v[2];\n d = v[3];\n e = v[4];\n f = v[5];\n g = v[6];\n h = v[7];\n for (i = 0; i < 16; i++) {\n j = pos + i * 4;\n w[i] = (((p[j] & 0xff) << 24) | ((p[j + 1] & 0xff) << 16) |\n ((p[j + 2] & 0xff) << 8) | (p[j + 3] & 0xff));\n }\n for (i = 16; i < 64; i++) {\n u = w[i - 2];\n t1 = (u >>> 17 | u << (32 - 17)) ^ (u >>> 19 | u << (32 - 19)) ^ (u >>> 10);\n u = w[i - 15];\n t2 = (u >>> 7 | u << (32 - 7)) ^ (u >>> 18 | u << (32 - 18)) ^ (u >>> 3);\n w[i] = (t1 + w[i - 7] | 0) + (t2 + w[i - 16] | 0);\n }\n for (i = 0; i < 64; i++) {\n t1 = (((((e >>> 6 | e << (32 - 6)) ^ (e >>> 11 | e << (32 - 11)) ^\n (e >>> 25 | e << (32 - 25))) + ((e & f) ^ (~e & g))) | 0) +\n ((h + ((K[i] + w[i]) | 0)) | 0)) | 0;\n t2 = (((a >>> 2 | a << (32 - 2)) ^ (a >>> 13 | a << (32 - 13)) ^\n (a >>> 22 | a << (32 - 22))) + ((a & b) ^ (a & c) ^ (b & c))) | 0;\n h = g;\n g = f;\n f = e;\n e = (d + t1) | 0;\n d = c;\n c = b;\n b = a;\n a = (t1 + t2) | 0;\n }\n v[0] += a;\n v[1] += b;\n v[2] += c;\n v[3] += d;\n v[4] += e;\n v[5] += f;\n v[6] += g;\n v[7] += h;\n pos += 64;\n len -= 64;\n }\n return pos;\n}\n// Hash implements SHA256 hash algorithm.\nvar Hash = /** @class */ (function () {\n function Hash() {\n this.digestLength = exports.digestLength;\n this.blockSize = exports.blockSize;\n // Note: Int32Array is used instead of Uint32Array for performance reasons.\n this.state = new Int32Array(8); // hash state\n this.temp = new Int32Array(64); // temporary state\n this.buffer = new Uint8Array(128); // buffer for data to hash\n this.bufferLength = 0; // number of bytes in buffer\n this.bytesHashed = 0; // number of total bytes hashed\n this.finished = false; // indicates whether the hash was finalized\n this.reset();\n }\n // Resets hash state making it possible\n // to re-use this instance to hash other data.\n Hash.prototype.reset = function () {\n this.state[0] = 0x6a09e667;\n this.state[1] = 0xbb67ae85;\n this.state[2] = 0x3c6ef372;\n this.state[3] = 0xa54ff53a;\n this.state[4] = 0x510e527f;\n this.state[5] = 0x9b05688c;\n this.state[6] = 0x1f83d9ab;\n this.state[7] = 0x5be0cd19;\n this.bufferLength = 0;\n this.bytesHashed = 0;\n this.finished = false;\n return this;\n };\n // Cleans internal buffers and re-initializes hash state.\n Hash.prototype.clean = function () {\n for (var i = 0; i < this.buffer.length; i++) {\n this.buffer[i] = 0;\n }\n for (var i = 0; i < this.temp.length; i++) {\n this.temp[i] = 0;\n }\n this.reset();\n };\n // Updates hash state with the given data.\n //\n // Optionally, length of the data can be specified to hash\n // fewer bytes than data.length.\n //\n // Throws error when trying to update already finalized hash:\n // instance must be reset to use it again.\n Hash.prototype.update = function (data, dataLength) {\n if (dataLength === void 0) { dataLength = data.length; }\n if (this.finished) {\n throw new Error(\"SHA256: can't update because hash was finished.\");\n }\n var dataPos = 0;\n this.bytesHashed += dataLength;\n if (this.bufferLength > 0) {\n while (this.bufferLength < 64 && dataLength > 0) {\n this.buffer[this.bufferLength++] = data[dataPos++];\n dataLength--;\n }\n if (this.bufferLength === 64) {\n hashBlocks(this.temp, this.state, this.buffer, 0, 64);\n this.bufferLength = 0;\n }\n }\n if (dataLength >= 64) {\n dataPos = hashBlocks(this.temp, this.state, data, dataPos, dataLength);\n dataLength %= 64;\n }\n while (dataLength > 0) {\n this.buffer[this.bufferLength++] = data[dataPos++];\n dataLength--;\n }\n return this;\n };\n // Finalizes hash state and puts hash into out.\n //\n // If hash was already finalized, puts the same value.\n Hash.prototype.finish = function (out) {\n if (!this.finished) {\n var bytesHashed = this.bytesHashed;\n var left = this.bufferLength;\n var bitLenHi = (bytesHashed / 0x20000000) | 0;\n var bitLenLo = bytesHashed << 3;\n var padLength = (bytesHashed % 64 < 56) ? 64 : 128;\n this.buffer[left] = 0x80;\n for (var i = left + 1; i < padLength - 8; i++) {\n this.buffer[i] = 0;\n }\n this.buffer[padLength - 8] = (bitLenHi >>> 24) & 0xff;\n this.buffer[padLength - 7] = (bitLenHi >>> 16) & 0xff;\n this.buffer[padLength - 6] = (bitLenHi >>> 8) & 0xff;\n this.buffer[padLength - 5] = (bitLenHi >>> 0) & 0xff;\n this.buffer[padLength - 4] = (bitLenLo >>> 24) & 0xff;\n this.buffer[padLength - 3] = (bitLenLo >>> 16) & 0xff;\n this.buffer[padLength - 2] = (bitLenLo >>> 8) & 0xff;\n this.buffer[padLength - 1] = (bitLenLo >>> 0) & 0xff;\n hashBlocks(this.temp, this.state, this.buffer, 0, padLength);\n this.finished = true;\n }\n for (var i = 0; i < 8; i++) {\n out[i * 4 + 0] = (this.state[i] >>> 24) & 0xff;\n out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;\n out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;\n out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;\n }\n return this;\n };\n // Returns the final hash digest.\n Hash.prototype.digest = function () {\n var out = new Uint8Array(this.digestLength);\n this.finish(out);\n return out;\n };\n // Internal function for use in HMAC for optimization.\n Hash.prototype._saveState = function (out) {\n for (var i = 0; i < this.state.length; i++) {\n out[i] = this.state[i];\n }\n };\n // Internal function for use in HMAC for optimization.\n Hash.prototype._restoreState = function (from, bytesHashed) {\n for (var i = 0; i < this.state.length; i++) {\n this.state[i] = from[i];\n }\n this.bytesHashed = bytesHashed;\n this.finished = false;\n this.bufferLength = 0;\n };\n return Hash;\n}());\nexports.Hash = Hash;\n// HMAC implements HMAC-SHA256 message authentication algorithm.\nvar HMAC = /** @class */ (function () {\n function HMAC(key) {\n this.inner = new Hash();\n this.outer = new Hash();\n this.blockSize = this.inner.blockSize;\n this.digestLength = this.inner.digestLength;\n var pad = new Uint8Array(this.blockSize);\n if (key.length > this.blockSize) {\n (new Hash()).update(key).finish(pad).clean();\n }\n else {\n for (var i = 0; i < key.length; i++) {\n pad[i] = key[i];\n }\n }\n for (var i = 0; i < pad.length; i++) {\n pad[i] ^= 0x36;\n }\n this.inner.update(pad);\n for (var i = 0; i < pad.length; i++) {\n pad[i] ^= 0x36 ^ 0x5c;\n }\n this.outer.update(pad);\n this.istate = new Uint32Array(8);\n this.ostate = new Uint32Array(8);\n this.inner._saveState(this.istate);\n this.outer._saveState(this.ostate);\n for (var i = 0; i < pad.length; i++) {\n pad[i] = 0;\n }\n }\n // Returns HMAC state to the state initialized with key\n // to make it possible to run HMAC over the other data with the same\n // key without creating a new instance.\n HMAC.prototype.reset = function () {\n this.inner._restoreState(this.istate, this.inner.blockSize);\n this.outer._restoreState(this.ostate, this.outer.blockSize);\n return this;\n };\n // Cleans HMAC state.\n HMAC.prototype.clean = function () {\n for (var i = 0; i < this.istate.length; i++) {\n this.ostate[i] = this.istate[i] = 0;\n }\n this.inner.clean();\n this.outer.clean();\n };\n // Updates state with provided data.\n HMAC.prototype.update = function (data) {\n this.inner.update(data);\n return this;\n };\n // Finalizes HMAC and puts the result in out.\n HMAC.prototype.finish = function (out) {\n if (this.outer.finished) {\n this.outer.finish(out);\n }\n else {\n this.inner.finish(out);\n this.outer.update(out, this.digestLength).finish(out);\n }\n return this;\n };\n // Returns message authentication code.\n HMAC.prototype.digest = function () {\n var out = new Uint8Array(this.digestLength);\n this.finish(out);\n return out;\n };\n return HMAC;\n}());\nexports.HMAC = HMAC;\n// Returns SHA256 hash of data.\nfunction hash(data) {\n var h = (new Hash()).update(data);\n var digest = h.digest();\n h.clean();\n return digest;\n}\nexports.hash = hash;\n// Function hash is both available as module.hash and as default export.\nexports[\"default\"] = hash;\n// Returns HMAC-SHA256 of data under the key.\nfunction hmac(key, data) {\n var h = (new HMAC(key)).update(data);\n var digest = h.digest();\n h.clean();\n return digest;\n}\nexports.hmac = hmac;\n// Fills hkdf buffer like this:\n// T(1) = HMAC-Hash(PRK, T(0) | info | 0x01)\nfunction fillBuffer(buffer, hmac, info, counter) {\n // Counter is a byte value: check if it overflowed.\n var num = counter[0];\n if (num === 0) {\n throw new Error(\"hkdf: cannot expand more\");\n }\n // Prepare HMAC instance for new data with old key.\n hmac.reset();\n // Hash in previous output if it was generated\n // (i.e. counter is greater than 1).\n if (num > 1) {\n hmac.update(buffer);\n }\n // Hash in info if it exists.\n if (info) {\n hmac.update(info);\n }\n // Hash in the counter.\n hmac.update(counter);\n // Output result to buffer and clean HMAC instance.\n hmac.finish(buffer);\n // Increment counter inside typed array, this works properly.\n counter[0]++;\n}\nvar hkdfSalt = new Uint8Array(exports.digestLength); // Filled with zeroes.\nfunction hkdf(key, salt, info, length) {\n if (salt === void 0) { salt = hkdfSalt; }\n if (length === void 0) { length = 32; }\n var counter = new Uint8Array([1]);\n // HKDF-Extract uses salt as HMAC key, and key as data.\n var okm = hmac(salt, key);\n // Initialize HMAC for expanding with extracted key.\n // Ensure no collisions with `hmac` function.\n var hmac_ = new HMAC(okm);\n // Allocate buffer.\n var buffer = new Uint8Array(hmac_.digestLength);\n var bufpos = buffer.length;\n var out = new Uint8Array(length);\n for (var i = 0; i < length; i++) {\n if (bufpos === buffer.length) {\n fillBuffer(buffer, hmac_, info, counter);\n bufpos = 0;\n }\n out[i] = buffer[bufpos++];\n }\n hmac_.clean();\n buffer.fill(0);\n counter.fill(0);\n return out;\n}\nexports.hkdf = hkdf;\n// Derives a key from password and salt using PBKDF2-HMAC-SHA256\n// with the given number of iterations.\n//\n// The number of bytes returned is equal to dkLen.\n//\n// (For better security, avoid dkLen greater than hash length - 32 bytes).\nfunction pbkdf2(password, salt, iterations, dkLen) {\n var prf = new HMAC(password);\n var len = prf.digestLength;\n var ctr = new Uint8Array(4);\n var t = new Uint8Array(len);\n var u = new Uint8Array(len);\n var dk = new Uint8Array(dkLen);\n for (var i = 0; i * len < dkLen; i++) {\n var c = i + 1;\n ctr[0] = (c >>> 24) & 0xff;\n ctr[1] = (c >>> 16) & 0xff;\n ctr[2] = (c >>> 8) & 0xff;\n ctr[3] = (c >>> 0) & 0xff;\n prf.reset();\n prf.update(salt);\n prf.update(ctr);\n prf.finish(u);\n for (var j = 0; j < len; j++) {\n t[j] = u[j];\n }\n for (var j = 2; j <= iterations; j++) {\n prf.reset();\n prf.update(u).finish(u);\n for (var k = 0; k < len; k++) {\n t[k] ^= u[k];\n }\n }\n for (var j = 0; j < len && i * len + j < dkLen; j++) {\n dk[i * len + j] = t[j];\n }\n }\n for (var i = 0; i < len; i++) {\n t[i] = u[i] = 0;\n }\n for (var i = 0; i < 4; i++) {\n ctr[i] = 0;\n }\n prf.clean();\n return dk;\n}\nexports.pbkdf2 = pbkdf2;\n});\n","import { timingSafeEqual } from \"./timing_safe_equal\";\nimport * as base64 from \"@stablelib/base64\";\nimport * as sha256 from \"fast-sha256\";\n\nconst WEBHOOK_TOLERANCE_IN_SECONDS = 5 * 60; // 5 minutes\n\nclass ExtendableError extends Error {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n constructor(message: any) {\n super(message);\n Object.setPrototypeOf(this, ExtendableError.prototype);\n this.name = \"ExtendableError\";\n this.stack = new Error(message).stack;\n }\n}\n\nexport class WebhookVerificationError extends ExtendableError {\n constructor(message: string) {\n super(message);\n Object.setPrototypeOf(this, WebhookVerificationError.prototype);\n this.name = \"WebhookVerificationError\";\n }\n}\n\nexport interface WebhookRequiredHeaders {\n \"svix-id\": string;\n \"svix-timestamp\": string;\n \"svix-signature\": string;\n}\n\nexport interface WebhookUnbrandedRequiredHeaders {\n \"webhook-id\": string;\n \"webhook-timestamp\": string;\n \"webhook-signature\": string;\n}\n\nexport interface WebhookOptions {\n format?: \"raw\";\n}\n\nexport class Webhook {\n private static prefix = \"whsec_\";\n private readonly key: Uint8Array;\n\n constructor(secret: string | Uint8Array, options?: WebhookOptions) {\n if (!secret) {\n throw new Error(\"Secret can't be empty.\");\n }\n if (options?.format === \"raw\") {\n if (secret instanceof Uint8Array) {\n this.key = secret;\n } else {\n this.key = Uint8Array.from(secret, (c) => c.charCodeAt(0));\n }\n } else {\n if (typeof secret !== \"string\") {\n throw new Error(\"Expected secret to be of type string\");\n }\n if (secret.startsWith(Webhook.prefix)) {\n secret = secret.substring(Webhook.prefix.length);\n }\n this.key = base64.decode(secret);\n }\n }\n\n public verify(\n payload: string | Buffer,\n headers_:\n | WebhookRequiredHeaders\n | WebhookUnbrandedRequiredHeaders\n | Record<string, string>\n ): unknown {\n const headers: Record<string, string> = {};\n for (const key of Object.keys(headers_)) {\n headers[key.toLowerCase()] = (headers_ as Record<string, string>)[key];\n }\n\n let msgId = headers[\"svix-id\"];\n let msgSignature = headers[\"svix-signature\"];\n let msgTimestamp = headers[\"svix-timestamp\"];\n\n if (!msgSignature || !msgId || !msgTimestamp) {\n msgId = headers[\"webhook-id\"];\n msgSignature = headers[\"webhook-signature\"];\n msgTimestamp = headers[\"webhook-timestamp\"];\n\n if (!msgSignature || !msgId || !msgTimestamp) {\n throw new WebhookVerificationError(\"Missing required headers\");\n }\n }\n\n const timestamp = this.verifyTimestamp(msgTimestamp);\n\n const computedSignature = this.sign(msgId, timestamp, payload);\n const expectedSignature = computedSignature.split(\",\")[1];\n\n const passedSignatures = msgSignature.split(\" \");\n\n const encoder = new globalThis.TextEncoder();\n for (const versionedSignature of passedSignatures) {\n const [version, signature] = versionedSignature.split(\",\");\n if (version !== \"v1\") {\n continue;\n }\n\n if (timingSafeEqual(encoder.encode(signature), encoder.encode(expectedSignature))) {\n return JSON.parse(payload.toString());\n }\n }\n throw new WebhookVerificationError(\"No matching signature found\");\n }\n\n public sign(msgId: string, timestamp: Date, payload: string | Buffer): string {\n if (typeof payload === \"string\") {\n // Do nothing, already a string\n } else if (payload.constructor.name === \"Buffer\") {\n payload = payload.toString();\n } else {\n throw new Error(\n \"Expected payload to be of type string or Buffer. Please refer to https://docs.svix.com/receiving/verifying-payloads/how for more information.\"\n );\n }\n\n const encoder = new TextEncoder();\n const timestampNumber = Math.floor(timestamp.getTime() / 1000);\n const toSign = encoder.encode(`${msgId}.${timestampNumber}.${payload}`);\n const expectedSignature = base64.encode(sha256.hmac(this.key, toSign));\n return `v1,${expectedSignature}`;\n }\n\n private verifyTimestamp(timestampHeader: string): Date {\n const now = Math.floor(Date.now() / 1000);\n const timestamp = parseInt(timestampHeader, 10);\n if (isNaN(timestamp)) {\n throw new WebhookVerificationError(\"Invalid Signature Headers\");\n }\n\n if (now - timestamp > WEBHOOK_TOLERANCE_IN_SECONDS) {\n throw new WebhookVerificationError(\"Message timestamp too old\");\n }\n if (timestamp > now + WEBHOOK_TOLERANCE_IN_SECONDS) {\n throw new WebhookVerificationError(\"Message timestamp too new\");\n }\n return new Date(timestamp * 1000);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum EndpointDisabledTrigger {\n Manual = \"manual\",\n Automatic = \"automatic\",\n}\n\nexport const EndpointDisabledTriggerSerializer = {\n _fromJsonObject(object: any): EndpointDisabledTrigger {\n return object;\n },\n\n _toJsonObject(self: EndpointDisabledTrigger): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/** Defines the ordering in a listing of results. */\nexport enum Ordering {\n Ascending = \"ascending\",\n Descending = \"descending\",\n}\n\nexport const OrderingSerializer = {\n _fromJsonObject(object: any): Ordering {\n return object;\n },\n\n _toJsonObject(self: Ordering): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/**\n * The different classes of HTTP status codes:\n *\n * - CodeNone = 0\n * - Code1xx = 100\n * - Code2xx = 200\n * - Code3xx = 300\n * - Code4xx = 400\n * - Code5xx = 500\n */\nexport enum StatusCodeClass {\n CodeNone = 0,\n Code1xx = 100,\n Code2xx = 200,\n Code3xx = 300,\n Code4xx = 400,\n Code5xx = 500,\n}\n\nexport const StatusCodeClassSerializer = {\n _fromJsonObject(object: any): StatusCodeClass {\n return object;\n },\n\n _toJsonObject(self: StatusCodeClass): any {\n return self;\n },\n};\n","// this file is @generated\nexport { AdobeSignConfig } from \"./adobeSignConfig\";\nexport { AdobeSignConfigOut } from \"./adobeSignConfigOut\";\nexport { AggregateEventTypesOut } from \"./aggregateEventTypesOut\";\nexport { AirwallexConfig } from \"./airwallexConfig\";\nexport { AirwallexConfigOut } from \"./airwallexConfigOut\";\nexport { AppPortalAccessIn } from \"./appPortalAccessIn\";\nexport { AppPortalAccessOut } from \"./appPortalAccessOut\";\nexport { AppPortalCapability } from \"./appPortalCapability\";\nexport { AppUsageStatsIn } from \"./appUsageStatsIn\";\nexport { AppUsageStatsOut } from \"./appUsageStatsOut\";\nexport { ApplicationIn } from \"./applicationIn\";\nexport { ApplicationOut } from \"./applicationOut\";\nexport { ApplicationPatch } from \"./applicationPatch\";\nexport { ApplicationTokenExpireIn } from \"./applicationTokenExpireIn\";\nexport { BackgroundTaskFinishedEvent } from \"./backgroundTaskFinishedEvent\";\nexport { BackgroundTaskFinishedEvent2 } from \"./backgroundTaskFinishedEvent2\";\nexport { BackgroundTaskOut } from \"./backgroundTaskOut\";\nexport { BackgroundTaskStatus } from \"./backgroundTaskStatus\";\nexport { BackgroundTaskType } from \"./backgroundTaskType\";\nexport { CheckbookConfig } from \"./checkbookConfig\";\nexport { CheckbookConfigOut } from \"./checkbookConfigOut\";\nexport { ConnectorIn } from \"./connectorIn\";\nexport { ConnectorKind } from \"./connectorKind\";\nexport { ConnectorOut } from \"./connectorOut\";\nexport { CronConfig } from \"./cronConfig\";\nexport { DashboardAccessOut } from \"./dashboardAccessOut\";\nexport { DocusignConfig } from \"./docusignConfig\";\nexport { DocusignConfigOut } from \"./docusignConfigOut\";\nexport { EasypostConfig } from \"./easypostConfig\";\nexport { EasypostConfigOut } from \"./easypostConfigOut\";\nexport { EndpointCreatedEvent } from \"./endpointCreatedEvent\";\nexport { EndpointCreatedEventData } from \"./endpointCreatedEventData\";\nexport { EndpointDeletedEvent } from \"./endpointDeletedEvent\";\nexport { EndpointDeletedEventData } from \"./endpointDeletedEventData\";\nexport { EndpointDisabledEvent } from \"./endpointDisabledEvent\";\nexport { EndpointDisabledEventData } from \"./endpointDisabledEventData\";\nexport { EndpointDisabledTrigger } from \"./endpointDisabledTrigger\";\nexport { EndpointEnabledEvent } from \"./endpointEnabledEvent\";\nexport { EndpointEnabledEventData } from \"./endpointEnabledEventData\";\nexport { EndpointHeadersIn } from \"./endpointHeadersIn\";\nexport { EndpointHeadersOut } from \"./endpointHeadersOut\";\nexport { EndpointHeadersPatchIn } from \"./endpointHeadersPatchIn\";\nexport { EndpointIn } from \"./endpointIn\";\nexport { EndpointMessageOut } from \"./endpointMessageOut\";\nexport { EndpointOut } from \"./endpointOut\";\nexport { EndpointPatch } from \"./endpointPatch\";\nexport { EndpointSecretOut } from \"./endpointSecretOut\";\nexport { EndpointSecretRotateIn } from \"./endpointSecretRotateIn\";\nexport { EndpointStats } from \"./endpointStats\";\nexport { EndpointTransformationIn } from \"./endpointTransformationIn\";\nexport { EndpointTransformationOut } from \"./endpointTransformationOut\";\nexport { EndpointTransformationPatch } from \"./endpointTransformationPatch\";\nexport { EndpointUpdate } from \"./endpointUpdate\";\nexport { EndpointUpdatedEvent } from \"./endpointUpdatedEvent\";\nexport { EndpointUpdatedEventData } from \"./endpointUpdatedEventData\";\nexport { EnvironmentIn } from \"./environmentIn\";\nexport { EnvironmentOut } from \"./environmentOut\";\nexport { EventExampleIn } from \"./eventExampleIn\";\nexport { EventTypeFromOpenApi } from \"./eventTypeFromOpenApi\";\nexport { EventTypeImportOpenApiIn } from \"./eventTypeImportOpenApiIn\";\nexport { EventTypeImportOpenApiOut } from \"./eventTypeImportOpenApiOut\";\nexport { EventTypeImportOpenApiOutData } from \"./eventTypeImportOpenApiOutData\";\nexport { EventTypeIn } from \"./eventTypeIn\";\nexport { EventTypeOut } from \"./eventTypeOut\";\nexport { EventTypePatch } from \"./eventTypePatch\";\nexport { EventTypeUpdate } from \"./eventTypeUpdate\";\nexport { ExpungeAllContentsOut } from \"./expungeAllContentsOut\";\nexport { GithubConfig } from \"./githubConfig\";\nexport { GithubConfigOut } from \"./githubConfigOut\";\nexport { HubspotConfig } from \"./hubspotConfig\";\nexport { HubspotConfigOut } from \"./hubspotConfigOut\";\nexport { IngestEndpointHeadersIn } from \"./ingestEndpointHeadersIn\";\nexport { IngestEndpointHeadersOut } from \"./ingestEndpointHeadersOut\";\nexport { IngestEndpointIn } from \"./ingestEndpointIn\";\nexport { IngestEndpointOut } from \"./ingestEndpointOut\";\nexport { IngestEndpointSecretIn } from \"./ingestEndpointSecretIn\";\nexport { IngestEndpointSecretOut } from \"./ingestEndpointSecretOut\";\nexport { IngestEndpointTransformationOut } from \"./ingestEndpointTransformationOut\";\nexport { IngestEndpointTransformationPatch } from \"./ingestEndpointTransformationPatch\";\nexport { IngestEndpointUpdate } from \"./ingestEndpointUpdate\";\nexport { IngestSourceConsumerPortalAccessIn } from \"./ingestSourceConsumerPortalAccessIn\";\nexport { IngestSourceIn } from \"./ingestSourceIn\";\nexport { IngestSourceOut } from \"./ingestSourceOut\";\nexport { IntegrationIn } from \"./integrationIn\";\nexport { IntegrationKeyOut } from \"./integrationKeyOut\";\nexport { IntegrationOut } from \"./integrationOut\";\nexport { IntegrationUpdate } from \"./integrationUpdate\";\nexport { ListResponseApplicationOut } from \"./listResponseApplicationOut\";\nexport { ListResponseBackgroundTaskOut } from \"./listResponseBackgroundTaskOut\";\nexport { ListResponseEndpointMessageOut } from \"./listResponseEndpointMessageOut\";\nexport { ListResponseEndpointOut } from \"./listResponseEndpointOut\";\nexport { ListResponseEventTypeOut } from \"./listResponseEventTypeOut\";\nexport { ListResponseIngestEndpointOut } from \"./listResponseIngestEndpointOut\";\nexport { ListResponseIngestSourceOut } from \"./listResponseIngestSourceOut\";\nexport { ListResponseIntegrationOut } from \"./listResponseIntegrationOut\";\nexport { ListResponseMessageAttemptOut } from \"./listResponseMessageAttemptOut\";\nexport { ListResponseMessageEndpointOut } from \"./listResponseMessageEndpointOut\";\nexport { ListResponseMessageOut } from \"./listResponseMessageOut\";\nexport { ListResponseOperationalWebhookEndpointOut } from \"./listResponseOperationalWebhookEndpointOut\";\nexport { MessageAttemptExhaustedEvent } from \"./messageAttemptExhaustedEvent\";\nexport { MessageAttemptExhaustedEventData } from \"./messageAttemptExhaustedEventData\";\nexport { MessageAttemptFailedData } from \"./messageAttemptFailedData\";\nexport { MessageAttemptFailingEvent } from \"./messageAttemptFailingEvent\";\nexport { MessageAttemptFailingEventData } from \"./messageAttemptFailingEventData\";\nexport { MessageAttemptOut } from \"./messageAttemptOut\";\nexport { MessageAttemptRecoveredEvent } from \"./messageAttemptRecoveredEvent\";\nexport { MessageAttemptRecoveredEventData } from \"./messageAttemptRecoveredEventData\";\nexport { MessageAttemptTriggerType } from \"./messageAttemptTriggerType\";\nexport { MessageEndpointOut } from \"./messageEndpointOut\";\nexport { MessageIn } from \"./messageIn\";\nexport { MessageOut } from \"./messageOut\";\nexport { MessageStatus } from \"./messageStatus\";\nexport { MessageStatusText } from \"./messageStatusText\";\nexport { OperationalWebhookEndpointHeadersIn } from \"./operationalWebhookEndpointHeadersIn\";\nexport { OperationalWebhookEndpointHeadersOut } from \"./operationalWebhookEndpointHeadersOut\";\nexport { OperationalWebhookEndpointIn } from \"./operationalWebhookEndpointIn\";\nexport { OperationalWebhookEndpointOut } from \"./operationalWebhookEndpointOut\";\nexport { OperationalWebhookEndpointSecretIn } from \"./operationalWebhookEndpointSecretIn\";\nexport { OperationalWebhookEndpointSecretOut } from \"./operationalWebhookEndpointSecretOut\";\nexport { OperationalWebhookEndpointUpdate } from \"./operationalWebhookEndpointUpdate\";\nexport { Ordering } from \"./ordering\";\nexport { OrumIoConfig } from \"./orumIoConfig\";\nexport { OrumIoConfigOut } from \"./orumIoConfigOut\";\nexport { PandaDocConfig } from \"./pandaDocConfig\";\nexport { PandaDocConfigOut } from \"./pandaDocConfigOut\";\nexport { PollingEndpointConsumerSeekIn } from \"./pollingEndpointConsumerSeekIn\";\nexport { PollingEndpointConsumerSeekOut } from \"./pollingEndpointConsumerSeekOut\";\nexport { PollingEndpointMessageOut } from \"./pollingEndpointMessageOut\";\nexport { PollingEndpointOut } from \"./pollingEndpointOut\";\nexport { PortIoConfig } from \"./portIoConfig\";\nexport { PortIoConfigOut } from \"./portIoConfigOut\";\nexport { RecoverIn } from \"./recoverIn\";\nexport { RecoverOut } from \"./recoverOut\";\nexport { ReplayIn } from \"./replayIn\";\nexport { ReplayOut } from \"./replayOut\";\nexport { RotateTokenOut } from \"./rotateTokenOut\";\nexport { RutterConfig } from \"./rutterConfig\";\nexport { RutterConfigOut } from \"./rutterConfigOut\";\nexport { SegmentConfig } from \"./segmentConfig\";\nexport { SegmentConfigOut } from \"./segmentConfigOut\";\nexport { ShopifyConfig } from \"./shopifyConfig\";\nexport { ShopifyConfigOut } from \"./shopifyConfigOut\";\nexport { SlackConfig } from \"./slackConfig\";\nexport { SlackConfigOut } from \"./slackConfigOut\";\nexport { StatusCodeClass } from \"./statusCodeClass\";\nexport { StripeConfig } from \"./stripeConfig\";\nexport { StripeConfigOut } from \"./stripeConfigOut\";\nexport { SvixConfig } from \"./svixConfig\";\nexport { SvixConfigOut } from \"./svixConfigOut\";\nexport { TelnyxConfig } from \"./telnyxConfig\";\nexport { TelnyxConfigOut } from \"./telnyxConfigOut\";\nexport { VapiConfig } from \"./vapiConfig\";\nexport { VapiConfigOut } from \"./vapiConfigOut\";\nexport { VeriffConfig } from \"./veriffConfig\";\nexport { VeriffConfigOut } from \"./veriffConfigOut\";\nexport { ZoomConfig } from \"./zoomConfig\";\nexport { ZoomConfigOut } from \"./zoomConfigOut\";\n","// this file is @generated\nimport { Application } from \"./api/application\";\nimport { Authentication } from \"./api/authentication\";\nimport { BackgroundTask } from \"./api/backgroundTask\";\nimport { Endpoint } from \"./api/endpoint\";\nimport { Environment } from \"./api/environment\";\nimport { EventType } from \"./api/eventType\";\nimport { Health } from \"./api/health\";\nimport { Ingest } from \"./api/ingest\";\nimport { Integration } from \"./api/integration\";\nimport { Message } from \"./api/message\";\nimport { MessageAttempt } from \"./api/messageAttempt\";\nimport { OperationalWebhook } from \"./api/operationalWebhook\";\nimport { Statistics } from \"./api/statistics\";\nimport { OperationalWebhookEndpoint } from \"./api/operationalWebhookEndpoint\";\nimport { SvixRequestContext } from \"./request\";\n\nexport { PostOptions, ApiException } from \"./util\";\nexport { HTTPValidationError, HttpErrorOut, ValidationError } from \"./HttpErrors\";\nexport * from \"./webhook\";\nexport * from \"./models/index\";\nimport { XOR } from \"./util\";\n\nexport { ApplicationListOptions } from \"./api/application\";\nexport { BackgroundTaskListOptions } from \"./api/backgroundTask\";\nexport { EndpointListOptions, EndpointGetStatsOptions } from \"./api/endpoint\";\nexport { EventTypeListOptions } from \"./api/eventType\";\nexport { IntegrationListOptions } from \"./api/integration\";\nexport { MessageListOptions, messageInRaw } from \"./api/message\";\nexport { MessageAttemptListByEndpointOptions } from \"./api/messageAttempt\";\nexport { OperationalWebhookEndpointListOptions } from \"./api/operationalWebhookEndpoint\";\n\nexport type SvixOptions = {\n debug?: boolean;\n serverUrl?: string;\n /** Time in milliseconds to wait for requests to get a response. */\n requestTimeout?: number;\n} & XOR<\n {\n /** List of delays (in milliseconds) to wait before each retry attempt.*/\n retryScheduleInMs?: number[];\n },\n {\n /** The number of times the client will retry if a server-side error\n * or timeout is received.\n * Default: 2\n */\n numRetries?: number;\n }\n>;\n\nconst REGIONS = [\n { region: \"us\", url: \"https://api.us.svix.com\" },\n { region: \"eu\", url: \"https://api.eu.svix.com\" },\n { region: \"in\", url: \"https://api.in.svix.com\" },\n { region: \"ca\", url: \"https://api.ca.svix.com\" },\n { region: \"au\", url: \"https://api.au.svix.com\" },\n];\n\nexport class Svix {\n private readonly requestCtx: SvixRequestContext;\n\n public constructor(token: string, options: SvixOptions = {}) {\n const regionalUrl = REGIONS.find((x) => x.region === token.split(\".\")[1])?.url;\n const baseUrl: string = options.serverUrl ?? regionalUrl ?? \"https://api.svix.com\";\n\n if (options.retryScheduleInMs) {\n this.requestCtx = {\n baseUrl,\n token,\n timeout: options.requestTimeout,\n retryScheduleInMs: options.retryScheduleInMs,\n };\n return;\n }\n if (options.numRetries) {\n this.requestCtx = {\n baseUrl,\n token,\n timeout: options.requestTimeout,\n numRetries: options.numRetries,\n };\n return;\n }\n this.requestCtx = {\n baseUrl,\n token,\n timeout: options.requestTimeout,\n };\n }\n\n public get application() {\n return new Application(this.requestCtx);\n }\n\n public get authentication() {\n return new Authentication(this.requestCtx);\n }\n\n public get backgroundTask() {\n return new BackgroundTask(this.requestCtx);\n }\n\n public get endpoint() {\n return new Endpoint(this.requestCtx);\n }\n\n public get environment() {\n return new Environment(this.requestCtx);\n }\n\n public get eventType() {\n return new EventType(this.requestCtx);\n }\n\n public get health() {\n return new Health(this.requestCtx);\n }\n\n public get ingest() {\n return new Ingest(this.requestCtx);\n }\n\n public get integration() {\n return new Integration(this.requestCtx);\n }\n\n public get message() {\n return new Message(this.requestCtx);\n }\n\n public get messageAttempt() {\n return new MessageAttempt(this.requestCtx);\n }\n\n public get operationalWebhook() {\n return new OperationalWebhook(this.requestCtx);\n }\n\n public get statistics() {\n return new Statistics(this.requestCtx);\n }\n\n public get operationalWebhookEndpoint() {\n return new OperationalWebhookEndpoint(this.requestCtx);\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\n\n// package.json\nvar version = \"6.4.0\";\n\n// src/common/utils/build-pagination-query.ts\nfunction buildPaginationQuery(options) {\n const searchParams = new URLSearchParams();\n if (options.limit !== void 0) {\n searchParams.set(\"limit\", options.limit.toString());\n }\n if (\"after\" in options && options.after !== void 0) {\n searchParams.set(\"after\", options.after);\n }\n if (\"before\" in options && options.before !== void 0) {\n searchParams.set(\"before\", options.before);\n }\n return searchParams.toString();\n}\n\n// src/api-keys/api-keys.ts\nvar ApiKeys = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n const data = await this.resend.post(\n \"/api-keys\",\n payload,\n options\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/api-keys?${queryString}` : \"/api-keys\";\n const data = await this.resend.get(url);\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/api-keys/${id}`\n );\n return data;\n }\n};\n\n// src/common/utils/parse-email-to-api-options.ts\nfunction parseAttachments(attachments) {\n return attachments == null ? void 0 : attachments.map((attachment) => ({\n content: attachment.content,\n filename: attachment.filename,\n path: attachment.path,\n content_type: attachment.contentType,\n content_id: attachment.contentId\n }));\n}\nfunction parseEmailToApiOptions(email) {\n return {\n attachments: parseAttachments(email.attachments),\n bcc: email.bcc,\n cc: email.cc,\n from: email.from,\n headers: email.headers,\n html: email.html,\n reply_to: email.replyTo,\n scheduled_at: email.scheduledAt,\n subject: email.subject,\n tags: email.tags,\n text: email.text,\n to: email.to,\n template: email.template ? {\n id: email.template.id,\n variables: email.template.variables\n } : void 0,\n topic_id: email.topicId\n };\n}\n\n// src/render.ts\nasync function render(node) {\n let render2;\n try {\n ({ render: render2 } = await import(\"@react-email/render\"));\n } catch (e) {\n throw new Error(\n \"Failed to render React component. Make sure to install `@react-email/render` or `@react-email/components`.\"\n );\n }\n return render2(node);\n}\n\n// src/batch/batch.ts\nvar Batch = class {\n constructor(resend) {\n this.resend = resend;\n }\n async send(payload, options) {\n return this.create(payload, options);\n }\n async create(payload, options) {\n var _a;\n const emails = [];\n for (const email of payload) {\n if (email.react) {\n email.html = await render(email.react);\n email.react = void 0;\n }\n emails.push(parseEmailToApiOptions(email));\n }\n const data = await this.resend.post(\n \"/emails/batch\",\n emails,\n __spreadProps(__spreadValues({}, options), {\n headers: __spreadValues({\n \"x-batch-validation\": (_a = options == null ? void 0 : options.batchValidation) != null ? _a : \"strict\"\n }, options == null ? void 0 : options.headers)\n })\n );\n return data;\n }\n};\n\n// src/broadcasts/broadcasts.ts\nvar Broadcasts = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n if (payload.react) {\n payload.html = await render(payload.react);\n }\n const data = await this.resend.post(\n \"/broadcasts\",\n {\n name: payload.name,\n segment_id: payload.segmentId,\n audience_id: payload.audienceId,\n preview_text: payload.previewText,\n from: payload.from,\n html: payload.html,\n reply_to: payload.replyTo,\n subject: payload.subject,\n text: payload.text,\n topic_id: payload.topicId\n },\n options\n );\n return data;\n }\n async send(id, payload) {\n const data = await this.resend.post(\n `/broadcasts/${id}/send`,\n { scheduled_at: payload == null ? void 0 : payload.scheduledAt }\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/broadcasts?${queryString}` : \"/broadcasts\";\n const data = await this.resend.get(url);\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/broadcasts/${id}`\n );\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/broadcasts/${id}`\n );\n return data;\n }\n async update(id, payload) {\n if (payload.react) {\n payload.html = await render(payload.react);\n }\n const data = await this.resend.patch(\n `/broadcasts/${id}`,\n {\n name: payload.name,\n segment_id: payload.segmentId,\n audience_id: payload.audienceId,\n from: payload.from,\n html: payload.html,\n text: payload.text,\n subject: payload.subject,\n reply_to: payload.replyTo,\n preview_text: payload.previewText,\n topic_id: payload.topicId\n }\n );\n return data;\n }\n};\n\n// src/common/utils/parse-contact-properties-to-api-options.ts\nfunction parseContactPropertyFromApi(contactProperty) {\n return {\n id: contactProperty.id,\n key: contactProperty.key,\n object: contactProperty.object,\n createdAt: contactProperty.created_at,\n type: contactProperty.type,\n fallbackValue: contactProperty.fallback_value\n };\n}\nfunction parseContactPropertyToApiOptions(contactProperty) {\n if (\"key\" in contactProperty) {\n return {\n key: contactProperty.key,\n type: contactProperty.type,\n fallback_value: contactProperty.fallbackValue\n };\n }\n return {\n fallback_value: contactProperty.fallbackValue\n };\n}\n\n// src/contact-properties/contact-properties.ts\nvar ContactProperties = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(options) {\n const apiOptions = parseContactPropertyToApiOptions(options);\n const data = await this.resend.post(\n \"/contact-properties\",\n apiOptions\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/contact-properties?${queryString}` : \"/contact-properties\";\n const response = await this.resend.get(url);\n if (response.data) {\n return {\n data: __spreadProps(__spreadValues({}, response.data), {\n data: response.data.data.map(\n (apiContactProperty) => parseContactPropertyFromApi(apiContactProperty)\n )\n }),\n headers: response.headers,\n error: null\n };\n }\n return response;\n }\n async get(id) {\n if (!id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const response = await this.resend.get(\n `/contact-properties/${id}`\n );\n if (response.data) {\n return {\n data: parseContactPropertyFromApi(response.data),\n headers: response.headers,\n error: null\n };\n }\n return response;\n }\n async update(payload) {\n if (!payload.id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const apiOptions = parseContactPropertyToApiOptions(payload);\n const data = await this.resend.patch(\n `/contact-properties/${payload.id}`,\n apiOptions\n );\n return data;\n }\n async remove(id) {\n if (!id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const data = await this.resend.delete(\n `/contact-properties/${id}`\n );\n return data;\n }\n};\n\n// src/contacts/segments/contact-segments.ts\nvar ContactSegments = class {\n constructor(resend) {\n this.resend = resend;\n }\n async list(options) {\n if (!options.contactId && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = options.email ? options.email : options.contactId;\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/contacts/${identifier}/segments?${queryString}` : `/contacts/${identifier}/segments`;\n const data = await this.resend.get(url);\n return data;\n }\n async add(options) {\n if (!options.contactId && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = options.email ? options.email : options.contactId;\n return this.resend.post(\n `/contacts/${identifier}/segments/${options.segmentId}`\n );\n }\n async remove(options) {\n if (!options.contactId && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = options.email ? options.email : options.contactId;\n return this.resend.delete(\n `/contacts/${identifier}/segments/${options.segmentId}`\n );\n }\n};\n\n// src/contacts/topics/contact-topics.ts\nvar ContactTopics = class {\n constructor(resend) {\n this.resend = resend;\n }\n async update(payload) {\n if (!payload.id && !payload.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = payload.email ? payload.email : payload.id;\n return this.resend.patch(\n `/contacts/${identifier}/topics`,\n payload.topics\n );\n }\n async list(options) {\n if (!options.id && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = options.email ? options.email : options.id;\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/contacts/${identifier}/topics?${queryString}` : `/contacts/${identifier}/topics`;\n return this.resend.get(url);\n }\n};\n\n// src/contacts/contacts.ts\nvar Contacts = class {\n constructor(resend) {\n this.resend = resend;\n this.topics = new ContactTopics(this.resend);\n this.segments = new ContactSegments(this.resend);\n }\n async create(payload, options = {}) {\n if (!payload.audienceId) {\n const data2 = await this.resend.post(\n \"/contacts\",\n {\n unsubscribed: payload.unsubscribed,\n email: payload.email,\n first_name: payload.firstName,\n last_name: payload.lastName,\n properties: payload.properties\n },\n options\n );\n return data2;\n }\n const data = await this.resend.post(\n `/audiences/${payload.audienceId}/contacts`,\n {\n unsubscribed: payload.unsubscribed,\n email: payload.email,\n first_name: payload.firstName,\n last_name: payload.lastName\n },\n options\n );\n return data;\n }\n async list(options = {}) {\n if (!(\"audienceId\" in options) || options.audienceId === void 0) {\n const queryString2 = buildPaginationQuery(options);\n const url2 = queryString2 ? `/contacts?${queryString2}` : \"/contacts\";\n const data2 = await this.resend.get(url2);\n return data2;\n }\n const _a = options, { audienceId } = _a, paginationOptions = __objRest(_a, [\"audienceId\"]);\n const queryString = buildPaginationQuery(paginationOptions);\n const url = queryString ? `/audiences/${audienceId}/contacts?${queryString}` : `/audiences/${audienceId}/contacts`;\n const data = await this.resend.get(url);\n return data;\n }\n async get(options) {\n if (typeof options === \"string\") {\n return this.resend.get(`/contacts/${options}`);\n }\n if (!options.id && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n if (!options.audienceId) {\n return this.resend.get(\n `/contacts/${(options == null ? void 0 : options.email) ? options == null ? void 0 : options.email : options == null ? void 0 : options.id}`\n );\n }\n return this.resend.get(\n `/audiences/${options.audienceId}/contacts/${(options == null ? void 0 : options.email) ? options == null ? void 0 : options.email : options == null ? void 0 : options.id}`\n );\n }\n async update(options) {\n if (!options.id && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n if (!options.audienceId) {\n const data2 = await this.resend.patch(\n `/contacts/${(options == null ? void 0 : options.email) ? options == null ? void 0 : options.email : options == null ? void 0 : options.id}`,\n {\n unsubscribed: options.unsubscribed,\n first_name: options.firstName,\n last_name: options.lastName,\n properties: options.properties\n }\n );\n return data2;\n }\n const data = await this.resend.patch(\n `/audiences/${options.audienceId}/contacts/${(options == null ? void 0 : options.email) ? options == null ? void 0 : options.email : options == null ? void 0 : options.id}`,\n {\n unsubscribed: options.unsubscribed,\n first_name: options.firstName,\n last_name: options.lastName\n }\n );\n return data;\n }\n async remove(payload) {\n if (typeof payload === \"string\") {\n return this.resend.delete(\n `/contacts/${payload}`\n );\n }\n if (!payload.id && !payload.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n if (!payload.audienceId) {\n return this.resend.delete(\n `/contacts/${(payload == null ? void 0 : payload.email) ? payload == null ? void 0 : payload.email : payload == null ? void 0 : payload.id}`\n );\n }\n return this.resend.delete(\n `/audiences/${payload.audienceId}/contacts/${(payload == null ? void 0 : payload.email) ? payload == null ? void 0 : payload.email : payload == null ? void 0 : payload.id}`\n );\n }\n};\n\n// src/common/utils/parse-domain-to-api-options.ts\nfunction parseDomainToApiOptions(domain) {\n return {\n name: domain.name,\n region: domain.region,\n custom_return_path: domain.customReturnPath\n };\n}\n\n// src/domains/domains.ts\nvar Domains = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n const data = await this.resend.post(\n \"/domains\",\n parseDomainToApiOptions(payload),\n options\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/domains?${queryString}` : \"/domains\";\n const data = await this.resend.get(url);\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/domains/${id}`\n );\n return data;\n }\n async update(payload) {\n const data = await this.resend.patch(\n `/domains/${payload.id}`,\n {\n click_tracking: payload.clickTracking,\n open_tracking: payload.openTracking,\n tls: payload.tls\n }\n );\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/domains/${id}`\n );\n return data;\n }\n async verify(id) {\n const data = await this.resend.post(\n `/domains/${id}/verify`\n );\n return data;\n }\n};\n\n// src/emails/attachments/attachments.ts\nvar Attachments = class {\n constructor(resend) {\n this.resend = resend;\n }\n async get(options) {\n const { emailId, id } = options;\n const data = await this.resend.get(\n `/emails/${emailId}/attachments/${id}`\n );\n return data;\n }\n async list(options) {\n const { emailId } = options;\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/emails/${emailId}/attachments?${queryString}` : `/emails/${emailId}/attachments`;\n const data = await this.resend.get(url);\n return data;\n }\n};\n\n// src/emails/receiving/attachments/attachments.ts\nvar Attachments2 = class {\n constructor(resend) {\n this.resend = resend;\n }\n async get(options) {\n const { emailId, id } = options;\n const data = await this.resend.get(\n `/emails/receiving/${emailId}/attachments/${id}`\n );\n return data;\n }\n async list(options) {\n const { emailId } = options;\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/emails/receiving/${emailId}/attachments?${queryString}` : `/emails/receiving/${emailId}/attachments`;\n const data = await this.resend.get(url);\n return data;\n }\n};\n\n// src/emails/receiving/receiving.ts\nvar Receiving = class {\n constructor(resend) {\n this.resend = resend;\n this.attachments = new Attachments2(resend);\n }\n async get(id) {\n const data = await this.resend.get(\n `/emails/receiving/${id}`\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/emails/receiving?${queryString}` : \"/emails/receiving\";\n const data = await this.resend.get(url);\n return data;\n }\n};\n\n// src/emails/emails.ts\nvar Emails = class {\n constructor(resend) {\n this.resend = resend;\n this.attachments = new Attachments(resend);\n this.receiving = new Receiving(resend);\n }\n async send(payload, options = {}) {\n return this.create(payload, options);\n }\n async create(payload, options = {}) {\n if (payload.react) {\n payload.html = await render(payload.react);\n }\n const data = await this.resend.post(\n \"/emails\",\n parseEmailToApiOptions(payload),\n options\n );\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/emails/${id}`\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/emails?${queryString}` : \"/emails\";\n const data = await this.resend.get(url);\n return data;\n }\n async update(payload) {\n const data = await this.resend.patch(\n `/emails/${payload.id}`,\n {\n scheduled_at: payload.scheduledAt\n }\n );\n return data;\n }\n async cancel(id) {\n const data = await this.resend.post(\n `/emails/${id}/cancel`\n );\n return data;\n }\n};\n\n// src/segments/segments.ts\nvar Segments = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n const data = await this.resend.post(\n \"/segments\",\n payload,\n options\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/segments?${queryString}` : \"/segments\";\n const data = await this.resend.get(url);\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/segments/${id}`\n );\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/segments/${id}`\n );\n return data;\n }\n};\n\n// src/common/utils/get-pagination-query-properties.ts\nfunction getPaginationQueryProperties(options = {}) {\n const query = new URLSearchParams();\n if (options.before) query.set(\"before\", options.before);\n if (options.after) query.set(\"after\", options.after);\n if (options.limit) query.set(\"limit\", options.limit.toString());\n return query.size > 0 ? `?${query.toString()}` : \"\";\n}\n\n// src/common/utils/parse-template-to-api-options.ts\nfunction parseVariables(variables) {\n return variables == null ? void 0 : variables.map((variable) => ({\n key: variable.key,\n type: variable.type,\n fallback_value: variable.fallbackValue\n }));\n}\nfunction parseTemplateToApiOptions(template) {\n return {\n name: \"name\" in template ? template.name : void 0,\n subject: template.subject,\n html: template.html,\n text: template.text,\n alias: template.alias,\n from: template.from,\n reply_to: template.replyTo,\n variables: parseVariables(template.variables)\n };\n}\n\n// src/templates/chainable-template-result.ts\nvar ChainableTemplateResult = class {\n constructor(promise, publishFn) {\n this.promise = promise;\n this.publishFn = publishFn;\n }\n // If user calls `then` or only awaits for the result of create() or duplicate(), the behavior should be\n // exactly as if they called create() or duplicate() directly. This will act as a normal promise\n // biome-ignore lint/suspicious/noThenProperty: This class intentionally implements PromiseLike\n then(onfulfilled, onrejected) {\n return this.promise.then(onfulfilled, onrejected);\n }\n async publish() {\n const { data, error } = await this.promise;\n if (error) {\n return {\n data: null,\n headers: null,\n error\n };\n }\n return this.publishFn(data.id);\n }\n};\n\n// src/templates/templates.ts\nvar Templates = class {\n constructor(resend) {\n this.resend = resend;\n }\n create(payload) {\n const createPromise = this.performCreate(payload);\n return new ChainableTemplateResult(createPromise, this.publish.bind(this));\n }\n // This creation process is being done separately from the public create so that\n // the user can chain the publish operation after the create operation. Otherwise, due\n // to the async nature of the renderAsync, the return type would be\n // Promise<ChainableTemplateResult<CreateTemplateResponse>> which wouldn't be chainable.\n async performCreate(payload) {\n if (payload.react) {\n if (!this.renderAsync) {\n try {\n const { renderAsync } = await import(\"@react-email/render\");\n this.renderAsync = renderAsync;\n } catch (e) {\n throw new Error(\n \"Failed to render React component. Make sure to install `@react-email/render`\"\n );\n }\n }\n payload.html = await this.renderAsync(\n payload.react\n );\n }\n return this.resend.post(\n \"/templates\",\n parseTemplateToApiOptions(payload)\n );\n }\n async remove(identifier) {\n const data = await this.resend.delete(\n `/templates/${identifier}`\n );\n return data;\n }\n async get(identifier) {\n const data = await this.resend.get(\n `/templates/${identifier}`\n );\n return data;\n }\n async list(options = {}) {\n return this.resend.get(\n `/templates${getPaginationQueryProperties(options)}`\n );\n }\n duplicate(identifier) {\n const promiseDuplicate = this.resend.post(\n `/templates/${identifier}/duplicate`\n );\n return new ChainableTemplateResult(\n promiseDuplicate,\n this.publish.bind(this)\n );\n }\n async publish(identifier) {\n const data = await this.resend.post(\n `/templates/${identifier}/publish`\n );\n return data;\n }\n async update(identifier, payload) {\n const data = await this.resend.patch(\n `/templates/${identifier}`,\n parseTemplateToApiOptions(payload)\n );\n return data;\n }\n};\n\n// src/topics/topics.ts\nvar Topics = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload) {\n const _a = payload, { defaultSubscription } = _a, body = __objRest(_a, [\"defaultSubscription\"]);\n const data = await this.resend.post(\"/topics\", __spreadProps(__spreadValues({}, body), {\n default_subscription: defaultSubscription\n }));\n return data;\n }\n async list() {\n const data = await this.resend.get(\"/topics\");\n return data;\n }\n async get(id) {\n if (!id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const data = await this.resend.get(\n `/topics/${id}`\n );\n return data;\n }\n async update(payload) {\n if (!payload.id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const data = await this.resend.patch(\n `/topics/${payload.id}`,\n payload\n );\n return data;\n }\n async remove(id) {\n if (!id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const data = await this.resend.delete(\n `/topics/${id}`\n );\n return data;\n }\n};\n\n// src/webhooks/webhooks.ts\nimport { Webhook } from \"svix\";\nvar Webhooks = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n const data = await this.resend.post(\n \"/webhooks\",\n payload,\n options\n );\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/webhooks/${id}`\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/webhooks?${queryString}` : \"/webhooks\";\n const data = await this.resend.get(url);\n return data;\n }\n async update(id, payload) {\n const data = await this.resend.patch(\n `/webhooks/${id}`,\n payload\n );\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/webhooks/${id}`\n );\n return data;\n }\n verify(payload) {\n const webhook = new Webhook(payload.webhookSecret);\n return webhook.verify(payload.payload, {\n \"svix-id\": payload.headers.id,\n \"svix-timestamp\": payload.headers.timestamp,\n \"svix-signature\": payload.headers.signature\n });\n }\n};\n\n// src/resend.ts\nvar defaultBaseUrl = \"https://api.resend.com\";\nvar defaultUserAgent = `resend-node:${version}`;\nvar baseUrl = typeof process !== \"undefined\" && process.env ? process.env.RESEND_BASE_URL || defaultBaseUrl : defaultBaseUrl;\nvar userAgent = typeof process !== \"undefined\" && process.env ? process.env.RESEND_USER_AGENT || defaultUserAgent : defaultUserAgent;\nvar Resend = class {\n constructor(key) {\n this.key = key;\n this.apiKeys = new ApiKeys(this);\n this.segments = new Segments(this);\n /**\n * @deprecated Use segments instead\n */\n this.audiences = this.segments;\n this.batch = new Batch(this);\n this.broadcasts = new Broadcasts(this);\n this.contacts = new Contacts(this);\n this.contactProperties = new ContactProperties(this);\n this.domains = new Domains(this);\n this.emails = new Emails(this);\n this.webhooks = new Webhooks(this);\n this.templates = new Templates(this);\n this.topics = new Topics(this);\n if (!key) {\n if (typeof process !== \"undefined\" && process.env) {\n this.key = process.env.RESEND_API_KEY;\n }\n if (!this.key) {\n throw new Error(\n 'Missing API key. Pass it to the constructor `new Resend(\"re_123\")`'\n );\n }\n }\n this.headers = new Headers({\n Authorization: `Bearer ${this.key}`,\n \"User-Agent\": userAgent,\n \"Content-Type\": \"application/json\"\n });\n }\n async fetchRequest(path, options = {}) {\n try {\n const response = await fetch(`${baseUrl}${path}`, options);\n if (!response.ok) {\n try {\n const rawError = await response.text();\n return {\n data: null,\n error: JSON.parse(rawError),\n headers: Object.fromEntries(response.headers.entries())\n };\n } catch (err) {\n if (err instanceof SyntaxError) {\n return {\n data: null,\n error: {\n name: \"application_error\",\n statusCode: response.status,\n message: \"Internal server error. We are unable to process your request right now, please try again later.\"\n },\n headers: Object.fromEntries(response.headers.entries())\n };\n }\n const error = {\n message: response.statusText,\n statusCode: response.status,\n name: \"application_error\"\n };\n if (err instanceof Error) {\n return {\n data: null,\n error: __spreadProps(__spreadValues({}, error), { message: err.message }),\n headers: Object.fromEntries(response.headers.entries())\n };\n }\n return {\n data: null,\n error,\n headers: Object.fromEntries(response.headers.entries())\n };\n }\n }\n const data = await response.json();\n return {\n data,\n error: null,\n headers: Object.fromEntries(response.headers.entries())\n };\n } catch (e) {\n return {\n data: null,\n error: {\n name: \"application_error\",\n statusCode: null,\n message: \"Unable to fetch data. The request could not be resolved.\"\n },\n headers: null\n };\n }\n }\n async post(path, entity, options = {}) {\n const headers = new Headers(this.headers);\n if (options.headers) {\n for (const [key, value] of new Headers(options.headers).entries()) {\n headers.set(key, value);\n }\n }\n if (options.idempotencyKey) {\n headers.set(\"Idempotency-Key\", options.idempotencyKey);\n }\n const requestOptions = __spreadProps(__spreadValues({\n method: \"POST\",\n body: JSON.stringify(entity)\n }, options), {\n headers\n });\n return this.fetchRequest(path, requestOptions);\n }\n async get(path, options = {}) {\n const headers = new Headers(this.headers);\n if (options.headers) {\n for (const [key, value] of new Headers(options.headers).entries()) {\n headers.set(key, value);\n }\n }\n const requestOptions = __spreadProps(__spreadValues({\n method: \"GET\"\n }, options), {\n headers\n });\n return this.fetchRequest(path, requestOptions);\n }\n async put(path, entity, options = {}) {\n const headers = new Headers(this.headers);\n if (options.headers) {\n for (const [key, value] of new Headers(options.headers).entries()) {\n headers.set(key, value);\n }\n }\n const requestOptions = __spreadProps(__spreadValues({\n method: \"PUT\",\n body: JSON.stringify(entity)\n }, options), {\n headers\n });\n return this.fetchRequest(path, requestOptions);\n }\n async patch(path, entity, options = {}) {\n const headers = new Headers(this.headers);\n if (options.headers) {\n for (const [key, value] of new Headers(options.headers).entries()) {\n headers.set(key, value);\n }\n }\n const requestOptions = __spreadProps(__spreadValues({\n method: \"PATCH\",\n body: JSON.stringify(entity)\n }, options), {\n headers\n });\n return this.fetchRequest(path, requestOptions);\n }\n async delete(path, query) {\n const requestOptions = {\n method: \"DELETE\",\n body: JSON.stringify(query),\n headers: this.headers\n };\n return this.fetchRequest(path, requestOptions);\n }\n};\nexport {\n Resend\n};\n","export {getEmailsDirectoryMetadataAction as '7ff8fda97aac649dc57259873e5ab5bdbe76740591'} from 'ACTIONS_MODULE0'\nexport {checkCompatibility as '7f60ab74a4637869b09b7a932b02d91237219564a2'} from 'ACTIONS_MODULE1'\nexport {getEmailPathFromSlug as '7f83d855fdffd892c204b1d91e981d7ba6c6e8c3ba'} from 'ACTIONS_MODULE2'\nexport {renderEmailByPath as '7fc19d48a77bf2f059104a1a13274947827716cf40'} from 'ACTIONS_MODULE3'\nexport {getEmailPathFromSlug as '7f83d855fdffd892c204b1d91e981d7ba6c6e8c3ba'} from 'ACTIONS_MODULE2'\nexport {renderEmailByPath as '7fc19d48a77bf2f059104a1a13274947827716cf40'} from 'ACTIONS_MODULE3'\nexport {checkCompatibility as '7f60ab74a4637869b09b7a932b02d91237219564a2'} from 'ACTIONS_MODULE1'\nexport {checkImages as '7fdfb051dcf0f28a793f28a20f740041a43002be22'} from 'ACTIONS_MODULE4'\nexport {checkLinks as '7f0e366e0e765fd698f79c15d835e8aa3f539b3a06'} from 'ACTIONS_MODULE5'\nexport {exportSingleTemplate as '7f0d78f0a42b805140e6e695b3ad0b78801354e681'} from 'ACTIONS_MODULE6'\nexport {checkImages as '7fdfb051dcf0f28a793f28a20f740041a43002be22'} from 'ACTIONS_MODULE4'\nexport {checkLinks as '7f0e366e0e765fd698f79c15d835e8aa3f539b3a06'} from 'ACTIONS_MODULE5'\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/shared/lib/lazy-dynamic/bailout-to-csr.ts\n\n// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = \"BAILOUT_TO_CLIENT_SIDE_RENDERING\";\n\n/** An error that should be thrown when we want to bail out to client-side rendering. */\nclass BailoutToCSRError extends Error {\n\tpublic readonly digest = BAILOUT_TO_CSR;\n\n\tconstructor(public readonly reason: string) {\n\t\tsuper(`Bail out to client-side rendering: ${reason}`);\n\t}\n}\n\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */\nexport function isBailoutToCSRError(err: unknown): err is BailoutToCSRError {\n\tif (typeof err !== \"object\" || err === null || !(\"digest\" in err)) {\n\t\treturn false;\n\t}\n\n\treturn err.digest === BAILOUT_TO_CSR;\n}\n","'use server';\n\nimport { Resend } from 'resend';\nimport { z } from 'zod';\nimport { resendApiKey } from '../app/env';\nimport { baseActionClient } from './safe-action';\n\nexport const exportSingleTemplate = baseActionClient\n .metadata({\n actionName: 'exportSingleTemplate',\n })\n .inputSchema(\n z.object({\n name: z.string(),\n html: z.string(),\n }),\n )\n .action(async ({ parsedInput }) => {\n const resend = new Resend(resendApiKey);\n\n const response = await resend.templates.create({\n name: parsedInput.name,\n html: parsedInput.html,\n });\n\n if (response.error) {\n console.error('Error creating single template', response.error);\n return { name: parsedInput.name, status: 'failed' as const };\n }\n\n return {\n name: parsedInput.name,\n status: 'succeeded' as const,\n id: response.data.id,\n };\n });\n","/**\n * Special values that tell deepmerge to perform a certain action.\n */\nconst actions = {\n defaultMerge: Symbol(\"deepmerge-ts: default merge\"),\n skip: Symbol(\"deepmerge-ts: skip\"),\n};\n/**\n * Special values that tell deepmergeInto to perform a certain action.\n */\nconst actionsInto = {\n defaultMerge: actions.defaultMerge,\n};\n\n/**\n * The default function to update meta data.\n *\n * It doesn't update the meta data.\n */\nfunction defaultMetaDataUpdater(previousMeta, metaMeta) {\n return metaMeta;\n}\n/**\n * The default function to filter values.\n *\n * It filters out undefined values.\n */\nfunction defaultFilterValues(values, meta) {\n return values.filter((value) => value !== undefined);\n}\n\n/**\n * The different types of objects deepmerge-ts support.\n */\nvar ObjectType;\n(function (ObjectType) {\n ObjectType[ObjectType[\"NOT\"] = 0] = \"NOT\";\n ObjectType[ObjectType[\"RECORD\"] = 1] = \"RECORD\";\n ObjectType[ObjectType[\"ARRAY\"] = 2] = \"ARRAY\";\n ObjectType[ObjectType[\"SET\"] = 3] = \"SET\";\n ObjectType[ObjectType[\"MAP\"] = 4] = \"MAP\";\n ObjectType[ObjectType[\"OTHER\"] = 5] = \"OTHER\";\n})(ObjectType || (ObjectType = {}));\n/**\n * Get the type of the given object.\n *\n * @param object - The object to get the type of.\n * @returns The type of the given object.\n */\nfunction getObjectType(object) {\n if (typeof object !== \"object\" || object === null) {\n return 0 /* ObjectType.NOT */;\n }\n if (Array.isArray(object)) {\n return 2 /* ObjectType.ARRAY */;\n }\n if (isRecord(object)) {\n return 1 /* ObjectType.RECORD */;\n }\n if (object instanceof Set) {\n return 3 /* ObjectType.SET */;\n }\n if (object instanceof Map) {\n return 4 /* ObjectType.MAP */;\n }\n return 5 /* ObjectType.OTHER */;\n}\n/**\n * Get the keys of the given objects including symbol keys.\n *\n * Note: Only keys to enumerable properties are returned.\n *\n * @param objects - An array of objects to get the keys of.\n * @returns A set containing all the keys of all the given objects.\n */\nfunction getKeys(objects) {\n const keys = new Set();\n for (const object of objects) {\n for (const key of [...Object.keys(object), ...Object.getOwnPropertySymbols(object)]) {\n keys.add(key);\n }\n }\n return keys;\n}\n/**\n * Does the given object have the given property.\n *\n * @param object - The object to test.\n * @param property - The property to test.\n * @returns Whether the object has the property.\n */\nfunction objectHasProperty(object, property) {\n return typeof object === \"object\" && Object.prototype.propertyIsEnumerable.call(object, property);\n}\n/**\n * Get an iterable object that iterates over the given iterables.\n */\nfunction getIterableOfIterables(iterables) {\n let mut_iterablesIndex = 0;\n let mut_iterator = iterables[0]?.[Symbol.iterator]();\n return {\n [Symbol.iterator]() {\n return {\n next() {\n do {\n if (mut_iterator === undefined) {\n return { done: true, value: undefined };\n }\n const result = mut_iterator.next();\n if (result.done === true) {\n mut_iterablesIndex += 1;\n mut_iterator = iterables[mut_iterablesIndex]?.[Symbol.iterator]();\n continue;\n }\n return {\n done: false,\n value: result.value,\n };\n } while (true);\n },\n };\n },\n };\n}\n// eslint-disable-next-line unicorn/prefer-set-has -- Array is more performant for a low number of elements.\nconst validRecordToStringValues = [\"[object Object]\", \"[object Module]\"];\n/**\n * Does the given object appear to be a record.\n */\nfunction isRecord(value) {\n // All records are objects.\n if (!validRecordToStringValues.includes(Object.prototype.toString.call(value))) {\n return false;\n }\n const { constructor } = value;\n // If has modified constructor.\n // eslint-disable-next-line ts/no-unnecessary-condition\n if (constructor === undefined) {\n return true;\n }\n const prototype = constructor.prototype;\n // If has modified prototype.\n if (prototype === null ||\n typeof prototype !== \"object\" ||\n !validRecordToStringValues.includes(Object.prototype.toString.call(prototype))) {\n return false;\n }\n // If constructor does not have an Object-specific method.\n // eslint-disable-next-line sonar/prefer-single-boolean-return, no-prototype-builtins\n if (!prototype.hasOwnProperty(\"isPrototypeOf\")) {\n return false;\n }\n // Most likely a record.\n return true;\n}\n\n/**\n * The default strategy to merge records.\n *\n * @param values - The records.\n */\nfunction mergeRecords$1(values, utils, meta) {\n const result = {};\n for (const key of getKeys(values)) {\n const propValues = [];\n for (const value of values) {\n if (objectHasProperty(value, key)) {\n propValues.push(value[key]);\n }\n }\n if (propValues.length === 0) {\n continue;\n }\n const updatedMeta = utils.metaDataUpdater(meta, {\n key,\n parents: values,\n });\n const propertyResult = mergeUnknowns(propValues, utils, updatedMeta);\n if (propertyResult === actions.skip) {\n continue;\n }\n if (key === \"__proto__\") {\n Object.defineProperty(result, key, {\n value: propertyResult,\n configurable: true,\n enumerable: true,\n writable: true,\n });\n }\n else {\n result[key] = propertyResult;\n }\n }\n return result;\n}\n/**\n * The default strategy to merge arrays.\n *\n * @param values - The arrays.\n */\nfunction mergeArrays$1(values) {\n return values.flat();\n}\n/**\n * The default strategy to merge sets.\n *\n * @param values - The sets.\n */\nfunction mergeSets$1(values) {\n return new Set(getIterableOfIterables(values));\n}\n/**\n * The default strategy to merge maps.\n *\n * @param values - The maps.\n */\nfunction mergeMaps$1(values) {\n return new Map(getIterableOfIterables(values));\n}\n/**\n * Get the last value in the given array.\n */\nfunction mergeOthers$1(values) {\n return values.at(-1);\n}\n/**\n * The merge functions.\n */\nconst mergeFunctions = {\n mergeRecords: mergeRecords$1,\n mergeArrays: mergeArrays$1,\n mergeSets: mergeSets$1,\n mergeMaps: mergeMaps$1,\n mergeOthers: mergeOthers$1,\n};\n\n/**\n * Deeply merge objects.\n *\n * @param objects - The objects to merge.\n */\nfunction deepmerge(...objects) {\n return deepmergeCustom({})(...objects);\n}\nfunction deepmergeCustom(options, rootMetaData) {\n const utils = getUtils(options, customizedDeepmerge);\n /**\n * The customized deepmerge function.\n */\n function customizedDeepmerge(...objects) {\n return mergeUnknowns(objects, utils, rootMetaData);\n }\n return customizedDeepmerge;\n}\n/**\n * The the utils that are available to the merge functions.\n *\n * @param options - The options the user specified\n */\nfunction getUtils(options, customizedDeepmerge) {\n return {\n defaultMergeFunctions: mergeFunctions,\n mergeFunctions: {\n ...mergeFunctions,\n ...Object.fromEntries(Object.entries(options)\n .filter(([key, option]) => Object.hasOwn(mergeFunctions, key))\n .map(([key, option]) => (option === false ? [key, mergeFunctions.mergeOthers] : [key, option]))),\n },\n metaDataUpdater: (options.metaDataUpdater ?? defaultMetaDataUpdater),\n deepmerge: customizedDeepmerge,\n useImplicitDefaultMerging: options.enableImplicitDefaultMerging ?? false,\n filterValues: options.filterValues === false ? undefined : (options.filterValues ?? defaultFilterValues),\n actions,\n };\n}\n/**\n * Merge unknown things.\n *\n * @param values - The values.\n */\nfunction mergeUnknowns(values, utils, meta) {\n const filteredValues = utils.filterValues?.(values, meta) ?? values;\n if (filteredValues.length === 0) {\n return undefined;\n }\n if (filteredValues.length === 1) {\n return mergeOthers(filteredValues, utils, meta);\n }\n const type = getObjectType(filteredValues[0]);\n if (type !== 0 /* ObjectType.NOT */ && type !== 5 /* ObjectType.OTHER */) {\n for (let mut_index = 1; mut_index < filteredValues.length; mut_index++) {\n if (getObjectType(filteredValues[mut_index]) === type) {\n continue;\n }\n return mergeOthers(filteredValues, utils, meta);\n }\n }\n switch (type) {\n case 1 /* ObjectType.RECORD */: {\n return mergeRecords(filteredValues, utils, meta);\n }\n case 2 /* ObjectType.ARRAY */: {\n return mergeArrays(filteredValues, utils, meta);\n }\n case 3 /* ObjectType.SET */: {\n return mergeSets(filteredValues, utils, meta);\n }\n case 4 /* ObjectType.MAP */: {\n return mergeMaps(filteredValues, utils, meta);\n }\n default: {\n return mergeOthers(filteredValues, utils, meta);\n }\n }\n}\n/**\n * Merge records.\n *\n * @param values - The records.\n */\nfunction mergeRecords(values, utils, meta) {\n const result = utils.mergeFunctions.mergeRecords(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeRecords !== utils.defaultMergeFunctions.mergeRecords)) {\n return utils.defaultMergeFunctions.mergeRecords(values, utils, meta);\n }\n return result;\n}\n/**\n * Merge arrays.\n *\n * @param values - The arrays.\n */\nfunction mergeArrays(values, utils, meta) {\n const result = utils.mergeFunctions.mergeArrays(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeArrays !== utils.defaultMergeFunctions.mergeArrays)) {\n return utils.defaultMergeFunctions.mergeArrays(values);\n }\n return result;\n}\n/**\n * Merge sets.\n *\n * @param values - The sets.\n */\nfunction mergeSets(values, utils, meta) {\n const result = utils.mergeFunctions.mergeSets(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeSets !== utils.defaultMergeFunctions.mergeSets)) {\n return utils.defaultMergeFunctions.mergeSets(values);\n }\n return result;\n}\n/**\n * Merge maps.\n *\n * @param values - The maps.\n */\nfunction mergeMaps(values, utils, meta) {\n const result = utils.mergeFunctions.mergeMaps(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeMaps !== utils.defaultMergeFunctions.mergeMaps)) {\n return utils.defaultMergeFunctions.mergeMaps(values);\n }\n return result;\n}\n/**\n * Merge other things.\n *\n * @param values - The other things.\n */\nfunction mergeOthers(values, utils, meta) {\n const result = utils.mergeFunctions.mergeOthers(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeOthers !== utils.defaultMergeFunctions.mergeOthers)) {\n return utils.defaultMergeFunctions.mergeOthers(values);\n }\n return result;\n}\n\n/**\n * The default strategy to merge records into a target record.\n *\n * @param mut_target - The result will be mutated into this record\n * @param values - The records (including the target's value if there is one).\n */\nfunction mergeRecordsInto$1(mut_target, values, utils, meta) {\n for (const key of getKeys(values)) {\n const propValues = [];\n for (const value of values) {\n if (objectHasProperty(value, key)) {\n propValues.push(value[key]);\n }\n }\n if (propValues.length === 0) {\n continue;\n }\n const updatedMeta = utils.metaDataUpdater(meta, {\n key,\n parents: values,\n });\n const propertyTarget = { value: propValues[0] };\n mergeUnknownsInto(propertyTarget, propValues, utils, updatedMeta);\n if (key === \"__proto__\") {\n Object.defineProperty(mut_target.value, key, {\n value: propertyTarget.value,\n configurable: true,\n enumerable: true,\n writable: true,\n });\n }\n else {\n mut_target.value[key] = propertyTarget.value;\n }\n }\n}\n/**\n * The default strategy to merge arrays into a target array.\n *\n * @param mut_target - The result will be mutated into this array\n * @param values - The arrays (including the target's value if there is one).\n */\nfunction mergeArraysInto$1(mut_target, values) {\n mut_target.value.push(...values.slice(1).flat());\n}\n/**\n * The default strategy to merge sets into a target set.\n *\n * @param mut_target - The result will be mutated into this set\n * @param values - The sets (including the target's value if there is one).\n */\nfunction mergeSetsInto$1(mut_target, values) {\n for (const value of getIterableOfIterables(values.slice(1))) {\n mut_target.value.add(value);\n }\n}\n/**\n * The default strategy to merge maps into a target map.\n *\n * @param mut_target - The result will be mutated into this map\n * @param values - The maps (including the target's value if there is one).\n */\nfunction mergeMapsInto$1(mut_target, values) {\n for (const [key, value] of getIterableOfIterables(values.slice(1))) {\n mut_target.value.set(key, value);\n }\n}\n/**\n * Set the target to the last value.\n */\nfunction mergeOthersInto$1(mut_target, values) {\n mut_target.value = values.at(-1);\n}\n/**\n * The merge functions.\n */\nconst mergeIntoFunctions = {\n mergeRecords: mergeRecordsInto$1,\n mergeArrays: mergeArraysInto$1,\n mergeSets: mergeSetsInto$1,\n mergeMaps: mergeMapsInto$1,\n mergeOthers: mergeOthersInto$1,\n};\n\nfunction deepmergeInto(target, ...objects) {\n return void deepmergeIntoCustom({})(target, ...objects);\n}\nfunction deepmergeIntoCustom(options, rootMetaData) {\n const utils = getIntoUtils(options, customizedDeepmergeInto);\n /**\n * The customized deepmerge function.\n */\n function customizedDeepmergeInto(target, ...objects) {\n mergeUnknownsInto({ value: target }, [target, ...objects], utils, rootMetaData);\n }\n return customizedDeepmergeInto;\n}\n/**\n * The the utils that are available to the merge functions.\n *\n * @param options - The options the user specified\n */\nfunction getIntoUtils(options, customizedDeepmergeInto) {\n return {\n defaultMergeFunctions: mergeIntoFunctions,\n mergeFunctions: {\n ...mergeIntoFunctions,\n ...Object.fromEntries(Object.entries(options)\n .filter(([key, option]) => Object.hasOwn(mergeIntoFunctions, key))\n .map(([key, option]) => (option === false ? [key, mergeIntoFunctions.mergeOthers] : [key, option]))),\n },\n metaDataUpdater: (options.metaDataUpdater ?? defaultMetaDataUpdater),\n deepmergeInto: customizedDeepmergeInto,\n filterValues: options.filterValues === false ? undefined : (options.filterValues ?? defaultFilterValues),\n actions: actionsInto,\n };\n}\n/**\n * Merge unknown things into a target.\n *\n * @param mut_target - The target to merge into.\n * @param values - The values.\n */\nfunction mergeUnknownsInto(mut_target, values, utils, meta) {\n const filteredValues = utils.filterValues?.(values, meta) ?? values;\n if (filteredValues.length === 0) {\n return;\n }\n if (filteredValues.length === 1) {\n return void mergeOthersInto(mut_target, filteredValues, utils, meta);\n }\n const type = getObjectType(mut_target.value);\n if (type !== 0 /* ObjectType.NOT */ && type !== 5 /* ObjectType.OTHER */) {\n for (let mut_index = 1; mut_index < filteredValues.length; mut_index++) {\n if (getObjectType(filteredValues[mut_index]) === type) {\n continue;\n }\n return void mergeOthersInto(mut_target, filteredValues, utils, meta);\n }\n }\n switch (type) {\n case 1 /* ObjectType.RECORD */: {\n return void mergeRecordsInto(mut_target, filteredValues, utils, meta);\n }\n case 2 /* ObjectType.ARRAY */: {\n return void mergeArraysInto(mut_target, filteredValues, utils, meta);\n }\n case 3 /* ObjectType.SET */: {\n return void mergeSetsInto(mut_target, filteredValues, utils, meta);\n }\n case 4 /* ObjectType.MAP */: {\n return void mergeMapsInto(mut_target, filteredValues, utils, meta);\n }\n default: {\n return void mergeOthersInto(mut_target, filteredValues, utils, meta);\n }\n }\n}\n/**\n * Merge records into a target record.\n *\n * @param mut_target - The target to merge into.\n * @param values - The records.\n */\nfunction mergeRecordsInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeRecords(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeRecords(mut_target, values, utils, meta);\n }\n}\n/**\n * Merge arrays into a target array.\n *\n * @param mut_target - The target to merge into.\n * @param values - The arrays.\n */\nfunction mergeArraysInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeArrays(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeArrays(mut_target, values);\n }\n}\n/**\n * Merge sets into a target set.\n *\n * @param mut_target - The target to merge into.\n * @param values - The sets.\n */\nfunction mergeSetsInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeSets(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeSets(mut_target, values);\n }\n}\n/**\n * Merge maps into a target map.\n *\n * @param mut_target - The target to merge into.\n * @param values - The maps.\n */\nfunction mergeMapsInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeMaps(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeMaps(mut_target, values);\n }\n}\n/**\n * Merge other things into a target.\n *\n * @param mut_target - The target to merge into.\n * @param values - The other things.\n */\nfunction mergeOthersInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeOthers(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge || mut_target.value === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeOthers(mut_target, values);\n }\n}\n\nexport { deepmerge, deepmergeCustom, deepmergeInto, deepmergeIntoCustom, getKeys, getObjectType, objectHasProperty };\n","import {\n createSafeActionClient,\n DEFAULT_SERVER_ERROR_MESSAGE,\n} from 'next-safe-action';\nimport { z } from 'zod';\n\nexport const baseActionClient = createSafeActionClient({\n defineMetadataSchema() {\n return z.object({ actionName: z.string() });\n },\n handleServerError(error, options) {\n console.error(`Action error: ${options.metadata.actionName}`, error);\n return DEFAULT_SERVER_ERROR_MESSAGE;\n },\n});\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/client/components/http-access-fallback/http-access-fallback.ts\n\nconst HTTPAccessErrorStatus = {\n\tNOT_FOUND: 404,\n\tFORBIDDEN: 403,\n\tUNAUTHORIZED: 401,\n};\n\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));\n\nconst HTTP_ERROR_FALLBACK_ERROR_CODE = \"NEXT_HTTP_ERROR_FALLBACK\";\n\nexport type HTTPAccessFallbackError = Error & {\n\tdigest: `${typeof HTTP_ERROR_FALLBACK_ERROR_CODE};${string}`;\n};\n\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */\nexport function isHTTPAccessFallbackError(error: unknown): error is HTTPAccessFallbackError {\n\tif (typeof error !== \"object\" || error === null || !(\"digest\" in error) || typeof error.digest !== \"string\") {\n\t\treturn false;\n\t}\n\tconst [prefix, httpStatus] = error.digest.split(\";\");\n\n\treturn prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));\n}\n\nexport function getAccessFallbackHTTPStatus(error: HTTPAccessFallbackError): number {\n\tconst httpStatus = error.digest.split(\";\")[1];\n\treturn Number(httpStatus);\n}\n","// Comes from: https://github.com/vercel/next.js/blob/canary/packages/next/src/client/components/redirect-error.ts\n\nenum RedirectStatusCode {\n\tSeeOther = 303,\n\tTemporaryRedirect = 307,\n\tPermanentRedirect = 308,\n}\n\nconst REDIRECT_ERROR_CODE = \"NEXT_REDIRECT\";\n\nenum RedirectType {\n\tpush = \"push\",\n\treplace = \"replace\",\n}\n\nexport type RedirectError = Error & {\n\tdigest: `${typeof REDIRECT_ERROR_CODE};${RedirectType};${string};${RedirectStatusCode};`;\n};\n\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */\nexport function isRedirectError(error: unknown): error is RedirectError {\n\tif (typeof error !== \"object\" || error === null || !(\"digest\" in error) || typeof error.digest !== \"string\") {\n\t\treturn false;\n\t}\n\n\tconst digest = error.digest.split(\";\");\n\tconst [errorCode, type] = digest;\n\tconst destination = digest.slice(2, -2).join(\";\");\n\tconst status = digest.at(-2);\n\n\tconst statusCode = Number(status);\n\n\treturn (\n\t\terrorCode === REDIRECT_ERROR_CODE &&\n\t\t(type === \"replace\" || type === \"push\") &&\n\t\ttypeof destination === \"string\" &&\n\t\t!isNaN(statusCode) &&\n\t\tstatusCode in RedirectStatusCode\n\t);\n}\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/client/components/is-next-router-error.ts\n\nimport { isHTTPAccessFallbackError, type HTTPAccessFallbackError } from \"./http-access-fallback\";\nimport { isRedirectError, type RedirectError } from \"./redirect\";\n\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */\nexport function isNextRouterError(error: unknown): error is RedirectError | HTTPAccessFallbackError {\n\treturn isRedirectError(error) || isHTTPAccessFallbackError(error);\n}\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/export/helpers/is-dynamic-usage-error.ts\n\nimport { isBailoutToCSRError } from \"./bailout-to-csr\";\nimport { isNextRouterError } from \"./router\";\n\nconst DYNAMIC_ERROR_CODE = \"DYNAMIC_SERVER_USAGE\";\n\nclass DynamicServerError extends Error {\n\tdigest: typeof DYNAMIC_ERROR_CODE = DYNAMIC_ERROR_CODE;\n\n\tconstructor(public readonly description: string) {\n\t\tsuper(`Dynamic server usage: ${description}`);\n\t}\n}\n\nfunction isDynamicServerError(err: unknown): err is DynamicServerError {\n\tif (typeof err !== \"object\" || err === null || !(\"digest\" in err) || typeof err.digest !== \"string\") {\n\t\treturn false;\n\t}\n\n\treturn err.digest === DYNAMIC_ERROR_CODE;\n}\n\nfunction isDynamicPostponeReason(reason: string) {\n\treturn (\n\t\treason.includes(\"needs to bail out of prerendering at this point because it used\") &&\n\t\treason.includes(\"Learn more: https://nextjs.org/docs/messages/ppr-caught-error\")\n\t);\n}\n\nfunction isDynamicPostpone(err: unknown) {\n\tif (\n\t\ttypeof err === \"object\" &&\n\t\terr !== null &&\n\t\t// eslint-disable-next-line\n\t\ttypeof (err as any).message === \"string\"\n\t) {\n\t\t// eslint-disable-next-line\n\t\treturn isDynamicPostponeReason((err as any).message);\n\t}\n\treturn false;\n}\n\nexport const isDynamicUsageError = (err: unknown) =>\n\tisDynamicServerError(err) || isBailoutToCSRError(err) || isNextRouterError(err) || isDynamicPostpone(err);\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/server/lib/router-utils/is-postpone.ts\n\nconst REACT_POSTPONE_TYPE: symbol = Symbol.for(\"react.postpone\");\n\nexport function isPostpone(error: any): boolean {\n\treturn (\n\t\ttypeof error === \"object\" &&\n\t\terror !== null &&\n\t\t// eslint-disable-next-line\n\t\terror.$$typeof === REACT_POSTPONE_TYPE\n\t);\n}\n","import type { NavigationKind } from \"../../index.types\";\nimport { isBailoutToCSRError } from \"./bailout-to-csr\";\nimport { isDynamicUsageError } from \"./dynamic-usage\";\nimport { getAccessFallbackHTTPStatus, isHTTPAccessFallbackError } from \"./http-access-fallback\";\nimport { isPostpone } from \"./postpone\";\nimport { isRedirectError } from \"./redirect\";\nimport { isNextRouterError } from \"./router\";\n\nexport class FrameworkErrorHandler {\n\t#frameworkError: Error | undefined;\n\n\tstatic isNavigationError(error: unknown): error is Error {\n\t\treturn isNextRouterError(error) || isBailoutToCSRError(error) || isDynamicUsageError(error) || isPostpone(error);\n\t}\n\n\tstatic getNavigationKind(error: Error): NavigationKind {\n\t\tif (isRedirectError(error)) {\n\t\t\treturn \"redirect\";\n\t\t} else if (isHTTPAccessFallbackError(error) && getAccessFallbackHTTPStatus(error) === 404) {\n\t\t\treturn \"notFound\";\n\t\t} else if (isHTTPAccessFallbackError(error) && getAccessFallbackHTTPStatus(error) === 403) {\n\t\t\treturn \"forbidden\";\n\t\t} else if (isHTTPAccessFallbackError(error) && getAccessFallbackHTTPStatus(error) === 401) {\n\t\t\treturn \"unauthorized\";\n\t\t} else {\n\t\t\treturn \"other\";\n\t\t}\n\t}\n\n\t// Used in action builder.\n\thandleError(e: unknown) {\n\t\tif (FrameworkErrorHandler.isNavigationError(e)) {\n\t\t\tthis.#frameworkError = e;\n\t\t\treturn;\n\t\t}\n\n\t\t// If it's not a framework error, rethrow it, so it gets returned as a server error.\n\t\tthrow e;\n\t}\n\n\tget error() {\n\t\treturn this.#frameworkError;\n\t}\n}\n","/** The Standard Schema interface. */\nexport interface StandardSchemaV1<Input = unknown, Output = Input> {\n\t/** The Standard Schema properties. */\n\treadonly \"~standard\": StandardSchemaV1.Props<Input, Output>;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport declare namespace StandardSchemaV1 {\n\t/** The Standard Schema properties interface. */\n\texport interface Props<Input = unknown, Output = Input> {\n\t\t/** The version number of the standard. */\n\t\treadonly version: 1;\n\t\t/** The vendor name of the schema library. */\n\t\treadonly vendor: string;\n\t\t/** Validates unknown input values. */\n\t\treadonly validate: (value: unknown) => Result<Output> | Promise<Result<Output>>;\n\t\t/** Inferred types associated with the schema. */\n\t\treadonly types?: Types<Input, Output> | undefined;\n\t}\n\n\t/** The result interface of the validate function. */\n\texport type Result<Output> = SuccessResult<Output> | FailureResult;\n\n\t/** The result interface if validation succeeds. */\n\texport interface SuccessResult<Output> {\n\t\t/** The typed output value. */\n\t\treadonly value: Output;\n\t\t/** The non-existent issues. */\n\t\treadonly issues?: undefined;\n\t}\n\n\t/** The result interface if validation fails. */\n\texport interface FailureResult {\n\t\t/** The issues of failed validation. */\n\t\treadonly issues: ReadonlyArray<Issue>;\n\t}\n\n\t/** The issue interface of the failure output. */\n\texport interface Issue {\n\t\t/** The error message of the issue. */\n\t\treadonly message: string;\n\t\t/** The path of the issue, if any. */\n\t\treadonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;\n\t}\n\n\t/** The path segment interface of the issue. */\n\texport interface PathSegment {\n\t\t/** The key representing a path segment. */\n\t\treadonly key: PropertyKey;\n\t}\n\n\t/** The Standard Schema types interface. */\n\texport interface Types<Input = unknown, Output = Input> {\n\t\t/** The input type of the schema. */\n\t\treadonly input: Input;\n\t\t/** The output type of the schema. */\n\t\treadonly output: Output;\n\t}\n\n\t/** Infers the input type of a Standard Schema. */\n\texport type InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema[\"~standard\"][\"types\"]>[\"input\"];\n\n\t/** Infers the output type of a Standard Schema. */\n\texport type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema[\"~standard\"][\"types\"]>[\"output\"];\n}\n\n// custom helpers\n\n/** Infer the input type of an array of Standard Schemas. */\nexport type InferInputArray<Schemas extends readonly StandardSchemaV1[]> = {\n\t[K in keyof Schemas]: StandardSchemaV1.InferInput<Schemas[K]>;\n};\n\n/** Infer the output type of an array of Standard Schemas. */\nexport type InferOutputArray<Schemas extends readonly StandardSchemaV1[]> = {\n\t[K in keyof Schemas]: StandardSchemaV1.InferOutput<Schemas[K]>;\n};\n\n/** Infer the input type of a Standard Schema, or a default type if the schema is undefined. */\nexport type InferInputOrDefault<MaybeSchema, Default> = MaybeSchema extends StandardSchemaV1\n\t? StandardSchemaV1.InferInput<MaybeSchema>\n\t: Default;\n\n/** Infer the output type of a Standard Schema, or a default type if the schema is undefined. */\nexport type InferOutputOrDefault<MaybeSchema, Default> = MaybeSchema extends StandardSchemaV1\n\t? StandardSchemaV1.InferOutput<MaybeSchema>\n\t: Default;\n\nexport async function standardParse<Output>(schema: StandardSchemaV1<unknown, Output>, value: unknown) {\n\treturn schema[\"~standard\"].validate(value);\n}\n","export const DEFAULT_SERVER_ERROR_MESSAGE = \"Something went wrong while executing the operation.\";\n\n/**\n * Checks if passed argument is an instance of Error.\n */\nexport const isError = (error: unknown): error is Error => error instanceof Error;\n\n/**\n * Checks what the winning boolean value is from a series of values, from lowest to highest priority.\n * `null` and `undefined` values are skipped.\n */\nexport const winningBoolean = (...args: (boolean | undefined | null)[]) => {\n\treturn args.reduce((acc, v) => (typeof v === \"boolean\" ? v : acc), false) as boolean;\n};\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment */\nimport type { StandardSchemaV1 } from \"./standard-schema\";\nimport type { FlattenedValidationErrors, IssueWithUnionErrors, ValidationErrors } from \"./validation-errors.types\";\n\nconst getKey = (segment: PropertyKey | StandardSchemaV1.PathSegment) =>\n\ttypeof segment === \"object\" ? segment.key : segment;\n\nconst getIssueMessage = (issue: IssueWithUnionErrors) => {\n\tif (issue.unionErrors) {\n\t\treturn issue.unionErrors.map((u) => u.issues.map((i) => i.message)).flat();\n\t}\n\treturn issue.message;\n};\n\n// This function is used internally to build the validation errors object from a list of validation issues.\nexport const buildValidationErrors = <S extends StandardSchemaV1 | undefined>(\n\tissues: readonly IssueWithUnionErrors[]\n) => {\n\tconst ve: any = {};\n\n\tfor (const issue of issues) {\n\t\tconst { path, message, unionErrors } = issue;\n\n\t\t// When path is undefined or empty, set root errors.\n\t\tif (!path || path.length === 0) {\n\t\t\tve._errors = ve._errors ? [...ve._errors, message] : [message];\n\t\t\tcontinue;\n\t\t}\n\n\t\t// Reference to errors object.\n\t\tlet ref = ve;\n\n\t\t// Set object for the path, if it doesn't exist.\n\t\tfor (let i = 0; i < path.length - 1; i++) {\n\t\t\tconst k = getKey(path[i]!);\n\n\t\t\tif (!ref[k]) {\n\t\t\t\tref[k] = {};\n\t\t\t}\n\n\t\t\tref = ref[k];\n\t\t}\n\n\t\t// Key is always the last element of the path.\n\t\tconst key = getKey(path[path.length - 1]!);\n\n\t\tconst issueMessage = getIssueMessage(issue);\n\n\t\t// Set error for the current path. If `_errors` array exists, add the message to it.\n\t\tref[key] = ref[key]?._errors\n\t\t\t? {\n\t\t\t\t\t...structuredClone(ref[key]),\n\t\t\t\t\t_errors: [...ref[key]._errors, issueMessage],\n\t\t\t\t}\n\t\t\t: { ...structuredClone(ref[key]), _errors: unionErrors ? issueMessage : [issueMessage] };\n\t}\n\n\treturn ve as ValidationErrors<S>;\n};\n\n// This class is internally used to throw validation errors in action's server code function, using\n// `returnValidationErrors`.\nexport class ActionServerValidationError<S extends StandardSchemaV1> extends Error {\n\tpublic validationErrors: ValidationErrors<S>;\n\tconstructor(validationErrors: ValidationErrors<S>) {\n\t\tsuper(\"Server Action server validation error(s) occurred\");\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n\n// This class is internally used to throw validation errors in action's server code function, using\n// `returnValidationErrors`.\nexport class ActionValidationError<CVE> extends Error {\n\tpublic validationErrors: CVE;\n\tconstructor(validationErrors: CVE, overriddenErrorMessage?: string) {\n\t\tsuper(overriddenErrorMessage ?? \"Server Action validation error(s) occurred\");\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n\n// This class is internally used to throw validation errors in action's server code function, using\n// `returnValidationErrors`.\nexport class ActionBindArgsValidationError extends Error {\n\tpublic validationErrors: unknown[];\n\tconstructor(validationErrors: unknown[]) {\n\t\tsuper(\"Server Action bind args validation error(s) occurred\");\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n\n/**\n * Return custom validation errors to the client from the action's server code function.\n * Code declared after this function invocation will not be executed.\n * @param schema Input schema\n * @param validationErrors Validation errors object\n *\n * {@link https://next-safe-action.dev/docs/define-actions/validation-errors#returnvalidationerrors See docs for more information}\n */\nexport function returnValidationErrors<\n\tS extends StandardSchemaV1 | (() => Promise<StandardSchemaV1>),\n\tAS extends StandardSchemaV1 = S extends () => Promise<StandardSchemaV1> ? Awaited<ReturnType<S>> : S, // actual schema\n>(schema: S, validationErrors: ValidationErrors<AS>): never {\n\tthrow new ActionServerValidationError<AS>(validationErrors);\n}\n\n/**\n * Default validation errors format.\n * Emulation of `zod`'s [`format`](https://zod.dev/ERROR_HANDLING?id=formatting-errors) function.\n */\nexport function formatValidationErrors<VE extends ValidationErrors<any>>(validationErrors: VE) {\n\treturn validationErrors;\n}\n\n/**\n * Transform default formatted validation errors into flattened structure.\n * `formErrors` contains global errors, and `fieldErrors` contains errors for each field,\n * one level deep. It discards errors for nested fields.\n * Emulation of `zod`'s [`flatten`](https://zod.dev/ERROR_HANDLING?id=flattening-errors) function.\n * @param {ValidationErrors} [validationErrors] Validation errors object\n *\n * {@link https://next-safe-action.dev/docs/define-actions/validation-errors#flattenvalidationerrorsutility-function See docs for more information}\n */\nexport function flattenValidationErrors<VE extends ValidationErrors<any>>(validationErrors: VE) {\n\tconst flattened: FlattenedValidationErrors<VE> = {\n\t\tformErrors: [],\n\t\tfieldErrors: {},\n\t};\n\n\tfor (const [key, value] of Object.entries<string[] | { _errors: string[] }>(validationErrors ?? {})) {\n\t\tif (key === \"_errors\" && Array.isArray(value)) {\n\t\t\tflattened.formErrors = [...value];\n\t\t} else {\n\t\t\tif (\"_errors\" in value) {\n\t\t\t\tflattened.fieldErrors[key as keyof Omit<VE, \"_errors\">] = [...value._errors];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn flattened;\n}\n\n/**\n * This error is thrown when an action metadata is invalid, i.e. when there's a mismatch between the\n * type of the metadata schema returned from `defineMetadataSchema` and the actual data passed.\n */\nexport class ActionMetadataValidationError<MDS extends StandardSchemaV1 | undefined> extends Error {\n\tpublic validationErrors: ValidationErrors<MDS>;\n\n\tconstructor(validationErrors: ValidationErrors<MDS>) {\n\t\tsuper(\"Invalid metadata input. Please be sure to pass metadata via `metadata` method before defining the action.\");\n\t\tthis.name = \"ActionMetadataError\";\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n\n/**\n * This error is thrown when an action's data (output) is invalid, i.e. when there's a mismatch between the\n * type of the data schema passed to `dataSchema` method and the actual return of the action.\n */\nexport class ActionOutputDataValidationError<DS extends StandardSchemaV1 | undefined> extends Error {\n\tpublic validationErrors: ValidationErrors<DS>;\n\n\tconstructor(validationErrors: ValidationErrors<DS>) {\n\t\tsuper(\n\t\t\t\"Invalid action data (output). Please be sure to return data following the shape of the schema passed to `dataSchema` method.\"\n\t\t);\n\t\tthis.name = \"ActionOutputDataError\";\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n","import { deepmerge } from \"deepmerge-ts\";\nimport type {} from \"zod\";\nimport type {\n\tDVES,\n\tMiddlewareResult,\n\tSafeActionClientArgs,\n\tSafeActionFn,\n\tSafeActionResult,\n\tSafeActionUtils,\n\tSafeStateActionFn,\n\tServerCodeFn,\n\tStateServerCodeFn,\n} from \"./index.types\";\nimport { FrameworkErrorHandler } from \"./next/errors\";\nimport type {\n\tInferInputArray,\n\tInferInputOrDefault,\n\tInferOutputArray,\n\tInferOutputOrDefault,\n\tStandardSchemaV1,\n} from \"./standard-schema\";\nimport { standardParse } from \"./standard-schema\";\nimport { DEFAULT_SERVER_ERROR_MESSAGE, isError, winningBoolean } from \"./utils\";\nimport {\n\tActionBindArgsValidationError,\n\tActionMetadataValidationError,\n\tActionOutputDataValidationError,\n\tActionServerValidationError,\n\tActionValidationError,\n\tbuildValidationErrors,\n} from \"./validation-errors\";\nimport type { ValidationErrors } from \"./validation-errors.types\";\n\nexport function actionBuilder<\n\tServerError,\n\tODVES extends DVES | undefined, // override default validation errors shape\n\tMetadataSchema extends StandardSchemaV1 | undefined = undefined,\n\tMD = InferOutputOrDefault<MetadataSchema, undefined>, // metadata type (inferred from metadata schema)\n\tCtx extends object = {},\n\tISF extends (() => Promise<StandardSchemaV1>) | undefined = undefined, // input schema function\n\tIS extends StandardSchemaV1 | undefined = ISF extends Function ? Awaited<ReturnType<ISF>> : undefined, // input schema\n\tOS extends StandardSchemaV1 | undefined = undefined, // output schema\n\tconst BAS extends readonly StandardSchemaV1[] = [],\n\tCVE = undefined,\n>(args: SafeActionClientArgs<ServerError, ODVES, MetadataSchema, MD, true, Ctx, ISF, IS, OS, BAS, CVE>) {\n\tconst bindArgsSchemas = args.bindArgsSchemas ?? [];\n\n\tfunction buildAction({ withState }: { withState: false }): {\n\t\taction: <Data extends InferOutputOrDefault<OS, any>>(\n\t\t\tserverCodeFn: ServerCodeFn<MD, Ctx, IS, BAS, Data>,\n\t\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t\t) => SafeActionFn<ServerError, IS, BAS, CVE, Data>;\n\t};\n\tfunction buildAction({ withState }: { withState: true }): {\n\t\taction: <Data extends InferOutputOrDefault<OS, any>>(\n\t\t\tserverCodeFn: StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>,\n\t\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t\t) => SafeStateActionFn<ServerError, IS, BAS, CVE, Data>;\n\t};\n\tfunction buildAction({ withState }: { withState: boolean }) {\n\t\treturn {\n\t\t\taction: <Data extends InferOutputOrDefault<OS, any>>(\n\t\t\t\tserverCodeFn:\n\t\t\t\t\t| ServerCodeFn<MD, Ctx, IS, BAS, Data>\n\t\t\t\t\t| StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>,\n\t\t\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t\t\t) => {\n\t\t\t\treturn async (...clientInputs: unknown[]) => {\n\t\t\t\t\tlet currentCtx: object = {};\n\t\t\t\t\tconst middlewareResult: MiddlewareResult<ServerError, object> = { success: false };\n\t\t\t\t\ttype PrevResult = SafeActionResult<ServerError, IS, CVE, Data>;\n\t\t\t\t\tlet prevResult: PrevResult = {};\n\t\t\t\t\tconst parsedInputDatas: any[] = [];\n\t\t\t\t\tconst frameworkErrorHandler = new FrameworkErrorHandler();\n\n\t\t\t\t\t// Track if server error has been handled.\n\t\t\t\t\tlet serverErrorHandled = false;\n\n\t\t\t\t\tif (withState) {\n\t\t\t\t\t\t// Previous state is placed between bind args and main arg inputs, so it's always at the index of\n\t\t\t\t\t\t// the bind args schemas + 1. Get it and remove it from the client inputs array.\n\t\t\t\t\t\tprevResult = clientInputs.splice(bindArgsSchemas.length, 1)[0] as PrevResult;\n\t\t\t\t\t}\n\n\t\t\t\t\t// If the number of bind args schemas + 1 (which is the optional main arg schema) is greater\n\t\t\t\t\t// than the number of provided client inputs, it means that the main argument is missing.\n\t\t\t\t\t// This happens when the main schema is missing (since it's optional), or if a void main schema\n\t\t\t\t\t// is provided along with bind args schemas.\n\t\t\t\t\tif (bindArgsSchemas.length + 1 > clientInputs.length) {\n\t\t\t\t\t\tclientInputs.push(undefined);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Execute the middleware stack.\n\t\t\t\t\tconst executeMiddlewareStack = async (idx = 0) => {\n\t\t\t\t\t\tif (frameworkErrorHandler.error) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst middlewareFn = args.middlewareFns[idx];\n\t\t\t\t\t\tmiddlewareResult.ctx = currentCtx;\n\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (idx === 0) {\n\t\t\t\t\t\t\t\tif (args.metadataSchema) {\n\t\t\t\t\t\t\t\t\t// Validate metadata input.\n\t\t\t\t\t\t\t\t\tconst parsedMd = await standardParse(args.metadataSchema, args.metadata);\n\n\t\t\t\t\t\t\t\t\tif (parsedMd.issues) {\n\t\t\t\t\t\t\t\t\t\tthrow new ActionMetadataValidationError<MetadataSchema>(buildValidationErrors(parsedMd.issues));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Middleware function.\n\t\t\t\t\t\t\tif (middlewareFn) {\n\t\t\t\t\t\t\t\tawait middlewareFn({\n\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1), // pass raw client input\n\t\t\t\t\t\t\t\t\tbindArgsClientInputs: bindArgsSchemas.length ? clientInputs.slice(0, -1) : [],\n\t\t\t\t\t\t\t\t\tctx: currentCtx,\n\t\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\t\tnext: async (nextOpts) => {\n\t\t\t\t\t\t\t\t\t\tcurrentCtx = deepmerge(currentCtx, nextOpts?.ctx ?? {});\n\t\t\t\t\t\t\t\t\t\tawait executeMiddlewareStack(idx + 1);\n\t\t\t\t\t\t\t\t\t\treturn middlewareResult;\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t}).catch((e) => {\n\t\t\t\t\t\t\t\t\tframeworkErrorHandler.handleError(e);\n\t\t\t\t\t\t\t\t\tif (frameworkErrorHandler.error) {\n\t\t\t\t\t\t\t\t\t\tmiddlewareResult.success = false;\n\t\t\t\t\t\t\t\t\t\tmiddlewareResult.navigationKind = FrameworkErrorHandler.getNavigationKind(\n\t\t\t\t\t\t\t\t\t\t\tframeworkErrorHandler.error\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t// Action function.\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Validate the client inputs in parallel.\n\t\t\t\t\t\t\t\tconst parsedInputs = await Promise.all(\n\t\t\t\t\t\t\t\t\tclientInputs.map(async (input, i) => {\n\t\t\t\t\t\t\t\t\t\t// Last client input in the array, main argument (no bind arg).\n\t\t\t\t\t\t\t\t\t\tif (i === clientInputs.length - 1) {\n\t\t\t\t\t\t\t\t\t\t\t// If schema is undefined, set parsed data to undefined.\n\t\t\t\t\t\t\t\t\t\t\tif (typeof args.inputSchemaFn === \"undefined\") {\n\t\t\t\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: undefined,\n\t\t\t\t\t\t\t\t\t\t\t\t} as const satisfies StandardSchemaV1.Result<undefined>;\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Otherwise, parse input with the schema.\n\t\t\t\t\t\t\t\t\t\t\treturn standardParse(await args.inputSchemaFn(), input);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Otherwise, we're processing bind args client inputs.\n\t\t\t\t\t\t\t\t\t\treturn standardParse(bindArgsSchemas[i]!, input);\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tlet hasBindValidationErrors = false;\n\n\t\t\t\t\t\t\t\t// Initialize the bind args validation errors array with null values.\n\t\t\t\t\t\t\t\t// It has the same length as the number of bind arguments (parsedInputs - 1).\n\t\t\t\t\t\t\t\tconst bindArgsValidationErrors = Array(parsedInputs.length - 1).fill({});\n\n\t\t\t\t\t\t\t\tfor (let i = 0; i < parsedInputs.length; i++) {\n\t\t\t\t\t\t\t\t\tconst parsedInput = parsedInputs[i]!;\n\n\t\t\t\t\t\t\t\t\tif (!parsedInput.issues) {\n\t\t\t\t\t\t\t\t\t\tparsedInputDatas.push(parsedInput.value);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t// If we're processing a bind argument and there are validation errors for this one,\n\t\t\t\t\t\t\t\t\t\t// we need to store them in the bind args validation errors array at this index.\n\t\t\t\t\t\t\t\t\t\tif (i < parsedInputs.length - 1) {\n\t\t\t\t\t\t\t\t\t\t\tbindArgsValidationErrors[i] = buildValidationErrors<BAS[number]>(parsedInput.issues);\n\t\t\t\t\t\t\t\t\t\t\thasBindValidationErrors = true;\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t// Otherwise, we're processing the non-bind argument (the last one) in the array.\n\t\t\t\t\t\t\t\t\t\t\tconst validationErrors = buildValidationErrors<IS>(parsedInput.issues);\n\n\t\t\t\t\t\t\t\t\t\t\tmiddlewareResult.validationErrors = await Promise.resolve(\n\t\t\t\t\t\t\t\t\t\t\t\targs.handleValidationErrorsShape(validationErrors, {\n\t\t\t\t\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? clientInputs.slice(0, -1)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// If there are bind args validation errors, throw an error.\n\t\t\t\t\t\t\t\tif (hasBindValidationErrors) {\n\t\t\t\t\t\t\t\t\tthrow new ActionBindArgsValidationError(bindArgsValidationErrors);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (middlewareResult.validationErrors) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// @ts-expect-error\n\t\t\t\t\t\t\t\tconst scfArgs: Parameters<StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>> = [];\n\n\t\t\t\t\t\t\t\t// Server code function always has this object as the first argument.\n\t\t\t\t\t\t\t\tscfArgs[0] = {\n\t\t\t\t\t\t\t\t\tparsedInput: parsedInputDatas.at(-1) as InferOutputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\t\tbindArgsParsedInputs: parsedInputDatas.slice(0, -1) as InferOutputArray<BAS>,\n\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length\n\t\t\t\t\t\t\t\t\t\t? clientInputs.slice(0, -1)\n\t\t\t\t\t\t\t\t\t\t: []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t// If this action is stateful, server code function also has a `prevResult` property inside the second\n\t\t\t\t\t\t\t\t// argument object.\n\t\t\t\t\t\t\t\tif (withState) {\n\t\t\t\t\t\t\t\t\tscfArgs[1] = { prevResult: structuredClone(prevResult) };\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tconst data = await serverCodeFn(...scfArgs).catch((e) => frameworkErrorHandler.handleError(e));\n\n\t\t\t\t\t\t\t\t// If a `outputSchema` is passed, validate the action return value.\n\t\t\t\t\t\t\t\tif (typeof args.outputSchema !== \"undefined\" && !frameworkErrorHandler.error) {\n\t\t\t\t\t\t\t\t\tconst parsedData = await standardParse(args.outputSchema, data);\n\n\t\t\t\t\t\t\t\t\tif (parsedData.issues) {\n\t\t\t\t\t\t\t\t\t\tthrow new ActionOutputDataValidationError<OS>(buildValidationErrors(parsedData.issues));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (frameworkErrorHandler.error) {\n\t\t\t\t\t\t\t\t\tmiddlewareResult.success = false;\n\t\t\t\t\t\t\t\t\tmiddlewareResult.navigationKind = FrameworkErrorHandler.getNavigationKind(\n\t\t\t\t\t\t\t\t\t\tframeworkErrorHandler.error\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tmiddlewareResult.success = true;\n\t\t\t\t\t\t\t\t\tmiddlewareResult.data = data;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tmiddlewareResult.parsedInput = parsedInputDatas.at(-1);\n\t\t\t\t\t\t\t\tmiddlewareResult.bindArgsParsedInputs = parsedInputDatas.slice(0, -1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (e: unknown) {\n\t\t\t\t\t\t\t// Only handle server errors once. If already handled, rethrow to bubble up.\n\t\t\t\t\t\t\tif (serverErrorHandled) {\n\t\t\t\t\t\t\t\tthrow e;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// If error is `ActionServerValidationError`, return `validationErrors` as if schema validation would fail.\n\t\t\t\t\t\t\tif (e instanceof ActionServerValidationError) {\n\t\t\t\t\t\t\t\tconst ve = e.validationErrors as ValidationErrors<IS>;\n\t\t\t\t\t\t\t\tmiddlewareResult.validationErrors = await Promise.resolve(\n\t\t\t\t\t\t\t\t\targs.handleValidationErrorsShape(ve, {\n\t\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length\n\t\t\t\t\t\t\t\t\t\t\t? clientInputs.slice(0, -1)\n\t\t\t\t\t\t\t\t\t\t\t: []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Mark that we're handling the server error to prevent multiple calls.\n\t\t\t\t\t\t\t\tserverErrorHandled = true;\n\n\t\t\t\t\t\t\t\t// If error is not an instance of Error, wrap it in an Error object with\n\t\t\t\t\t\t\t\t// the default message.\n\t\t\t\t\t\t\t\tconst error = isError(e) ? e : new Error(DEFAULT_SERVER_ERROR_MESSAGE);\n\t\t\t\t\t\t\t\tconst returnedError = await Promise.resolve(\n\t\t\t\t\t\t\t\t\targs.handleServerError(error, {\n\t\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1), // pass raw client input\n\t\t\t\t\t\t\t\t\t\tbindArgsClientInputs: bindArgsSchemas.length ? clientInputs.slice(0, -1) : [],\n\t\t\t\t\t\t\t\t\t\tctx: currentCtx,\n\t\t\t\t\t\t\t\t\t\tmetadata: args.metadata as InferOutputOrDefault<MetadataSchema, undefined>,\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tmiddlewareResult.serverError = returnedError;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\t// Execute middleware chain + action function.\n\t\t\t\t\tawait executeMiddlewareStack();\n\n\t\t\t\t\tconst callbackPromises: (Promise<unknown> | undefined)[] = [];\n\n\t\t\t\t\t// If an internal (navigation) framework error occurred, throw it, so it will be processed by Next.js.\n\t\t\t\t\tif (frameworkErrorHandler.error) {\n\t\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\t\tutils?.onNavigation?.({\n\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\tnavigationKind: FrameworkErrorHandler.getNavigationKind(frameworkErrorHandler.error),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\t\tutils?.onSettled?.({\n\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\tresult: {},\n\t\t\t\t\t\t\t\tnavigationKind: FrameworkErrorHandler.getNavigationKind(frameworkErrorHandler.error),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tawait Promise.all(callbackPromises);\n\n\t\t\t\t\t\tthrow frameworkErrorHandler.error;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst actionResult: SafeActionResult<ServerError, IS, CVE, Data> = {};\n\n\t\t\t\t\tif (typeof middlewareResult.validationErrors !== \"undefined\") {\n\t\t\t\t\t\t// `utils.throwValidationErrors` has higher priority since it's set at the action level.\n\t\t\t\t\t\t// It overrides the client setting, if set.\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\twinningBoolean(\n\t\t\t\t\t\t\t\targs.throwValidationErrors,\n\t\t\t\t\t\t\t\ttypeof utils?.throwValidationErrors === \"undefined\" ? undefined : Boolean(utils.throwValidationErrors)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst overrideErrorMessageFn =\n\t\t\t\t\t\t\t\ttypeof utils?.throwValidationErrors === \"object\" && utils?.throwValidationErrors.overrideErrorMessage\n\t\t\t\t\t\t\t\t\t? utils?.throwValidationErrors.overrideErrorMessage\n\t\t\t\t\t\t\t\t\t: undefined;\n\n\t\t\t\t\t\t\tthrow new ActionValidationError(\n\t\t\t\t\t\t\t\tmiddlewareResult.validationErrors as CVE,\n\t\t\t\t\t\t\t\tawait overrideErrorMessageFn?.(middlewareResult.validationErrors as CVE)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tactionResult.validationErrors = middlewareResult.validationErrors as CVE;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (typeof middlewareResult.serverError !== \"undefined\") {\n\t\t\t\t\t\tif (utils?.throwServerError) {\n\t\t\t\t\t\t\tthrow middlewareResult.serverError;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tactionResult.serverError = middlewareResult.serverError;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (middlewareResult.success) {\n\t\t\t\t\t\tif (typeof middlewareResult.data !== \"undefined\") {\n\t\t\t\t\t\t\tactionResult.data = middlewareResult.data as Data;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\t\tutils?.onSuccess?.({\n\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\tdata: actionResult.data as Data,\n\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\tparsedInput: parsedInputDatas.at(-1) as InferOutputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsParsedInputs: parsedInputDatas.slice(0, -1) as InferOutputArray<BAS>,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\t\tutils?.onError?.({\n\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\terror: actionResult,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\t// onSettled, if provided, is always executed.\n\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\tutils?.onSettled?.({\n\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\tresult: actionResult,\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\n\t\t\t\t\tawait Promise.all(callbackPromises);\n\n\t\t\t\t\treturn actionResult;\n\t\t\t\t};\n\t\t\t},\n\t\t};\n\t}\n\n\treturn {\n\t\t/**\n\t\t * Define the action.\n\t\t * @param serverCodeFn Code that will be executed on the **server side**\n\t\t *\n\t\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#action--stateaction See docs for more information}\n\t\t */\n\t\taction: buildAction({ withState: false }).action,\n\n\t\t/**\n\t\t * Define the stateful action. To be used with the [`useStateAction`](https://next-safe-action.dev/docs/execute-actions/hooks/usestateaction) hook.\n\t\t * @param serverCodeFn Code that will be executed on the **server side**\n\t\t *\n\t\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#action--stateaction See docs for more information}\n\t\t */\n\t\tstateAction: buildAction({ withState: true }).action,\n\t};\n}\n","import { actionBuilder } from \"./action-builder\";\nimport type {\n\tDVES,\n\tMiddlewareFn,\n\tSafeActionClientArgs,\n\tSafeActionUtils,\n\tServerCodeFn,\n\tStateServerCodeFn,\n} from \"./index.types\";\nimport type { InferOutputOrDefault, StandardSchemaV1 } from \"./standard-schema\";\nimport type {\n\tFlattenedValidationErrors,\n\tHandleValidationErrorsShapeFn,\n\tValidationErrors,\n} from \"./validation-errors.types\";\n\nexport class SafeActionClient<\n\tServerError,\n\tODVES extends DVES | undefined, // override default validation errors shape\n\tMetadataSchema extends StandardSchemaV1 | undefined = undefined,\n\tMD = InferOutputOrDefault<MetadataSchema, undefined>, // metadata type (inferred from metadata schema)\n\tMDProvided extends boolean = MetadataSchema extends undefined ? true : false,\n\tCtx extends object = {},\n\tISF extends (() => Promise<StandardSchemaV1>) | undefined = undefined, // input schema function\n\tIS extends StandardSchemaV1 | undefined = ISF extends Function ? Awaited<ReturnType<ISF>> : undefined, // input schema\n\tOS extends StandardSchemaV1 | undefined = undefined, // output schema\n\tconst BAS extends readonly StandardSchemaV1[] = [],\n\tCVE = undefined,\n> {\n\treadonly #args: SafeActionClientArgs<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>;\n\n\tconstructor(\n\t\targs: SafeActionClientArgs<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>\n\t) {\n\t\tthis.#args = args;\n\t}\n\n\t/**\n\t * Use a middleware function.\n\t * @param middlewareFn Middleware function\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#use See docs for more information}\n\t */\n\tuse<NextCtx extends object>(middlewareFn: MiddlewareFn<ServerError, MD, Ctx, Ctx & NextCtx>) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\tmiddlewareFns: [...this.#args.middlewareFns, middlewareFn],\n\t\t\tctxType: {} as Ctx & NextCtx,\n\t\t});\n\t}\n\n\t/**\n\t * Define metadata for the action.\n\t * @param data Metadata with the same type as the return value of the [`defineMetadataSchema`](https://next-safe-action.dev/docs/define-actions/create-the-client#definemetadataschema) optional initialization function\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#metadata See docs for more information}\n\t */\n\tmetadata(data: MD) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\tmetadata: data,\n\t\t\tmetadataProvided: true,\n\t\t});\n\t}\n\n\t/**\n\t * Define the input validation schema for the action.\n\t * @param inputSchema Input validation schema\n\t * @param utils Optional utils object\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/create-the-client#inputschema See docs for more information}\n\t */\n\tinputSchema<\n\t\tOIS extends StandardSchemaV1 | ((prevSchema: IS) => Promise<StandardSchemaV1>), // override input schema\n\t\tAIS extends StandardSchemaV1 = OIS extends (prevSchema: IS) => Promise<StandardSchemaV1> // actual input schema\n\t\t\t? Awaited<ReturnType<OIS>>\n\t\t\t: OIS,\n\t\t// override custom validation errors shape\n\t\tOCVE = ODVES extends \"flattened\" ? FlattenedValidationErrors<ValidationErrors<AIS>> : ValidationErrors<AIS>,\n\t>(\n\t\tinputSchema: OIS,\n\t\tutils?: {\n\t\t\thandleValidationErrorsShape?: HandleValidationErrorsShapeFn<AIS, BAS, MD, Ctx, OCVE>;\n\t\t}\n\t) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\t// @ts-expect-error\n\t\t\tinputSchemaFn: (inputSchema[Symbol.toStringTag] === \"AsyncFunction\"\n\t\t\t\t? async () => {\n\t\t\t\t\t\tconst prevSchema = await this.#args.inputSchemaFn?.();\n\t\t\t\t\t\t// @ts-expect-error\n\t\t\t\t\t\treturn inputSchema(prevSchema as IS) as AIS;\n\t\t\t\t\t}\n\t\t\t\t: async () => inputSchema) as ISF,\n\t\t\thandleValidationErrorsShape: (utils?.handleValidationErrorsShape ??\n\t\t\t\tthis.#args.handleValidationErrorsShape) as HandleValidationErrorsShapeFn<AIS, BAS, MD, Ctx, OCVE>,\n\t\t});\n\t}\n\n\t/**\n\t * @deprecated Alias for `inputSchema` method. Use that instead.\n\t */\n\tschema = this.inputSchema;\n\n\t/**\n\t * Define the bind args input validation schema for the action.\n\t * @param bindArgsSchemas Bind args input validation schemas\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#bindargsschemas See docs for more information}\n\t */\n\tbindArgsSchemas<const OBAS extends readonly StandardSchemaV1[]>(bindArgsSchemas: OBAS) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\tbindArgsSchemas,\n\t\t\thandleValidationErrorsShape: this.#args.handleValidationErrorsShape as unknown as HandleValidationErrorsShapeFn<\n\t\t\t\tIS,\n\t\t\t\tOBAS,\n\t\t\t\tMD,\n\t\t\t\tCtx,\n\t\t\t\tCVE\n\t\t\t>,\n\t\t});\n\t}\n\n\t/**\n\t * Define the output data validation schema for the action.\n\t * @param schema Output data validation schema\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/create-the-client#outputschema See docs for more information}\n\t */\n\toutputSchema<OOS extends StandardSchemaV1>(dataSchema: OOS) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\toutputSchema: dataSchema,\n\t\t});\n\t}\n\n\t/**\n\t * Define the action.\n\t * @param serverCodeFn Code that will be executed on the **server side**\n\t * @param [cb] Optional callbacks that will be called after action execution, on the server.\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#action--stateaction See docs for more information}\n\t */\n\taction<Data extends InferOutputOrDefault<OS, any>>(\n\t\tthis: MDProvided extends true\n\t\t\t? SafeActionClient<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>\n\t\t\t: never,\n\t\tserverCodeFn: ServerCodeFn<MD, Ctx, IS, BAS, Data>,\n\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t) {\n\t\treturn actionBuilder(this.#args).action(serverCodeFn, utils);\n\t}\n\n\t/**\n\t * Define the stateful action.\n\t * To be used with the [`useStateAction`](https://next-safe-action.dev/docs/execute-actions/hooks/usestateaction) hook.\n\t * @param serverCodeFn Code that will be executed on the **server side**\n\t * @param [cb] Optional callbacks that will be called after action execution, on the server.\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#action--stateaction See docs for more information}\n\t */\n\tstateAction<Data extends InferOutputOrDefault<OS, any>>(\n\t\tthis: MDProvided extends true\n\t\t\t? SafeActionClient<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>\n\t\t\t: never,\n\t\tserverCodeFn: StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>,\n\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t) {\n\t\treturn actionBuilder(this.#args).stateAction(serverCodeFn, utils);\n\t}\n}\n","import type { MiddlewareFn } from \"./index.types\";\n\n/**\n * Creates a standalone middleware function. It accepts a generic object with optional `serverError`, `ctx` and `metadata`\n * properties, if you need one or all of them to be typed. The type for each property that is passed as generic is the\n * **minimum** shape required to define the middleware function, but it can also be larger than that.\n *\n * {@link https://next-safe-action.dev/docs/define-actions/middleware#create-standalone-middleware See docs for more information}\n */\nexport const createMiddleware = <BaseData extends { serverError?: any; ctx?: object; metadata?: any }>() => {\n\treturn {\n\t\tdefine: <NextCtx extends object>(\n\t\t\tmiddlewareFn: MiddlewareFn<\n\t\t\t\tBaseData extends { serverError: infer SE } ? SE : any,\n\t\t\t\tBaseData extends { metadata: infer MD } ? MD : any,\n\t\t\t\tBaseData extends { ctx: infer Ctx extends object } ? Ctx : object,\n\t\t\t\tNextCtx\n\t\t\t>\n\t\t) => middlewareFn,\n\t};\n};\n","import type { CreateClientOpts, DVES, HandleServerErrorFn } from \"./index.types\";\nimport { SafeActionClient } from \"./safe-action-client\";\nimport type { InferOutputOrDefault, StandardSchemaV1 } from \"./standard-schema\";\nimport { DEFAULT_SERVER_ERROR_MESSAGE } from \"./utils\";\nimport { flattenValidationErrors, formatValidationErrors } from \"./validation-errors\";\n\nexport { createMiddleware } from \"./middleware\";\nexport { DEFAULT_SERVER_ERROR_MESSAGE } from \"./utils\";\nexport {\n\tActionBindArgsValidationError,\n\tActionMetadataValidationError,\n\tActionOutputDataValidationError,\n\tActionValidationError,\n\tflattenValidationErrors,\n\tformatValidationErrors,\n\treturnValidationErrors,\n} from \"./validation-errors\";\n\nexport type * from \"./index.types\";\nexport type * from \"./validation-errors.types\";\n\n/**\n * Create a new safe action client.\n * Note: this client only works with Zod as the validation library.\n * @param createOpts Initialization options\n *\n * {@link https://next-safe-action.dev/docs/define-actions/create-the-client#initialization-options See docs for more information}\n */\nexport const createSafeActionClient = <\n\tODVES extends DVES | undefined = undefined,\n\tServerError = string,\n\tMetadataSchema extends StandardSchemaV1 | undefined = undefined,\n>(\n\tcreateOpts?: CreateClientOpts<ODVES, ServerError, MetadataSchema>\n) => {\n\t// If `handleServerError` is provided, use it, otherwise default to log to console and generic error message.\n\tconst handleServerError: HandleServerErrorFn<ServerError, MetadataSchema> =\n\t\tcreateOpts?.handleServerError ||\n\t\t((e) => {\n\t\t\tconsole.error(\"Action error:\", e.message);\n\t\t\treturn DEFAULT_SERVER_ERROR_MESSAGE as ServerError;\n\t\t});\n\n\treturn new SafeActionClient({\n\t\tmiddlewareFns: [async ({ next }) => next({ ctx: {} })],\n\t\thandleServerError,\n\t\tinputSchemaFn: undefined,\n\t\tbindArgsSchemas: [],\n\t\toutputSchema: undefined,\n\t\tctxType: {},\n\t\tmetadataSchema: (createOpts?.defineMetadataSchema?.() ?? undefined) as MetadataSchema,\n\t\tmetadata: undefined as InferOutputOrDefault<MetadataSchema, undefined>,\n\t\tdefaultValidationErrorsShape: (createOpts?.defaultValidationErrorsShape ?? \"formatted\") as ODVES,\n\t\tthrowValidationErrors: Boolean(createOpts?.throwValidationErrors),\n\t\thandleValidationErrorsShape: async (ve) =>\n\t\t\tcreateOpts?.defaultValidationErrorsShape === \"flattened\"\n\t\t\t\t? flattenValidationErrors(ve)\n\t\t\t\t: formatValidationErrors(ve),\n\t});\n};\n"],"names":["err: unknown","error: unknown","ObjectType","REACT_POSTPONE_TYPE: symbol","#frameworkError","issue: IssueWithUnionErrors","issues: readonly IssueWithUnionErrors[]","ve: any","validationErrors: unknown[]","schema: S","validationErrors: ValidationErrors<AS>","validationErrors: VE","flattened: FlattenedValidationErrors<VE>","validationErrors: ValidationErrors<MDS>","prevResult: PrevResult","scfArgs: Parameters<StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>>","callbackPromises: (Promise<unknown> | undefined)[]","actionResult: SafeActionResult<ServerError, IS, CVE, Data>","args: SafeActionClientArgs<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>","#args","middlewareFn: MiddlewareFn<ServerError, MD, Ctx, Ctx & NextCtx>","data: MD","inputSchema: OIS","utils?: {\n\t\t\thandleValidationErrorsShape?: HandleValidationErrorsShapeFn<AIS, BAS, MD, Ctx, OCVE>;\n\t\t}","bindArgsSchemas: OBAS","dataSchema: OOS","serverCodeFn: ServerCodeFn<MD, Ctx, IS, BAS, Data>","serverCodeFn: StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>","utils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>","middlewareFn: MiddlewareFn<\n\t\t\t\tBaseData extends { serverError: infer SE } ? SE : any,\n\t\t\t\tBaseData extends { metadata: infer MD } ? MD : any,\n\t\t\t\tBaseData extends { ctx: infer Ctx extends object } ? Ctx : object,\n\t\t\t\tNextCtx\n\t\t\t>","createOpts?: CreateClientOpts<ODVES, ServerError, MetadataSchema>","handleServerError: HandleServerErrorFn<ServerError, MetadataSchema>"],"mappings":"+HAWa,EAAA,uBAAuB,CAAG,CACrC,eAAe,CAAC,IACP,CACL,CAFuB,OAEf,CAAE,EAAO,IAAD,IAAY,CAC5B,CAD2B,GACvB,CAAE,EAAO,IAAD,AAAQ,CACpB,CADmB,QACV,CAAE,EAAO,IAAD,KAAa,CAC9B,CAD6B,EAC1B,CAAE,EAAO,GAAM,CAAP,CAAM,AAClB,CAAC,AAGJ,aAAa,CAAC,IAAmB,AACxB,CACL,QAAQ,CAAE,EAAK,EAAD,MAAS,CACvB,IAAI,CAAE,EAAK,EAAD,EAAK,CACf,SAAS,CAAE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IAAA,EAAa,AAAM,GAAH,QAAG,CAAA,EAAA,CAAA,IAAA,EAAA,OAAA,CAAA,QAChC,CAAA,QACA,oBZ/GF,IAAM,GAAuB,GACjC,QAAQ,CAAC,CACR,WAAY,sBACd,GACC,WAAW,CACV,EAAA,CAAC,CAAC,MAAM,CAAC,CACP,KAAM,EAAA,CAAC,CAAC,MAAM,GACd,KAAM,EAAA,CAAC,CAAC,MAAM,EAChB,IAED,MAAM,CAAC,MAAO,aAAE,CAAW,CAAE,IAC5B,IAAM,EAAS,IAAI,EAAO,EAAA,YAAY,EAEhC,EAAW,MAAM,EAAO,SAAS,CAAC,MAAM,CAAC,CAC7C,KAAM,EAAY,IAAI,CACtB,KAAM,EAAY,IAAI,AACxB,UAEA,AAAI,EAAS,KAAK,EAAE,AAClB,QAAQ,KAAK,CAAC,iCAAkC,EAAS,KAAK,EACvD,CAAE,KAAM,EAAY,IAAI,CAAE,OAAQ,QAAkB,GAGtD,CACL,KAAM,EAAY,IAAI,CACtB,OAAQ,YACR,GAAI,EAAS,IAAI,CAAC,EAAE,AACtB,CACF,oCA5BW,KAAA,CAAA,EAAA,EAAA,uBAAA,EAAA,GAAA,6CAAA","ignoreList":[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,177,184,186,188,190,191,192,193,194,195,196,197,198,199,200,201,202]}
1
+ {"version":3,"sources":["turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/applicationIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/applicationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/applicationPatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseApplicationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/util.ts","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/max.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/nil.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/regex.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/validate.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/parse.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/stringify.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/rng.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v1.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v1ToV6.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v35.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/md5.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v3.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/native.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v4.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/sha1.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v5.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v6.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v6ToV1.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/v7.js","turbopack:///[project]/node_modules/.pnpm/uuid@10.0.0/node_modules/uuid/dist/esm-node/version.js","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/request.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/application.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appPortalCapability.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appPortalAccessIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appPortalAccessOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/applicationTokenExpireIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/dashboardAccessOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/authentication.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/backgroundTaskStatus.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/backgroundTaskType.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/backgroundTaskOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseBackgroundTaskOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/backgroundTask.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointHeadersIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointHeadersOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointHeadersPatchIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointPatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointSecretOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointSecretRotateIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointStats.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointTransformationIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointTransformationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointTransformationPatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventExampleIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/recoverIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/recoverOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/replayIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/replayOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/endpoint.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/connectorKind.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/connectorIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/environmentIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/connectorOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/environmentOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/environment.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeImportOpenApiIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeFromOpenApi.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeImportOpenApiOutData.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeImportOpenApiOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypePatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/eventTypeUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseEventTypeOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/eventType.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/health.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestSourceConsumerPortalAccessIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointHeadersIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointHeadersOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointSecretIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointSecretOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointTransformationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointTransformationPatch.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestEndpointUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseIngestEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/ingestEndpoint.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/adobeSignConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/airwallexConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/checkbookConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/cronConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/docusignConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/easypostConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/githubConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/hubspotConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/orumIoConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pandaDocConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/portIoConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/rutterConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/segmentConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/shopifyConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/slackConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/stripeConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/svixConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/telnyxConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/vapiConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/veriffConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/zoomConfig.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestSourceIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/adobeSignConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/airwallexConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/checkbookConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/docusignConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/easypostConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/githubConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/hubspotConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/orumIoConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pandaDocConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/portIoConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/rutterConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/segmentConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/shopifyConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/slackConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/stripeConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/svixConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/telnyxConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/vapiConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/veriffConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/zoomConfigOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ingestSourceOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseIngestSourceOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/rotateTokenOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/ingestSource.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/ingest.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/integrationIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/integrationKeyOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/integrationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/integrationUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseIntegrationOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/integration.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/expungeAllContentsOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseMessageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pollingEndpointConsumerSeekIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pollingEndpointConsumerSeekOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pollingEndpointMessageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/pollingEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/messagePoller.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/message.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageStatus.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageStatusText.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointMessageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseEndpointMessageOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageAttemptTriggerType.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageAttemptOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseMessageAttemptOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/messageEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseMessageEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/messageAttempt.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/listResponseOperationalWebhookEndpointOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointHeadersIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointHeadersOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointSecretIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointSecretOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/operationalWebhookEndpointUpdate.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/operationalWebhookEndpoint.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/operationalWebhook.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/aggregateEventTypesOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appUsageStatsIn.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/appUsageStatsOut.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/api/statistics.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/HttpErrors.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/timing_safe_equal.ts","turbopack:///[project]/node_modules/.pnpm/@stablelib+base64@1.0.1/node_modules/@stablelib/base64/base64.ts","turbopack:///[project]/node_modules/.pnpm/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.js","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/webhook.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/endpointDisabledTrigger.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/ordering.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/statusCodeClass.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/models/index.ts","turbopack:///[project]/node_modules/.pnpm/svix@1.76.1/node_modules/svix/src/index.ts","turbopack:///[project]/node_modules/.pnpm/resend@6.4.0/node_modules/resend/dist/index.mjs","turbopack:///[project]/packages/preview-server/.next-internal/server/app/preview/[...slug]/page/actions.js (server actions loader)","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/bailout-to-csr.ts","turbopack:///[project]/packages/preview-server/src/actions/export-single-template.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/.pnpm/deepmerge-ts@7.1.5/node_modules/deepmerge-ts/dist/index.mjs","turbopack:///[project]/packages/preview-server/src/actions/safe-action.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/http-access-fallback.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/redirect.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/router.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/dynamic-usage.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/postpone.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/next/errors/index.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/standard-schema.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/utils.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/validation-errors.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/action-builder.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/safe-action-client.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/middleware.ts","turbopack:///[project]/node_modules/.pnpm/next-safe-action@8.0.11_next@16.0.1_@babel+core@7.26.10_react-dom@19.0.0_react@19.0.0___eac97c9dde9a68af7e08fd807ecc20f1/node_modules/next-safe-action/src/index.ts"],"sourcesContent":["// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ApplicationIn {\n metadata?: { [key: string]: string };\n name: string;\n rateLimit?: number | null;\n /** Optional unique identifier for the application. */\n uid?: string | null;\n}\n\nexport const ApplicationInSerializer = {\n _fromJsonObject(object: any): ApplicationIn {\n return {\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n };\n },\n\n _toJsonObject(self: ApplicationIn): any {\n return {\n metadata: self.metadata,\n name: self.name,\n rateLimit: self.rateLimit,\n uid: self.uid,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ApplicationOut {\n createdAt: Date;\n /** The Application's ID. */\n id: string;\n metadata: { [key: string]: string };\n name: string;\n rateLimit?: number | null;\n /** The Application's UID. */\n uid?: string | null;\n updatedAt: Date;\n}\n\nexport const ApplicationOutSerializer = {\n _fromJsonObject(object: any): ApplicationOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n id: object[\"id\"],\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: ApplicationOut): any {\n return {\n createdAt: self.createdAt,\n id: self.id,\n metadata: self.metadata,\n name: self.name,\n rateLimit: self.rateLimit,\n uid: self.uid,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ApplicationPatch {\n metadata?: { [key: string]: string };\n name?: string;\n rateLimit?: number | null;\n /** The Application's UID. */\n uid?: string | null;\n}\n\nexport const ApplicationPatchSerializer = {\n _fromJsonObject(object: any): ApplicationPatch {\n return {\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n };\n },\n\n _toJsonObject(self: ApplicationPatch): any {\n return {\n metadata: self.metadata,\n name: self.name,\n rateLimit: self.rateLimit,\n uid: self.uid,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ApplicationOut, ApplicationOutSerializer } from \"./applicationOut\";\n\nexport interface ListResponseApplicationOut {\n data: ApplicationOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseApplicationOutSerializer = {\n _fromJsonObject(object: any): ListResponseApplicationOut {\n return {\n data: object[\"data\"].map((item: ApplicationOut) =>\n ApplicationOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseApplicationOut): any {\n return {\n data: self.data.map((item) => ApplicationOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","export interface PostOptions {\n idempotencyKey?: string;\n}\n\nexport class ApiException<T> extends Error {\n public headers: Record<string, string> = {};\n\n public constructor(\n public code: number,\n public body: T,\n headers: Headers\n ) {\n super(`HTTP-Code: ${code}\\nHeaders: ${JSON.stringify(headers)}`);\n\n headers.forEach((value: string, name: string) => {\n this.headers[name] = value;\n });\n }\n}\n\nexport type XOR<T, U> =\n | (T & { [K in keyof U]?: never })\n | (U & { [K in keyof T]?: never });\n","export default 'ffffffff-ffff-ffff-ffff-ffffffffffff';","export default '00000000-0000-0000-0000-000000000000';","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;","import REGEX from './regex.js';\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\nexport default validate;","import validate from './validate.js';\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n let v;\n const arr = new Uint8Array(16);\n\n // Parse ########-....-....-....-............\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff;\n\n // Parse ........-####-....-....-............\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff;\n\n // Parse ........-....-####-....-............\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff;\n\n // Parse ........-....-....-####-............\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff;\n\n // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\nexport default parse;","import validate from './validate.js';\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n //\n // Note to future-self: No, you can't remove the `toLowerCase()` call.\n // REF: https://github.com/uuidjs/uuid/pull/677#issuecomment-1757351351\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset);\n // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;","import crypto from 'node:crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nlet _nodeId;\nlet _clockseq;\n\n// Previous uuid creation time\nlet _lastMSecs = 0;\nlet _lastNSecs = 0;\n\n// See https://github.com/uuidjs/uuid for API details\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node;\n let clockseq = options.clockseq;\n\n // v1 only: Use cached `node` and `clockseq` values\n if (!options._v6) {\n if (!node) {\n node = _nodeId;\n }\n if (clockseq == null) {\n clockseq = _clockseq;\n }\n }\n\n // Handle cases where we need entropy. We do this lazily to minimize issues\n // related to insufficient system entropy. See #189\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || rng)();\n\n // Randomize node\n if (node == null) {\n node = [seedBytes[0], seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n\n // v1 only: cache node value for reuse\n if (!_nodeId && !options._v6) {\n // per RFC4122 4.5: Set MAC multicast bit (v1 only)\n node[0] |= 0x01; // Set multicast bit\n\n _nodeId = node;\n }\n }\n\n // Randomize clockseq\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n if (_clockseq === undefined && !options._v6) {\n _clockseq = clockseq;\n }\n }\n }\n\n // v1 & v6 timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so time is\n // handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n let msecs = options.msecs !== undefined ? options.msecs : Date.now();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n return buf || unsafeStringify(b);\n}\nexport default v1;","import parse from './parse.js';\nimport { unsafeStringify } from './stringify.js';\n\n/**\n * Convert a v1 UUID to a v6 UUID\n *\n * @param {string|Uint8Array} uuid - The v1 UUID to convert to v6\n * @returns {string|Uint8Array} The v6 UUID as the same type as the `uuid` arg\n * (string or Uint8Array)\n */\nexport default function v1ToV6(uuid) {\n const v1Bytes = typeof uuid === 'string' ? parse(uuid) : uuid;\n const v6Bytes = _v1ToV6(v1Bytes);\n return typeof uuid === 'string' ? unsafeStringify(v6Bytes) : v6Bytes;\n}\n\n// Do the field transformation needed for v1 -> v6\nfunction _v1ToV6(v1Bytes, randomize = false) {\n return Uint8Array.of((v1Bytes[6] & 0x0f) << 4 | v1Bytes[7] >> 4 & 0x0f, (v1Bytes[7] & 0x0f) << 4 | (v1Bytes[4] & 0xf0) >> 4, (v1Bytes[4] & 0x0f) << 4 | (v1Bytes[5] & 0xf0) >> 4, (v1Bytes[5] & 0x0f) << 4 | (v1Bytes[0] & 0xf0) >> 4, (v1Bytes[0] & 0x0f) << 4 | (v1Bytes[1] & 0xf0) >> 4, (v1Bytes[1] & 0x0f) << 4 | (v1Bytes[2] & 0xf0) >> 4, 0x60 | v1Bytes[2] & 0x0f, v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]);\n}","import { unsafeStringify } from './stringify.js';\nimport parse from './parse.js';\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n return bytes;\n}\nexport const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function v35(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n var _namespace;\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n }\n\n // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n if (buf) {\n offset = offset || 0;\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n return buf;\n }\n return unsafeStringify(bytes);\n }\n\n // Function#name is not settable on some platforms (#270)\n try {\n generateUUID.name = name;\n } catch (err) {}\n\n // For CommonJS default export support\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","import crypto from 'node:crypto';\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n return crypto.createHash('md5').update(bytes).digest();\n}\nexport default md5;","import v35 from './v35.js';\nimport md5 from './md5.js';\nconst v3 = v35('v3', 0x30, md5);\nexport default v3;","import crypto from 'node:crypto';\nexport default {\n randomUUID: crypto.randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n const rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;","import crypto from 'node:crypto';\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n return crypto.createHash('sha1').update(bytes).digest();\n}\nexport default sha1;","import v35 from './v35.js';\nimport sha1 from './sha1.js';\nconst v5 = v35('v5', 0x50, sha1);\nexport default v5;","import { unsafeStringify } from './stringify.js';\nimport v1 from './v1.js';\nimport v1ToV6 from './v1ToV6.js';\n\n/**\n *\n * @param {object} options\n * @param {Uint8Array=} buf\n * @param {number=} offset\n * @returns\n */\nexport default function v6(options = {}, buf, offset = 0) {\n // v6 is v1 with different field layout, so we start with a v1 UUID, albeit\n // with slightly different behavior around how the clock_seq and node fields\n // are randomized, which is why we call v1 with _v6: true.\n let bytes = v1({\n ...options,\n _v6: true\n }, new Uint8Array(16));\n\n // Reorder the fields to v6 layout.\n bytes = v1ToV6(bytes);\n\n // Return as a byte array if requested\n if (buf) {\n for (let i = 0; i < 16; i++) {\n buf[offset + i] = bytes[i];\n }\n return buf;\n }\n return unsafeStringify(bytes);\n}","import parse from './parse.js';\nimport { unsafeStringify } from './stringify.js';\n\n/**\n * Convert a v6 UUID to a v1 UUID\n *\n * @param {string|Uint8Array} uuid - The v6 UUID to convert to v6\n * @returns {string|Uint8Array} The v1 UUID as the same type as the `uuid` arg\n * (string or Uint8Array)\n */\nexport default function v6ToV1(uuid) {\n const v6Bytes = typeof uuid === 'string' ? parse(uuid) : uuid;\n const v1Bytes = _v6ToV1(v6Bytes);\n return typeof uuid === 'string' ? unsafeStringify(v1Bytes) : v1Bytes;\n}\n\n// Do the field transformation needed for v6 -> v1\nfunction _v6ToV1(v6Bytes) {\n return Uint8Array.of((v6Bytes[3] & 0x0f) << 4 | v6Bytes[4] >> 4 & 0x0f, (v6Bytes[4] & 0x0f) << 4 | (v6Bytes[5] & 0xf0) >> 4, (v6Bytes[5] & 0x0f) << 4 | v6Bytes[6] & 0x0f, v6Bytes[7], (v6Bytes[1] & 0x0f) << 4 | (v6Bytes[2] & 0xf0) >> 4, (v6Bytes[2] & 0x0f) << 4 | (v6Bytes[3] & 0xf0) >> 4, 0x10 | (v6Bytes[0] & 0xf0) >> 4, (v6Bytes[0] & 0x0f) << 4 | (v6Bytes[1] & 0xf0) >> 4, v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]);\n}","import rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\n/**\n * UUID V7 - Unix Epoch time-based UUID\n *\n * The IETF has published RFC9562, introducing 3 new UUID versions (6,7,8). This\n * implementation of V7 is based on the accepted, though not yet approved,\n * revisions.\n *\n * RFC 9562:https://www.rfc-editor.org/rfc/rfc9562.html Universally Unique\n * IDentifiers (UUIDs)\n\n *\n * Sample V7 value:\n * https://www.rfc-editor.org/rfc/rfc9562.html#name-example-of-a-uuidv7-value\n *\n * Monotonic Bit Layout: RFC rfc9562.6.2 Method 1, Dedicated Counter Bits ref:\n * https://www.rfc-editor.org/rfc/rfc9562.html#section-6.2-5.1\n *\n * 0 1 2 3 0 1 2 3 4 5 6\n * 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n * | unix_ts_ms |\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n * | unix_ts_ms | ver | seq_hi |\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n * |var| seq_low | rand |\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n * | rand |\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n *\n * seq is a 31 bit serialized counter; comprised of 12 bit seq_hi and 19 bit\n * seq_low, and randomly initialized upon timestamp change. 31 bit counter size\n * was selected as any bitwise operations in node are done as _signed_ 32 bit\n * ints. we exclude the sign bit.\n */\n\nlet _seqLow = null;\nlet _seqHigh = null;\nlet _msecs = 0;\nfunction v7(options, buf, offset) {\n options = options || {};\n\n // initialize buffer and pointer\n let i = buf && offset || 0;\n const b = buf || new Uint8Array(16);\n\n // rnds is Uint8Array(16) filled with random bytes\n const rnds = options.random || (options.rng || rng)();\n\n // milliseconds since unix epoch, 1970-01-01 00:00\n const msecs = options.msecs !== undefined ? options.msecs : Date.now();\n\n // seq is user provided 31 bit counter\n let seq = options.seq !== undefined ? options.seq : null;\n\n // initialize local seq high/low parts\n let seqHigh = _seqHigh;\n let seqLow = _seqLow;\n\n // check if clock has advanced and user has not provided msecs\n if (msecs > _msecs && options.msecs === undefined) {\n _msecs = msecs;\n\n // unless user provided seq, reset seq parts\n if (seq !== null) {\n seqHigh = null;\n seqLow = null;\n }\n }\n\n // if we have a user provided seq\n if (seq !== null) {\n // trim provided seq to 31 bits of value, avoiding overflow\n if (seq > 0x7fffffff) {\n seq = 0x7fffffff;\n }\n\n // split provided seq into high/low parts\n seqHigh = seq >>> 19 & 0xfff;\n seqLow = seq & 0x7ffff;\n }\n\n // randomly initialize seq\n if (seqHigh === null || seqLow === null) {\n seqHigh = rnds[6] & 0x7f;\n seqHigh = seqHigh << 8 | rnds[7];\n seqLow = rnds[8] & 0x3f; // pad for var\n seqLow = seqLow << 8 | rnds[9];\n seqLow = seqLow << 5 | rnds[10] >>> 3;\n }\n\n // increment seq if within msecs window\n if (msecs + 10000 > _msecs && seq === null) {\n if (++seqLow > 0x7ffff) {\n seqLow = 0;\n if (++seqHigh > 0xfff) {\n seqHigh = 0;\n\n // increment internal _msecs. this allows us to continue incrementing\n // while staying monotonic. Note, once we hit 10k milliseconds beyond system\n // clock, we will reset breaking monotonicity (after (2^31)*10000 generations)\n _msecs++;\n }\n }\n } else {\n // resetting; we have advanced more than\n // 10k milliseconds beyond system clock\n _msecs = msecs;\n }\n _seqHigh = seqHigh;\n _seqLow = seqLow;\n\n // [bytes 0-5] 48 bits of local timestamp\n b[i++] = _msecs / 0x10000000000 & 0xff;\n b[i++] = _msecs / 0x100000000 & 0xff;\n b[i++] = _msecs / 0x1000000 & 0xff;\n b[i++] = _msecs / 0x10000 & 0xff;\n b[i++] = _msecs / 0x100 & 0xff;\n b[i++] = _msecs & 0xff;\n\n // [byte 6] - set 4 bits of version (7) with first 4 bits seq_hi\n b[i++] = seqHigh >>> 4 & 0x0f | 0x70;\n\n // [byte 7] remaining 8 bits of seq_hi\n b[i++] = seqHigh & 0xff;\n\n // [byte 8] - variant (2 bits), first 6 bits seq_low\n b[i++] = seqLow >>> 13 & 0x3f | 0x80;\n\n // [byte 9] 8 bits seq_low\n b[i++] = seqLow >>> 5 & 0xff;\n\n // [byte 10] remaining 5 bits seq_low, 3 bits random\n b[i++] = seqLow << 3 & 0xff | rnds[10] & 0x07;\n\n // [bytes 11-15] always random\n b[i++] = rnds[11];\n b[i++] = rnds[12];\n b[i++] = rnds[13];\n b[i++] = rnds[14];\n b[i++] = rnds[15];\n return buf || unsafeStringify(b);\n}\nexport default v7;","import validate from './validate.js';\nfunction version(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n return parseInt(uuid.slice(14, 15), 16);\n}\nexport default version;","import { ApiException, XOR } from \"./util\";\nimport { HttpErrorOut, HTTPValidationError } from \"./HttpErrors\";\nimport { v4 as uuidv4 } from \"uuid\";\n\nexport const LIB_VERSION = \"1.76.1\";\nconst USER_AGENT = `svix-libs/${LIB_VERSION}/javascript`;\n\nexport enum HttpMethod {\n GET = \"GET\",\n HEAD = \"HEAD\",\n POST = \"POST\",\n PUT = \"PUT\",\n DELETE = \"DELETE\",\n CONNECT = \"CONNECT\",\n OPTIONS = \"OPTIONS\",\n TRACE = \"TRACE\",\n PATCH = \"PATCH\",\n}\n\nexport type SvixRequestContext = {\n /** The API base URL, like \"https://api.svix.com\" */\n baseUrl: string;\n /** The 'bearer' scheme access token */\n token: string;\n /** Time in milliseconds to wait for requests to get a response. */\n timeout?: number;\n} & XOR<\n {\n /** List of delays (in milliseconds) to wait before each retry attempt.*/\n retryScheduleInMs?: number[];\n },\n {\n /** The number of times the client will retry if a server-side error\n * or timeout is received.\n * Default: 2\n */\n numRetries?: number;\n }\n>;\n\ntype QueryParameter = string | boolean | number | Date | string[] | null | undefined;\n\nexport class SvixRequest {\n constructor(\n private readonly method: HttpMethod,\n private path: string\n ) {}\n\n private body?: string;\n private queryParams: Record<string, string> = {};\n private headerParams: Record<string, string> = {};\n\n public setPathParam(name: string, value: string) {\n const newPath = this.path.replace(`{${name}}`, encodeURIComponent(value));\n if (this.path === newPath) {\n throw new Error(`path parameter ${name} not found`);\n }\n this.path = newPath;\n }\n\n public setQueryParam(name: string, value: QueryParameter) {\n if (value === undefined || value === null) {\n return;\n }\n\n if (typeof value === \"string\") {\n this.queryParams[name] = value;\n } else if (typeof value === \"boolean\" || typeof value === \"number\") {\n this.queryParams[name] = value.toString();\n } else if (value instanceof Date) {\n this.queryParams[name] = value.toISOString();\n } else if (value instanceof Array) {\n if (value.length > 0) {\n this.queryParams[name] = value.join(\",\");\n }\n } else {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _assert_unreachable: never = value;\n throw new Error(`query parameter ${name} has unsupported type`);\n }\n }\n\n public setHeaderParam(name: string, value?: string) {\n if (value === undefined) {\n return;\n }\n\n this.headerParams[name] = value;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public setBody(value: any) {\n this.body = JSON.stringify(value);\n }\n\n /**\n * Send this request, returning the request body as a caller-specified type.\n *\n * If the server returns a 422 error, an `ApiException<HTTPValidationError>` is thrown.\n * If the server returns another 4xx error, an `ApiException<HttpErrorOut>` is thrown.\n *\n * If the server returns a 5xx error, the request is retried up to two times with exponential backoff.\n * If retries are exhausted, an `ApiException<HttpErrorOut>` is thrown.\n */\n public async send<R>(\n ctx: SvixRequestContext,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n parseResponseBody: (jsonObject: any) => R\n ): Promise<R> {\n const response = await this.sendInner(ctx);\n if (response.status == 204) {\n return <R>null;\n }\n const responseBody = await response.text();\n return parseResponseBody(JSON.parse(responseBody));\n }\n\n /** Same as `send`, but the response body is discarded, not parsed. */\n public async sendNoResponseBody(ctx: SvixRequestContext): Promise<void> {\n await this.sendInner(ctx);\n }\n\n private async sendInner(ctx: SvixRequestContext): Promise<Response> {\n const url = new URL(ctx.baseUrl + this.path);\n for (const [name, value] of Object.entries(this.queryParams)) {\n url.searchParams.set(name, value);\n }\n\n if (\n this.headerParams[\"idempotency-key\"] === undefined &&\n this.method.toUpperCase() === \"POST\"\n ) {\n this.headerParams[\"idempotency-key\"] = \"auto_\" + uuidv4();\n }\n\n const randomId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);\n\n if (this.body != null) {\n this.headerParams[\"content-type\"] = \"application/json\";\n }\n // Cloudflare Workers fail if the credentials option is used in a fetch call.\n // This work around that. Source:\n // https://github.com/cloudflare/workers-sdk/issues/2514#issuecomment-2178070014\n const isCredentialsSupported = \"credentials\" in Request.prototype;\n\n const response = await sendWithRetry(\n url,\n {\n method: this.method.toString(),\n body: this.body,\n headers: {\n accept: \"application/json, */*;q=0.8\",\n authorization: `Bearer ${ctx.token}`,\n \"user-agent\": USER_AGENT,\n \"svix-req-id\": randomId.toString(),\n ...this.headerParams,\n },\n credentials: isCredentialsSupported ? \"same-origin\" : undefined,\n signal: ctx.timeout !== undefined ? AbortSignal.timeout(ctx.timeout) : undefined,\n },\n ctx.retryScheduleInMs,\n ctx.retryScheduleInMs?.[0],\n ctx.retryScheduleInMs?.length || ctx.numRetries\n );\n return filterResponseForErrors(response);\n }\n}\n\nasync function filterResponseForErrors(response: Response): Promise<Response> {\n if (response.status < 300) {\n return response;\n }\n\n const responseBody = await response.text();\n\n if (response.status === 422) {\n throw new ApiException<HTTPValidationError>(\n response.status,\n JSON.parse(responseBody) as HTTPValidationError,\n response.headers\n );\n }\n\n if (response.status >= 400 && response.status <= 499) {\n throw new ApiException<HttpErrorOut>(\n response.status,\n JSON.parse(responseBody) as HttpErrorOut,\n response.headers\n );\n }\n throw new ApiException(response.status, responseBody, response.headers);\n}\n\ntype SvixRequestInit = RequestInit & {\n headers: Record<string, string>;\n};\n\nasync function sendWithRetry(\n url: URL,\n init: SvixRequestInit,\n retryScheduleInMs?: number[],\n nextInterval = 50,\n triesLeft = 2,\n retryCount = 1\n): Promise<Response> {\n const sleep = (interval: number) =>\n new Promise((resolve) => setTimeout(resolve, interval));\n\n try {\n const response = await fetch(url, init);\n if (triesLeft <= 0 || response.status < 500) {\n return response;\n }\n } catch (e) {\n if (triesLeft <= 0) {\n throw e;\n }\n }\n\n await sleep(nextInterval);\n init.headers[\"svix-retry-count\"] = retryCount.toString();\n nextInterval = retryScheduleInMs?.[retryCount] || nextInterval * 2;\n return await sendWithRetry(\n url,\n init,\n retryScheduleInMs,\n nextInterval,\n --triesLeft,\n ++retryCount\n );\n}\n","// this file is @generated\n\nimport { ApplicationIn, ApplicationInSerializer } from \"../models/applicationIn\";\nimport { ApplicationOut, ApplicationOutSerializer } from \"../models/applicationOut\";\nimport { ApplicationPatch, ApplicationPatchSerializer } from \"../models/applicationPatch\";\nimport {\n ListResponseApplicationOut,\n ListResponseApplicationOutSerializer,\n} from \"../models/listResponseApplicationOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface ApplicationListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface ApplicationCreateOptions {\n idempotencyKey?: string;\n}\n\nexport class Application {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List of all the organization's applications. */\n public list(options?: ApplicationListOptions): Promise<ListResponseApplicationOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app\");\n\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseApplicationOutSerializer._fromJsonObject\n );\n }\n\n /** Create a new application. */\n public create(\n applicationIn: ApplicationIn,\n options?: ApplicationCreateOptions\n ): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(ApplicationInSerializer._toJsonObject(applicationIn));\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n\n /** Get the application with the UID from `applicationIn`, or create it if it doesn't exist yet. */\n public getOrCreate(\n applicationIn: ApplicationIn,\n options?: ApplicationCreateOptions\n ): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app\");\n\n request.setQueryParam(\"get_if_exists\", true);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(ApplicationInSerializer._toJsonObject(applicationIn));\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n\n /** Get an application. */\n public get(appId: string): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}\");\n\n request.setPathParam(\"app_id\", appId);\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n\n /** Update an application. */\n public update(appId: string, applicationIn: ApplicationIn): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.PUT, \"/api/v1/app/{app_id}\");\n\n request.setPathParam(\"app_id\", appId);\n request.setBody(ApplicationInSerializer._toJsonObject(applicationIn));\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n\n /** Delete an application. */\n public delete(appId: string): Promise<void> {\n const request = new SvixRequest(HttpMethod.DELETE, \"/api/v1/app/{app_id}\");\n\n request.setPathParam(\"app_id\", appId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Partially update an application. */\n public patch(\n appId: string,\n applicationPatch: ApplicationPatch\n ): Promise<ApplicationOut> {\n const request = new SvixRequest(HttpMethod.PATCH, \"/api/v1/app/{app_id}\");\n\n request.setPathParam(\"app_id\", appId);\n request.setBody(ApplicationPatchSerializer._toJsonObject(applicationPatch));\n\n return request.send(this.requestCtx, ApplicationOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum AppPortalCapability {\n ViewBase = \"ViewBase\",\n ViewEndpointSecret = \"ViewEndpointSecret\",\n ManageEndpointSecret = \"ManageEndpointSecret\",\n ManageTransformations = \"ManageTransformations\",\n CreateAttempts = \"CreateAttempts\",\n ManageEndpoint = \"ManageEndpoint\",\n}\n\nexport const AppPortalCapabilitySerializer = {\n _fromJsonObject(object: any): AppPortalCapability {\n return object;\n },\n\n _toJsonObject(self: AppPortalCapability): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n AppPortalCapability,\n AppPortalCapabilitySerializer,\n} from \"./appPortalCapability\";\nimport { ApplicationIn, ApplicationInSerializer } from \"./applicationIn\";\n\nexport interface AppPortalAccessIn {\n /**\n * Optionally creates a new application while generating the access link.\n *\n * If the application id or uid that is used in the path already exists, this argument is ignored.\n */\n application?: ApplicationIn | null;\n /**\n * Custom capabilities attached to the token, You can combine as many capabilities as necessary.\n *\n * The `ViewBase` capability is always required\n *\n * - `ViewBase`: Basic read only permissions, does not allow the user to see the endpoint secret.\n *\n * - `ViewEndpointSecret`: Allows user to view the endpoint secret.\n *\n * - `ManageEndpointSecret`: Allows user to rotate and view the endpoint secret.\n *\n * - `ManageTransformations`: Allows user to modify the endpoint transformations.\n *\n * - `CreateAttempts`: Allows user to replay missing messages and send example messages.\n *\n * - `ManageEndpoint`: Allows user to read/modify any field or configuration of an endpoint (including secrets)\n */\n capabilities?: AppPortalCapability[] | null;\n /**\n * How long the token will be valid for, in seconds.\n *\n * Valid values are between 1 hour and 7 days. The default is 7 days.\n */\n expiry?: number | null;\n /** The set of feature flags the created token will have access to. */\n featureFlags?: string[];\n /**\n * Whether the app portal should be in read-only mode.\n *\n * @deprecated\n */\n readOnly?: boolean | null;\n /**\n * An optional session ID to attach to the token.\n *\n * When expiring tokens with \"Expire All\", you can include the session ID to only expire tokens that were created with that session ID.\n */\n sessionId?: string | null;\n}\n\nexport const AppPortalAccessInSerializer = {\n _fromJsonObject(object: any): AppPortalAccessIn {\n return {\n application: object[\"application\"]\n ? ApplicationInSerializer._fromJsonObject(object[\"application\"])\n : undefined,\n capabilities: object[\"capabilities\"]?.map((item: AppPortalCapability) =>\n AppPortalCapabilitySerializer._fromJsonObject(item)\n ),\n expiry: object[\"expiry\"],\n featureFlags: object[\"featureFlags\"],\n readOnly: object[\"readOnly\"],\n sessionId: object[\"sessionId\"],\n };\n },\n\n _toJsonObject(self: AppPortalAccessIn): any {\n return {\n application: self.application\n ? ApplicationInSerializer._toJsonObject(self.application)\n : undefined,\n capabilities: self.capabilities?.map((item) =>\n AppPortalCapabilitySerializer._toJsonObject(item)\n ),\n expiry: self.expiry,\n featureFlags: self.featureFlags,\n readOnly: self.readOnly,\n sessionId: self.sessionId,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface AppPortalAccessOut {\n token: string;\n url: string;\n}\n\nexport const AppPortalAccessOutSerializer = {\n _fromJsonObject(object: any): AppPortalAccessOut {\n return {\n token: object[\"token\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: AppPortalAccessOut): any {\n return {\n token: self.token,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ApplicationTokenExpireIn {\n /** How many seconds until the old key is expired. */\n expiry?: number | null;\n /**\n * An optional list of session ids.\n *\n * If any session ids are specified, only Application tokens created with that session id will be expired.\n */\n sessionIds?: string[];\n}\n\nexport const ApplicationTokenExpireInSerializer = {\n _fromJsonObject(object: any): ApplicationTokenExpireIn {\n return {\n expiry: object[\"expiry\"],\n sessionIds: object[\"sessionIds\"],\n };\n },\n\n _toJsonObject(self: ApplicationTokenExpireIn): any {\n return {\n expiry: self.expiry,\n sessionIds: self.sessionIds,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface DashboardAccessOut {\n token: string;\n url: string;\n}\n\nexport const DashboardAccessOutSerializer = {\n _fromJsonObject(object: any): DashboardAccessOut {\n return {\n token: object[\"token\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: DashboardAccessOut): any {\n return {\n token: self.token,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n\nimport {\n AppPortalAccessIn,\n AppPortalAccessInSerializer,\n} from \"../models/appPortalAccessIn\";\nimport {\n AppPortalAccessOut,\n AppPortalAccessOutSerializer,\n} from \"../models/appPortalAccessOut\";\nimport {\n ApplicationTokenExpireIn,\n ApplicationTokenExpireInSerializer,\n} from \"../models/applicationTokenExpireIn\";\nimport {\n DashboardAccessOut,\n DashboardAccessOutSerializer,\n} from \"../models/dashboardAccessOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface AuthenticationAppPortalAccessOptions {\n idempotencyKey?: string;\n}\n\nexport interface AuthenticationExpireAllOptions {\n idempotencyKey?: string;\n}\n\nexport interface AuthenticationLogoutOptions {\n idempotencyKey?: string;\n}\n\n/** @deprecated */\nexport interface AuthenticationDashboardAccessOptions {\n idempotencyKey?: string;\n}\n\nexport class Authentication {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Use this function to get magic links (and authentication codes) for connecting your users to the Consumer Application Portal. */\n public appPortalAccess(\n appId: string,\n appPortalAccessIn: AppPortalAccessIn,\n options?: AuthenticationAppPortalAccessOptions\n ): Promise<AppPortalAccessOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/auth/app-portal-access/{app_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(AppPortalAccessInSerializer._toJsonObject(appPortalAccessIn));\n\n return request.send(this.requestCtx, AppPortalAccessOutSerializer._fromJsonObject);\n }\n\n /** Expire all of the tokens associated with a specific application. */\n public expireAll(\n appId: string,\n applicationTokenExpireIn: ApplicationTokenExpireIn,\n options?: AuthenticationExpireAllOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/auth/app/{app_id}/expire-all\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n ApplicationTokenExpireInSerializer._toJsonObject(applicationTokenExpireIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** @deprecated Please use `appPortalAccess` instead. */\n public dashboardAccess(\n appId: string,\n options?: AuthenticationDashboardAccessOptions\n ): Promise<DashboardAccessOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/auth/dashboard-access/{app_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, DashboardAccessOutSerializer._fromJsonObject);\n }\n\n /**\n * Logout an app token.\n *\n * Trying to log out other tokens will fail.\n */\n public logout(options?: AuthenticationLogoutOptions): Promise<void> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/auth/logout\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum BackgroundTaskStatus {\n Running = \"running\",\n Finished = \"finished\",\n Failed = \"failed\",\n}\n\nexport const BackgroundTaskStatusSerializer = {\n _fromJsonObject(object: any): BackgroundTaskStatus {\n return object;\n },\n\n _toJsonObject(self: BackgroundTaskStatus): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum BackgroundTaskType {\n EndpointReplay = \"endpoint.replay\",\n EndpointRecover = \"endpoint.recover\",\n ApplicationStats = \"application.stats\",\n MessageBroadcast = \"message.broadcast\",\n SdkGenerate = \"sdk.generate\",\n EventTypeAggregate = \"event-type.aggregate\",\n ApplicationPurgeContent = \"application.purge_content\",\n}\n\nexport const BackgroundTaskTypeSerializer = {\n _fromJsonObject(object: any): BackgroundTaskType {\n return object;\n },\n\n _toJsonObject(self: BackgroundTaskType): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface BackgroundTaskOut {\n data: any;\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const BackgroundTaskOutSerializer = {\n _fromJsonObject(object: any): BackgroundTaskOut {\n return {\n data: object[\"data\"],\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: BackgroundTaskOut): any {\n return {\n data: self.data,\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { BackgroundTaskOut, BackgroundTaskOutSerializer } from \"./backgroundTaskOut\";\n\nexport interface ListResponseBackgroundTaskOut {\n data: BackgroundTaskOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseBackgroundTaskOutSerializer = {\n _fromJsonObject(object: any): ListResponseBackgroundTaskOut {\n return {\n data: object[\"data\"].map((item: BackgroundTaskOut) =>\n BackgroundTaskOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseBackgroundTaskOut): any {\n return {\n data: self.data.map((item) => BackgroundTaskOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n BackgroundTaskOut,\n BackgroundTaskOutSerializer,\n} from \"../models/backgroundTaskOut\";\nimport { BackgroundTaskStatus } from \"../models/backgroundTaskStatus\";\nimport { BackgroundTaskType } from \"../models/backgroundTaskType\";\nimport {\n ListResponseBackgroundTaskOut,\n ListResponseBackgroundTaskOutSerializer,\n} from \"../models/listResponseBackgroundTaskOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface BackgroundTaskListOptions {\n /** Filter the response based on the status. */\n status?: BackgroundTaskStatus;\n /** Filter the response based on the type. */\n task?: BackgroundTaskType;\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport class BackgroundTask {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List background tasks executed in the past 90 days. */\n public list(\n options?: BackgroundTaskListOptions\n ): Promise<ListResponseBackgroundTaskOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/background-task\");\n\n request.setQueryParam(\"status\", options?.status);\n request.setQueryParam(\"task\", options?.task);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseBackgroundTaskOutSerializer._fromJsonObject\n );\n }\n\n /**\n * List background tasks executed in the past 90 days.\n *\n * @deprecated Use list instead.\n * */\n public listByEndpoint(\n options?: BackgroundTaskListOptions\n ): Promise<ListResponseBackgroundTaskOut> {\n return this.list(options);\n }\n\n /** Get a background task by ID. */\n public get(taskId: string): Promise<BackgroundTaskOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/background-task/{task_id}\");\n\n request.setPathParam(\"task_id\", taskId);\n\n return request.send(this.requestCtx, BackgroundTaskOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointHeadersIn {\n headers: { [key: string]: string };\n}\n\nexport const EndpointHeadersInSerializer = {\n _fromJsonObject(object: any): EndpointHeadersIn {\n return {\n headers: object[\"headers\"],\n };\n },\n\n _toJsonObject(self: EndpointHeadersIn): any {\n return {\n headers: self.headers,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\n/**\n * The value of the headers is returned in the `headers` field.\n *\n * Sensitive headers that have been redacted are returned in the sensitive field.\n */\nexport interface EndpointHeadersOut {\n headers: { [key: string]: string };\n sensitive: string[];\n}\n\nexport const EndpointHeadersOutSerializer = {\n _fromJsonObject(object: any): EndpointHeadersOut {\n return {\n headers: object[\"headers\"],\n sensitive: object[\"sensitive\"],\n };\n },\n\n _toJsonObject(self: EndpointHeadersOut): any {\n return {\n headers: self.headers,\n sensitive: self.sensitive,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointHeadersPatchIn {\n /** A list of headers be be removed */\n deleteHeaders?: string[];\n headers: { [key: string]: string };\n}\n\nexport const EndpointHeadersPatchInSerializer = {\n _fromJsonObject(object: any): EndpointHeadersPatchIn {\n return {\n deleteHeaders: object[\"deleteHeaders\"],\n headers: object[\"headers\"],\n };\n },\n\n _toJsonObject(self: EndpointHeadersPatchIn): any {\n return {\n deleteHeaders: self.deleteHeaders,\n headers: self.headers,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointIn {\n /** List of message channels this endpoint listens to (omit for all). */\n channels?: string[] | null;\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n headers?: { [key: string]: string } | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n secret?: string | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n version?: number | null;\n}\n\nexport const EndpointInSerializer = {\n _fromJsonObject(object: any): EndpointIn {\n return {\n channels: object[\"channels\"],\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n headers: object[\"headers\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n secret: object[\"secret\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EndpointIn): any {\n return {\n channels: self.channels,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n headers: self.headers,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n secret: self.secret,\n uid: self.uid,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointOut {\n /** List of message channels this endpoint listens to (omit for all). */\n channels?: string[] | null;\n createdAt: Date;\n /** An example endpoint name. */\n description: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n /** The Endpoint's ID. */\n id: string;\n metadata: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n updatedAt: Date;\n url: string;\n version: number;\n}\n\nexport const EndpointOutSerializer = {\n _fromJsonObject(object: any): EndpointOut {\n return {\n channels: object[\"channels\"],\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n id: object[\"id\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EndpointOut): any {\n return {\n channels: self.channels,\n createdAt: self.createdAt,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n id: self.id,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n updatedAt: self.updatedAt,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointPatch {\n channels?: string[] | null;\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n secret?: string | null;\n /** The Endpoint's UID. */\n uid?: string | null;\n url?: string;\n version?: number;\n}\n\nexport const EndpointPatchSerializer = {\n _fromJsonObject(object: any): EndpointPatch {\n return {\n channels: object[\"channels\"],\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n secret: object[\"secret\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EndpointPatch): any {\n return {\n channels: self.channels,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n secret: self.secret,\n uid: self.uid,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointSecretOut {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key: string;\n}\n\nexport const EndpointSecretOutSerializer = {\n _fromJsonObject(object: any): EndpointSecretOut {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: EndpointSecretOut): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointSecretRotateIn {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key?: string | null;\n}\n\nexport const EndpointSecretRotateInSerializer = {\n _fromJsonObject(object: any): EndpointSecretRotateIn {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: EndpointSecretRotateIn): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointStats {\n fail: number;\n pending: number;\n sending: number;\n success: number;\n}\n\nexport const EndpointStatsSerializer = {\n _fromJsonObject(object: any): EndpointStats {\n return {\n fail: object[\"fail\"],\n pending: object[\"pending\"],\n sending: object[\"sending\"],\n success: object[\"success\"],\n };\n },\n\n _toJsonObject(self: EndpointStats): any {\n return {\n fail: self.fail,\n pending: self.pending,\n sending: self.sending,\n success: self.success,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointTransformationIn {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const EndpointTransformationInSerializer = {\n _fromJsonObject(object: any): EndpointTransformationIn {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: EndpointTransformationIn): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointTransformationOut {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const EndpointTransformationOutSerializer = {\n _fromJsonObject(object: any): EndpointTransformationOut {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: EndpointTransformationOut): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointTransformationPatch {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const EndpointTransformationPatchSerializer = {\n _fromJsonObject(object: any): EndpointTransformationPatch {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: EndpointTransformationPatch): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EndpointUpdate {\n /** List of message channels this endpoint listens to (omit for all). */\n channels?: string[] | null;\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n version?: number | null;\n}\n\nexport const EndpointUpdateSerializer = {\n _fromJsonObject(object: any): EndpointUpdate {\n return {\n channels: object[\"channels\"],\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EndpointUpdate): any {\n return {\n channels: self.channels,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventExampleIn {\n /** The event type's name */\n eventType: string;\n /**\n * If the event type schema contains an array of examples, chooses which one to send.\n *\n * Defaults to the first example. Ignored if the schema doesn't contain an array of examples.\n */\n exampleIndex?: number;\n}\n\nexport const EventExampleInSerializer = {\n _fromJsonObject(object: any): EventExampleIn {\n return {\n eventType: object[\"eventType\"],\n exampleIndex: object[\"exampleIndex\"],\n };\n },\n\n _toJsonObject(self: EventExampleIn): any {\n return {\n eventType: self.eventType,\n exampleIndex: self.exampleIndex,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { EndpointOut, EndpointOutSerializer } from \"./endpointOut\";\n\nexport interface ListResponseEndpointOut {\n data: EndpointOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseEndpointOutSerializer = {\n _fromJsonObject(object: any): ListResponseEndpointOut {\n return {\n data: object[\"data\"].map((item: EndpointOut) =>\n EndpointOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseEndpointOut): any {\n return {\n data: self.data.map((item) => EndpointOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface MessageOut {\n /** List of free-form identifiers that endpoints can filter by */\n channels?: string[] | null;\n /** Optional unique identifier for the message */\n eventId?: string | null;\n /** The event type's name */\n eventType: string;\n /** The Message's ID. */\n id: string;\n payload: any;\n tags?: string[] | null;\n timestamp: Date;\n}\n\nexport const MessageOutSerializer = {\n _fromJsonObject(object: any): MessageOut {\n return {\n channels: object[\"channels\"],\n eventId: object[\"eventId\"],\n eventType: object[\"eventType\"],\n id: object[\"id\"],\n payload: object[\"payload\"],\n tags: object[\"tags\"],\n timestamp: new Date(object[\"timestamp\"]),\n };\n },\n\n _toJsonObject(self: MessageOut): any {\n return {\n channels: self.channels,\n eventId: self.eventId,\n eventType: self.eventType,\n id: self.id,\n payload: self.payload,\n tags: self.tags,\n timestamp: self.timestamp,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface RecoverIn {\n since: Date;\n until?: Date | null;\n}\n\nexport const RecoverInSerializer = {\n _fromJsonObject(object: any): RecoverIn {\n return {\n since: new Date(object[\"since\"]),\n until: object[\"until\"] ? new Date(object[\"until\"]) : null,\n };\n },\n\n _toJsonObject(self: RecoverIn): any {\n return {\n since: self.since,\n until: self.until,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface RecoverOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const RecoverOutSerializer = {\n _fromJsonObject(object: any): RecoverOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: RecoverOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ReplayIn {\n since: Date;\n until?: Date | null;\n}\n\nexport const ReplayInSerializer = {\n _fromJsonObject(object: any): ReplayIn {\n return {\n since: new Date(object[\"since\"]),\n until: object[\"until\"] ? new Date(object[\"until\"]) : null,\n };\n },\n\n _toJsonObject(self: ReplayIn): any {\n return {\n since: self.since,\n until: self.until,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface ReplayOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const ReplayOutSerializer = {\n _fromJsonObject(object: any): ReplayOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: ReplayOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n\nimport {\n EndpointHeadersIn,\n EndpointHeadersInSerializer,\n} from \"../models/endpointHeadersIn\";\nimport {\n EndpointHeadersOut,\n EndpointHeadersOutSerializer,\n} from \"../models/endpointHeadersOut\";\nimport {\n EndpointHeadersPatchIn,\n EndpointHeadersPatchInSerializer,\n} from \"../models/endpointHeadersPatchIn\";\nimport { EndpointIn, EndpointInSerializer } from \"../models/endpointIn\";\nimport { EndpointOut, EndpointOutSerializer } from \"../models/endpointOut\";\nimport { EndpointPatch, EndpointPatchSerializer } from \"../models/endpointPatch\";\nimport {\n EndpointSecretOut,\n EndpointSecretOutSerializer,\n} from \"../models/endpointSecretOut\";\nimport {\n EndpointSecretRotateIn,\n EndpointSecretRotateInSerializer,\n} from \"../models/endpointSecretRotateIn\";\nimport { EndpointStats, EndpointStatsSerializer } from \"../models/endpointStats\";\nimport {\n EndpointTransformationIn,\n EndpointTransformationInSerializer,\n} from \"../models/endpointTransformationIn\";\nimport {\n EndpointTransformationOut,\n EndpointTransformationOutSerializer,\n} from \"../models/endpointTransformationOut\";\nimport {\n EndpointTransformationPatch,\n EndpointTransformationPatchSerializer,\n} from \"../models/endpointTransformationPatch\";\nimport { EndpointUpdate, EndpointUpdateSerializer } from \"../models/endpointUpdate\";\nimport { EventExampleIn, EventExampleInSerializer } from \"../models/eventExampleIn\";\nimport {\n ListResponseEndpointOut,\n ListResponseEndpointOutSerializer,\n} from \"../models/listResponseEndpointOut\";\nimport { MessageOut, MessageOutSerializer } from \"../models/messageOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { RecoverIn, RecoverInSerializer } from \"../models/recoverIn\";\nimport { RecoverOut, RecoverOutSerializer } from \"../models/recoverOut\";\nimport { ReplayIn, ReplayInSerializer } from \"../models/replayIn\";\nimport { ReplayOut, ReplayOutSerializer } from \"../models/replayOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface EndpointListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface EndpointCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointRecoverOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointReplayMissingOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointRotateSecretOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointSendExampleOptions {\n idempotencyKey?: string;\n}\n\nexport interface EndpointGetStatsOptions {\n /** Filter the range to data starting from this date. */\n since?: Date | null;\n /** Filter the range to data ending by this date. */\n until?: Date | null;\n}\n\nexport class Endpoint {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List the application's endpoints. */\n public list(\n appId: string,\n options?: EndpointListOptions\n ): Promise<ListResponseEndpointOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}/endpoint\");\n\n request.setPathParam(\"app_id\", appId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseEndpointOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Create a new endpoint for the application.\n *\n * When `secret` is `null` the secret is automatically generated (recommended).\n */\n public create(\n appId: string,\n endpointIn: EndpointIn,\n options?: EndpointCreateOptions\n ): Promise<EndpointOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app/{app_id}/endpoint\");\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(EndpointInSerializer._toJsonObject(endpointIn));\n\n return request.send(this.requestCtx, EndpointOutSerializer._fromJsonObject);\n }\n\n /** Get an endpoint. */\n public get(appId: string, endpointId: string): Promise<EndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(this.requestCtx, EndpointOutSerializer._fromJsonObject);\n }\n\n /** Update an endpoint. */\n public update(\n appId: string,\n endpointId: string,\n endpointUpdate: EndpointUpdate\n ): Promise<EndpointOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(EndpointUpdateSerializer._toJsonObject(endpointUpdate));\n\n return request.send(this.requestCtx, EndpointOutSerializer._fromJsonObject);\n }\n\n /** Delete an endpoint. */\n public delete(appId: string, endpointId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Partially update an endpoint. */\n public patch(\n appId: string,\n endpointId: string,\n endpointPatch: EndpointPatch\n ): Promise<EndpointOut> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(EndpointPatchSerializer._toJsonObject(endpointPatch));\n\n return request.send(this.requestCtx, EndpointOutSerializer._fromJsonObject);\n }\n\n /** Get the additional headers to be sent with the webhook. */\n public getHeaders(appId: string, endpointId: string): Promise<EndpointHeadersOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(this.requestCtx, EndpointHeadersOutSerializer._fromJsonObject);\n }\n\n /** Set the additional headers to be sent with the webhook. */\n public updateHeaders(\n appId: string,\n endpointId: string,\n endpointHeadersIn: EndpointHeadersIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(EndpointHeadersInSerializer._toJsonObject(endpointHeadersIn));\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n public headersUpdate(\n appId: string,\n endpointId: string,\n endpointHeadersIn: EndpointHeadersIn\n ): Promise<void> {\n return this.updateHeaders(appId, endpointId, endpointHeadersIn);\n }\n\n /** Partially set the additional headers to be sent with the webhook. */\n public patchHeaders(\n appId: string,\n endpointId: string,\n endpointHeadersPatchIn: EndpointHeadersPatchIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n EndpointHeadersPatchInSerializer._toJsonObject(endpointHeadersPatchIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n public headersPatch(\n appId: string,\n endpointId: string,\n endpointHeadersPatchIn: EndpointHeadersPatchIn\n ): Promise<void> {\n return this.patchHeaders(appId, endpointId, endpointHeadersPatchIn);\n }\n\n /**\n * Resend all failed messages since a given time.\n *\n * Messages that were sent successfully, even if failed initially, are not resent.\n */\n public recover(\n appId: string,\n endpointId: string,\n recoverIn: RecoverIn,\n options?: EndpointRecoverOptions\n ): Promise<RecoverOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/recover\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(RecoverInSerializer._toJsonObject(recoverIn));\n\n return request.send(this.requestCtx, RecoverOutSerializer._fromJsonObject);\n }\n\n /**\n * Replays messages to the endpoint.\n *\n * Only messages that were created after `since` will be sent.\n * Messages that were previously sent to the endpoint are not resent.\n */\n public replayMissing(\n appId: string,\n endpointId: string,\n replayIn: ReplayIn,\n options?: EndpointReplayMissingOptions\n ): Promise<ReplayOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/replay-missing\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(ReplayInSerializer._toJsonObject(replayIn));\n\n return request.send(this.requestCtx, ReplayOutSerializer._fromJsonObject);\n }\n\n /**\n * Get the endpoint's signing secret.\n *\n * This is used to verify the authenticity of the webhook.\n * For more information please refer to [the consuming webhooks docs](https://docs.svix.com/consuming-webhooks/).\n */\n public getSecret(appId: string, endpointId: string): Promise<EndpointSecretOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/secret\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(this.requestCtx, EndpointSecretOutSerializer._fromJsonObject);\n }\n\n /**\n * Rotates the endpoint's signing secret.\n *\n * The previous secret will remain valid for the next 24 hours.\n */\n public rotateSecret(\n appId: string,\n endpointId: string,\n endpointSecretRotateIn: EndpointSecretRotateIn,\n options?: EndpointRotateSecretOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/secret/rotate\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n EndpointSecretRotateInSerializer._toJsonObject(endpointSecretRotateIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Send an example message for an event. */\n public sendExample(\n appId: string,\n endpointId: string,\n eventExampleIn: EventExampleIn,\n options?: EndpointSendExampleOptions\n ): Promise<MessageOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/send-example\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(EventExampleInSerializer._toJsonObject(eventExampleIn));\n\n return request.send(this.requestCtx, MessageOutSerializer._fromJsonObject);\n }\n\n /** Get basic statistics for the endpoint. */\n public getStats(\n appId: string,\n endpointId: string,\n options?: EndpointGetStatsOptions\n ): Promise<EndpointStats> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/stats\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setQueryParam(\"since\", options?.since);\n request.setQueryParam(\"until\", options?.until);\n\n return request.send(this.requestCtx, EndpointStatsSerializer._fromJsonObject);\n }\n\n /** Get the transformation code associated with this endpoint. */\n public transformationGet(\n appId: string,\n endpointId: string\n ): Promise<EndpointTransformationOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n EndpointTransformationOutSerializer._fromJsonObject\n );\n }\n\n /** Set or unset the transformation code associated with this endpoint. */\n public patchTransformation(\n appId: string,\n endpointId: string,\n endpointTransformationPatch: EndpointTransformationPatch\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n EndpointTransformationPatchSerializer._toJsonObject(endpointTransformationPatch)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * This operation was renamed to `set-transformation`.\n *\n * @deprecated\n */\n public transformationPartialUpdate(\n appId: string,\n endpointId: string,\n endpointTransformationIn: EndpointTransformationIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n EndpointTransformationInSerializer._toJsonObject(endpointTransformationIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum ConnectorKind {\n Custom = \"Custom\",\n CloseCrm = \"CloseCRM\",\n CustomerIo = \"CustomerIO\",\n Discord = \"Discord\",\n Hubspot = \"Hubspot\",\n Inngest = \"Inngest\",\n Loops = \"Loops\",\n Resend = \"Resend\",\n Salesforce = \"Salesforce\",\n Segment = \"Segment\",\n Sendgrid = \"Sendgrid\",\n Slack = \"Slack\",\n Teams = \"Teams\",\n TriggerDev = \"TriggerDev\",\n Windmill = \"Windmill\",\n Zapier = \"Zapier\",\n}\n\nexport const ConnectorKindSerializer = {\n _fromJsonObject(object: any): ConnectorKind {\n return object;\n },\n\n _toJsonObject(self: ConnectorKind): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ConnectorKind, ConnectorKindSerializer } from \"./connectorKind\";\n\nexport interface ConnectorIn {\n description?: string;\n /**\n * Deprecated - prefer featureFlags instead.\n *\n * @deprecated\n */\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n filterTypes?: string[] | null;\n instructions?: string;\n instructionsLink?: string | null;\n kind?: ConnectorKind;\n logo: string;\n name: string;\n transformation: string;\n}\n\nexport const ConnectorInSerializer = {\n _fromJsonObject(object: any): ConnectorIn {\n return {\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n filterTypes: object[\"filterTypes\"],\n instructions: object[\"instructions\"],\n instructionsLink: object[\"instructionsLink\"],\n kind: object[\"kind\"]\n ? ConnectorKindSerializer._fromJsonObject(object[\"kind\"])\n : undefined,\n logo: object[\"logo\"],\n name: object[\"name\"],\n transformation: object[\"transformation\"],\n };\n },\n\n _toJsonObject(self: ConnectorIn): any {\n return {\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n filterTypes: self.filterTypes,\n instructions: self.instructions,\n instructionsLink: self.instructionsLink,\n kind: self.kind ? ConnectorKindSerializer._toJsonObject(self.kind) : undefined,\n logo: self.logo,\n name: self.name,\n transformation: self.transformation,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypeIn {\n archived?: boolean;\n deprecated?: boolean;\n description: string;\n /**\n * Deprecated - prefer featureFlags instead.\n *\n * @deprecated\n */\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n /** The event type's name */\n name: string;\n /** The schema for the event type for a specific version as a JSON schema. */\n schemas?: any | null;\n}\n\nexport const EventTypeInSerializer = {\n _fromJsonObject(object: any): EventTypeIn {\n return {\n archived: object[\"archived\"],\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n name: object[\"name\"],\n schemas: object[\"schemas\"],\n };\n },\n\n _toJsonObject(self: EventTypeIn): any {\n return {\n archived: self.archived,\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n name: self.name,\n schemas: self.schemas,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ConnectorIn, ConnectorInSerializer } from \"./connectorIn\";\nimport { EventTypeIn, EventTypeInSerializer } from \"./eventTypeIn\";\n\nexport interface EnvironmentIn {\n connectors?: ConnectorIn[] | null;\n eventTypes?: EventTypeIn[] | null;\n settings?: any | null;\n}\n\nexport const EnvironmentInSerializer = {\n _fromJsonObject(object: any): EnvironmentIn {\n return {\n connectors: object[\"connectors\"]?.map((item: ConnectorIn) =>\n ConnectorInSerializer._fromJsonObject(item)\n ),\n eventTypes: object[\"eventTypes\"]?.map((item: EventTypeIn) =>\n EventTypeInSerializer._fromJsonObject(item)\n ),\n settings: object[\"settings\"],\n };\n },\n\n _toJsonObject(self: EnvironmentIn): any {\n return {\n connectors: self.connectors?.map((item) =>\n ConnectorInSerializer._toJsonObject(item)\n ),\n eventTypes: self.eventTypes?.map((item) =>\n EventTypeInSerializer._toJsonObject(item)\n ),\n settings: self.settings,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ConnectorKind, ConnectorKindSerializer } from \"./connectorKind\";\n\nexport interface ConnectorOut {\n createdAt: Date;\n description: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n filterTypes?: string[] | null;\n /** The Connector's ID. */\n id: string;\n instructions: string;\n instructionsLink?: string | null;\n kind: ConnectorKind;\n logo: string;\n name: string;\n /** The Environment's ID. */\n orgId: string;\n transformation: string;\n updatedAt: Date;\n}\n\nexport const ConnectorOutSerializer = {\n _fromJsonObject(object: any): ConnectorOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n filterTypes: object[\"filterTypes\"],\n id: object[\"id\"],\n instructions: object[\"instructions\"],\n instructionsLink: object[\"instructionsLink\"],\n kind: ConnectorKindSerializer._fromJsonObject(object[\"kind\"]),\n logo: object[\"logo\"],\n name: object[\"name\"],\n orgId: object[\"orgId\"],\n transformation: object[\"transformation\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: ConnectorOut): any {\n return {\n createdAt: self.createdAt,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n filterTypes: self.filterTypes,\n id: self.id,\n instructions: self.instructions,\n instructionsLink: self.instructionsLink,\n kind: ConnectorKindSerializer._toJsonObject(self.kind),\n logo: self.logo,\n name: self.name,\n orgId: self.orgId,\n transformation: self.transformation,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypeOut {\n archived?: boolean;\n createdAt: Date;\n deprecated: boolean;\n description: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n /** The event type's name */\n name: string;\n /** The schema for the event type for a specific version as a JSON schema. */\n schemas?: any | null;\n updatedAt: Date;\n}\n\nexport const EventTypeOutSerializer = {\n _fromJsonObject(object: any): EventTypeOut {\n return {\n archived: object[\"archived\"],\n createdAt: new Date(object[\"createdAt\"]),\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n name: object[\"name\"],\n schemas: object[\"schemas\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: EventTypeOut): any {\n return {\n archived: self.archived,\n createdAt: self.createdAt,\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n name: self.name,\n schemas: self.schemas,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ConnectorOut, ConnectorOutSerializer } from \"./connectorOut\";\nimport { EventTypeOut, EventTypeOutSerializer } from \"./eventTypeOut\";\n\nexport interface EnvironmentOut {\n createdAt: Date;\n eventTypes: EventTypeOut[];\n settings: any | null;\n transformationTemplates: ConnectorOut[];\n version?: number;\n}\n\nexport const EnvironmentOutSerializer = {\n _fromJsonObject(object: any): EnvironmentOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n eventTypes: object[\"eventTypes\"].map((item: EventTypeOut) =>\n EventTypeOutSerializer._fromJsonObject(item)\n ),\n settings: object[\"settings\"],\n transformationTemplates: object[\"transformationTemplates\"].map(\n (item: ConnectorOut) => ConnectorOutSerializer._fromJsonObject(item)\n ),\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: EnvironmentOut): any {\n return {\n createdAt: self.createdAt,\n eventTypes: self.eventTypes.map((item) =>\n EventTypeOutSerializer._toJsonObject(item)\n ),\n settings: self.settings,\n transformationTemplates: self.transformationTemplates.map((item) =>\n ConnectorOutSerializer._toJsonObject(item)\n ),\n version: self.version,\n };\n },\n};\n","// this file is @generated\n\nimport { EnvironmentIn, EnvironmentInSerializer } from \"../models/environmentIn\";\nimport { EnvironmentOut, EnvironmentOutSerializer } from \"../models/environmentOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface EnvironmentExportOptions {\n idempotencyKey?: string;\n}\n\nexport interface EnvironmentImportOptions {\n idempotencyKey?: string;\n}\n\nexport class Environment {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Download a JSON file containing all org-settings and event types. */\n public export(options?: EnvironmentExportOptions): Promise<EnvironmentOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/environment/export\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, EnvironmentOutSerializer._fromJsonObject);\n }\n\n /**\n * Import a configuration into the active organization.\n *\n * It doesn't delete anything, only adds / updates what was passed to it.\n */\n public import(\n environmentIn: EnvironmentIn,\n options?: EnvironmentImportOptions\n ): Promise<void> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/environment/import\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(EnvironmentInSerializer._toJsonObject(environmentIn));\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\n/**\n * Import a list of event types from webhooks defined in an OpenAPI spec.\n *\n * The OpenAPI spec can be specified as either `spec` given the spec as a JSON object, or as `specRaw` (a `string`) which will be parsed as YAML or JSON by the server. Sending neither or both is invalid, resulting in a `400` **Bad Request**.\n */\nexport interface EventTypeImportOpenApiIn {\n /** If `true`, return the event types that would be modified without actually modifying them. */\n dryRun?: boolean;\n /** If `true`, all existing event types that are not in the spec will be archived. */\n replaceAll?: boolean;\n /** A pre-parsed JSON spec. */\n spec?: any | null;\n /** A string, parsed by the server as YAML or JSON. */\n specRaw?: string | null;\n}\n\nexport const EventTypeImportOpenApiInSerializer = {\n _fromJsonObject(object: any): EventTypeImportOpenApiIn {\n return {\n dryRun: object[\"dryRun\"],\n replaceAll: object[\"replaceAll\"],\n spec: object[\"spec\"],\n specRaw: object[\"specRaw\"],\n };\n },\n\n _toJsonObject(self: EventTypeImportOpenApiIn): any {\n return {\n dryRun: self.dryRun,\n replaceAll: self.replaceAll,\n spec: self.spec,\n specRaw: self.specRaw,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypeFromOpenApi {\n deprecated: boolean;\n description: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n /** The event type's name */\n name: string;\n schemas?: any | null;\n}\n\nexport const EventTypeFromOpenApiSerializer = {\n _fromJsonObject(object: any): EventTypeFromOpenApi {\n return {\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n name: object[\"name\"],\n schemas: object[\"schemas\"],\n };\n },\n\n _toJsonObject(self: EventTypeFromOpenApi): any {\n return {\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n name: self.name,\n schemas: self.schemas,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n EventTypeFromOpenApi,\n EventTypeFromOpenApiSerializer,\n} from \"./eventTypeFromOpenApi\";\n\nexport interface EventTypeImportOpenApiOutData {\n modified: string[];\n toModify?: EventTypeFromOpenApi[] | null;\n}\n\nexport const EventTypeImportOpenApiOutDataSerializer = {\n _fromJsonObject(object: any): EventTypeImportOpenApiOutData {\n return {\n modified: object[\"modified\"],\n toModify: object[\"to_modify\"]?.map((item: EventTypeFromOpenApi) =>\n EventTypeFromOpenApiSerializer._fromJsonObject(item)\n ),\n };\n },\n\n _toJsonObject(self: EventTypeImportOpenApiOutData): any {\n return {\n modified: self.modified,\n to_modify: self.toModify?.map((item) =>\n EventTypeFromOpenApiSerializer._toJsonObject(item)\n ),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n EventTypeImportOpenApiOutData,\n EventTypeImportOpenApiOutDataSerializer,\n} from \"./eventTypeImportOpenApiOutData\";\n\nexport interface EventTypeImportOpenApiOut {\n data: EventTypeImportOpenApiOutData;\n}\n\nexport const EventTypeImportOpenApiOutSerializer = {\n _fromJsonObject(object: any): EventTypeImportOpenApiOut {\n return {\n data: EventTypeImportOpenApiOutDataSerializer._fromJsonObject(object[\"data\"]),\n };\n },\n\n _toJsonObject(self: EventTypeImportOpenApiOut): any {\n return {\n data: EventTypeImportOpenApiOutDataSerializer._toJsonObject(self.data),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypePatch {\n archived?: boolean;\n deprecated?: boolean;\n description?: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n schemas?: any | null;\n}\n\nexport const EventTypePatchSerializer = {\n _fromJsonObject(object: any): EventTypePatch {\n return {\n archived: object[\"archived\"],\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n schemas: object[\"schemas\"],\n };\n },\n\n _toJsonObject(self: EventTypePatch): any {\n return {\n archived: self.archived,\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n schemas: self.schemas,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EventTypeUpdate {\n archived?: boolean;\n deprecated?: boolean;\n description: string;\n featureFlag?: string | null;\n featureFlags?: string[] | null;\n /** The event type group's name */\n groupName?: string | null;\n /** The schema for the event type for a specific version as a JSON schema. */\n schemas?: any | null;\n}\n\nexport const EventTypeUpdateSerializer = {\n _fromJsonObject(object: any): EventTypeUpdate {\n return {\n archived: object[\"archived\"],\n deprecated: object[\"deprecated\"],\n description: object[\"description\"],\n featureFlag: object[\"featureFlag\"],\n featureFlags: object[\"featureFlags\"],\n groupName: object[\"groupName\"],\n schemas: object[\"schemas\"],\n };\n },\n\n _toJsonObject(self: EventTypeUpdate): any {\n return {\n archived: self.archived,\n deprecated: self.deprecated,\n description: self.description,\n featureFlag: self.featureFlag,\n featureFlags: self.featureFlags,\n groupName: self.groupName,\n schemas: self.schemas,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { EventTypeOut, EventTypeOutSerializer } from \"./eventTypeOut\";\n\nexport interface ListResponseEventTypeOut {\n data: EventTypeOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseEventTypeOutSerializer = {\n _fromJsonObject(object: any): ListResponseEventTypeOut {\n return {\n data: object[\"data\"].map((item: EventTypeOut) =>\n EventTypeOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseEventTypeOut): any {\n return {\n data: self.data.map((item) => EventTypeOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n EventTypeImportOpenApiIn,\n EventTypeImportOpenApiInSerializer,\n} from \"../models/eventTypeImportOpenApiIn\";\nimport {\n EventTypeImportOpenApiOut,\n EventTypeImportOpenApiOutSerializer,\n} from \"../models/eventTypeImportOpenApiOut\";\nimport { EventTypeIn, EventTypeInSerializer } from \"../models/eventTypeIn\";\nimport { EventTypeOut, EventTypeOutSerializer } from \"../models/eventTypeOut\";\nimport { EventTypePatch, EventTypePatchSerializer } from \"../models/eventTypePatch\";\nimport { EventTypeUpdate, EventTypeUpdateSerializer } from \"../models/eventTypeUpdate\";\nimport {\n ListResponseEventTypeOut,\n ListResponseEventTypeOutSerializer,\n} from \"../models/listResponseEventTypeOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface EventTypeListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n /** When `true` archived (deleted but not expunged) items are included in the response. */\n includeArchived?: boolean;\n /** When `true` the full item (including the schema) is included in the response. */\n withContent?: boolean;\n}\n\nexport interface EventTypeCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface EventTypeImportOpenapiOptions {\n idempotencyKey?: string;\n}\n\nexport interface EventTypeDeleteOptions {\n /** By default event types are archived when \"deleted\". Passing this to `true` deletes them entirely. */\n expunge?: boolean;\n}\n\nexport class EventType {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Return the list of event types. */\n public list(options?: EventTypeListOptions): Promise<ListResponseEventTypeOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/event-type\");\n\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n request.setQueryParam(\"include_archived\", options?.includeArchived);\n request.setQueryParam(\"with_content\", options?.withContent);\n\n return request.send(\n this.requestCtx,\n ListResponseEventTypeOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Create new or unarchive existing event type.\n *\n * Unarchiving an event type will allow endpoints to filter on it and messages to be sent with it.\n * Endpoints filtering on the event type before archival will continue to filter on it.\n * This operation does not preserve the description and schemas.\n */\n public create(\n eventTypeIn: EventTypeIn,\n options?: EventTypeCreateOptions\n ): Promise<EventTypeOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/event-type\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(EventTypeInSerializer._toJsonObject(eventTypeIn));\n\n return request.send(this.requestCtx, EventTypeOutSerializer._fromJsonObject);\n }\n\n /**\n * Given an OpenAPI spec, create new or update existing event types.\n * If an existing `archived` event type is updated, it will be unarchived.\n *\n * The importer will convert all webhooks found in the either the `webhooks` or `x-webhooks`\n * top-level.\n */\n public importOpenapi(\n eventTypeImportOpenApiIn: EventTypeImportOpenApiIn,\n options?: EventTypeImportOpenapiOptions\n ): Promise<EventTypeImportOpenApiOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/event-type/import/openapi\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n EventTypeImportOpenApiInSerializer._toJsonObject(eventTypeImportOpenApiIn)\n );\n\n return request.send(\n this.requestCtx,\n EventTypeImportOpenApiOutSerializer._fromJsonObject\n );\n }\n\n /** Get an event type. */\n public get(eventTypeName: string): Promise<EventTypeOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/event-type/{event_type_name}\"\n );\n\n request.setPathParam(\"event_type_name\", eventTypeName);\n\n return request.send(this.requestCtx, EventTypeOutSerializer._fromJsonObject);\n }\n\n /** Update an event type. */\n public update(\n eventTypeName: string,\n eventTypeUpdate: EventTypeUpdate\n ): Promise<EventTypeOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/event-type/{event_type_name}\"\n );\n\n request.setPathParam(\"event_type_name\", eventTypeName);\n request.setBody(EventTypeUpdateSerializer._toJsonObject(eventTypeUpdate));\n\n return request.send(this.requestCtx, EventTypeOutSerializer._fromJsonObject);\n }\n\n /**\n * Archive an event type.\n *\n * Endpoints already configured to filter on an event type will continue to do so after archival.\n * However, new messages can not be sent with it and endpoints can not filter on it.\n * An event type can be unarchived with the\n * [create operation](#operation/create_event_type_api_v1_event_type__post).\n */\n public delete(eventTypeName: string, options?: EventTypeDeleteOptions): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/event-type/{event_type_name}\"\n );\n\n request.setPathParam(\"event_type_name\", eventTypeName);\n request.setQueryParam(\"expunge\", options?.expunge);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Partially update an event type. */\n public patch(\n eventTypeName: string,\n eventTypePatch: EventTypePatch\n ): Promise<EventTypeOut> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/api/v1/event-type/{event_type_name}\"\n );\n\n request.setPathParam(\"event_type_name\", eventTypeName);\n request.setBody(EventTypePatchSerializer._toJsonObject(eventTypePatch));\n\n return request.send(this.requestCtx, EventTypeOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport class Health {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Verify the API server is up and running. */\n public get(): Promise<void> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/health\");\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestSourceConsumerPortalAccessIn {\n /**\n * How long the token will be valid for, in seconds.\n *\n * Valid values are between 1 hour and 7 days. The default is 7 days.\n */\n expiry?: number | null;\n /** Whether the app portal should be in read-only mode. */\n readOnly?: boolean | null;\n}\n\nexport const IngestSourceConsumerPortalAccessInSerializer = {\n _fromJsonObject(object: any): IngestSourceConsumerPortalAccessIn {\n return {\n expiry: object[\"expiry\"],\n readOnly: object[\"readOnly\"],\n };\n },\n\n _toJsonObject(self: IngestSourceConsumerPortalAccessIn): any {\n return {\n expiry: self.expiry,\n readOnly: self.readOnly,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointHeadersIn {\n headers: { [key: string]: string };\n}\n\nexport const IngestEndpointHeadersInSerializer = {\n _fromJsonObject(object: any): IngestEndpointHeadersIn {\n return {\n headers: object[\"headers\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointHeadersIn): any {\n return {\n headers: self.headers,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointHeadersOut {\n headers: { [key: string]: string };\n sensitive: string[];\n}\n\nexport const IngestEndpointHeadersOutSerializer = {\n _fromJsonObject(object: any): IngestEndpointHeadersOut {\n return {\n headers: object[\"headers\"],\n sensitive: object[\"sensitive\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointHeadersOut): any {\n return {\n headers: self.headers,\n sensitive: self.sensitive,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointIn {\n description?: string;\n disabled?: boolean;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n secret?: string | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n}\n\nexport const IngestEndpointInSerializer = {\n _fromJsonObject(object: any): IngestEndpointIn {\n return {\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n secret: object[\"secret\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointIn): any {\n return {\n description: self.description,\n disabled: self.disabled,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n secret: self.secret,\n uid: self.uid,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointOut {\n createdAt: Date;\n /** An example endpoint name. */\n description: string;\n disabled?: boolean;\n /** The Endpoint's ID. */\n id: string;\n metadata: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n updatedAt: Date;\n url: string;\n}\n\nexport const IngestEndpointOutSerializer = {\n _fromJsonObject(object: any): IngestEndpointOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n id: object[\"id\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointOut): any {\n return {\n createdAt: self.createdAt,\n description: self.description,\n disabled: self.disabled,\n id: self.id,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n updatedAt: self.updatedAt,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointSecretIn {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key?: string | null;\n}\n\nexport const IngestEndpointSecretInSerializer = {\n _fromJsonObject(object: any): IngestEndpointSecretIn {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointSecretIn): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointSecretOut {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key: string;\n}\n\nexport const IngestEndpointSecretOutSerializer = {\n _fromJsonObject(object: any): IngestEndpointSecretOut {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointSecretOut): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointTransformationOut {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const IngestEndpointTransformationOutSerializer = {\n _fromJsonObject(object: any): IngestEndpointTransformationOut {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointTransformationOut): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointTransformationPatch {\n code?: string | null;\n enabled?: boolean;\n}\n\nexport const IngestEndpointTransformationPatchSerializer = {\n _fromJsonObject(object: any): IngestEndpointTransformationPatch {\n return {\n code: object[\"code\"],\n enabled: object[\"enabled\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointTransformationPatch): any {\n return {\n code: self.code,\n enabled: self.enabled,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IngestEndpointUpdate {\n description?: string;\n disabled?: boolean;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n}\n\nexport const IngestEndpointUpdateSerializer = {\n _fromJsonObject(object: any): IngestEndpointUpdate {\n return {\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: IngestEndpointUpdate): any {\n return {\n description: self.description,\n disabled: self.disabled,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { IngestEndpointOut, IngestEndpointOutSerializer } from \"./ingestEndpointOut\";\n\nexport interface ListResponseIngestEndpointOut {\n data: IngestEndpointOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseIngestEndpointOutSerializer = {\n _fromJsonObject(object: any): ListResponseIngestEndpointOut {\n return {\n data: object[\"data\"].map((item: IngestEndpointOut) =>\n IngestEndpointOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseIngestEndpointOut): any {\n return {\n data: self.data.map((item) => IngestEndpointOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n IngestEndpointHeadersIn,\n IngestEndpointHeadersInSerializer,\n} from \"../models/ingestEndpointHeadersIn\";\nimport {\n IngestEndpointHeadersOut,\n IngestEndpointHeadersOutSerializer,\n} from \"../models/ingestEndpointHeadersOut\";\nimport { IngestEndpointIn, IngestEndpointInSerializer } from \"../models/ingestEndpointIn\";\nimport {\n IngestEndpointOut,\n IngestEndpointOutSerializer,\n} from \"../models/ingestEndpointOut\";\nimport {\n IngestEndpointSecretIn,\n IngestEndpointSecretInSerializer,\n} from \"../models/ingestEndpointSecretIn\";\nimport {\n IngestEndpointSecretOut,\n IngestEndpointSecretOutSerializer,\n} from \"../models/ingestEndpointSecretOut\";\nimport {\n IngestEndpointTransformationOut,\n IngestEndpointTransformationOutSerializer,\n} from \"../models/ingestEndpointTransformationOut\";\nimport {\n IngestEndpointTransformationPatch,\n IngestEndpointTransformationPatchSerializer,\n} from \"../models/ingestEndpointTransformationPatch\";\nimport {\n IngestEndpointUpdate,\n IngestEndpointUpdateSerializer,\n} from \"../models/ingestEndpointUpdate\";\nimport {\n ListResponseIngestEndpointOut,\n ListResponseIngestEndpointOutSerializer,\n} from \"../models/listResponseIngestEndpointOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface IngestEndpointListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface IngestEndpointCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface IngestEndpointRotateSecretOptions {\n idempotencyKey?: string;\n}\n\nexport class IngestEndpoint {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List ingest endpoints. */\n public list(\n sourceId: string,\n options?: IngestEndpointListOptions\n ): Promise<ListResponseIngestEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseIngestEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Create an ingest endpoint. */\n public create(\n sourceId: string,\n ingestEndpointIn: IngestEndpointIn,\n options?: IngestEndpointCreateOptions\n ): Promise<IngestEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/ingest/api/v1/source/{source_id}/endpoint\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(IngestEndpointInSerializer._toJsonObject(ingestEndpointIn));\n\n return request.send(this.requestCtx, IngestEndpointOutSerializer._fromJsonObject);\n }\n\n /** Get an ingest endpoint. */\n public get(sourceId: string, endpointId: string): Promise<IngestEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(this.requestCtx, IngestEndpointOutSerializer._fromJsonObject);\n }\n\n /** Update an ingest endpoint. */\n public update(\n sourceId: string,\n endpointId: string,\n ingestEndpointUpdate: IngestEndpointUpdate\n ): Promise<IngestEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(IngestEndpointUpdateSerializer._toJsonObject(ingestEndpointUpdate));\n\n return request.send(this.requestCtx, IngestEndpointOutSerializer._fromJsonObject);\n }\n\n /** Delete an ingest endpoint. */\n public delete(sourceId: string, endpointId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Get the additional headers to be sent with the ingest. */\n public getHeaders(\n sourceId: string,\n endpointId: string\n ): Promise<IngestEndpointHeadersOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n IngestEndpointHeadersOutSerializer._fromJsonObject\n );\n }\n\n /** Set the additional headers to be sent to the endpoint. */\n public updateHeaders(\n sourceId: string,\n endpointId: string,\n ingestEndpointHeadersIn: IngestEndpointHeadersIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n IngestEndpointHeadersInSerializer._toJsonObject(ingestEndpointHeadersIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * Get an ingest endpoint's signing secret.\n *\n * This is used to verify the authenticity of the webhook.\n * For more information please refer to [the consuming webhooks docs](https://docs.svix.com/consuming-webhooks/).\n */\n public getSecret(\n sourceId: string,\n endpointId: string\n ): Promise<IngestEndpointSecretOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/secret\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n IngestEndpointSecretOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Rotates an ingest endpoint's signing secret.\n *\n * The previous secret will remain valid for the next 24 hours.\n */\n public rotateSecret(\n sourceId: string,\n endpointId: string,\n ingestEndpointSecretIn: IngestEndpointSecretIn,\n options?: IngestEndpointRotateSecretOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/secret/rotate\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n IngestEndpointSecretInSerializer._toJsonObject(ingestEndpointSecretIn)\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Get the transformation code associated with this ingest endpoint. */\n public getTransformation(\n sourceId: string,\n endpointId: string\n ): Promise<IngestEndpointTransformationOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n IngestEndpointTransformationOutSerializer._fromJsonObject\n );\n }\n\n /** Set or unset the transformation code associated with this ingest endpoint. */\n public setTransformation(\n sourceId: string,\n endpointId: string,\n ingestEndpointTransformationPatch: IngestEndpointTransformationPatch\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PATCH,\n \"/ingest/api/v1/source/{source_id}/endpoint/{endpoint_id}/transformation\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n IngestEndpointTransformationPatchSerializer._toJsonObject(\n ingestEndpointTransformationPatch\n )\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface AdobeSignConfig {\n clientId: string;\n}\n\nexport const AdobeSignConfigSerializer = {\n _fromJsonObject(object: any): AdobeSignConfig {\n return {\n clientId: object[\"clientId\"],\n };\n },\n\n _toJsonObject(self: AdobeSignConfig): any {\n return {\n clientId: self.clientId,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface AirwallexConfig {\n secret: string;\n}\n\nexport const AirwallexConfigSerializer = {\n _fromJsonObject(object: any): AirwallexConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: AirwallexConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface CheckbookConfig {\n secret: string;\n}\n\nexport const CheckbookConfigSerializer = {\n _fromJsonObject(object: any): CheckbookConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: CheckbookConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface CronConfig {\n /**\n * Override the default content-type.\n *\n * Recommended if the payload is not JSON.\n */\n contentType?: string | null;\n payload: string;\n schedule: string;\n}\n\nexport const CronConfigSerializer = {\n _fromJsonObject(object: any): CronConfig {\n return {\n contentType: object[\"contentType\"],\n payload: object[\"payload\"],\n schedule: object[\"schedule\"],\n };\n },\n\n _toJsonObject(self: CronConfig): any {\n return {\n contentType: self.contentType,\n payload: self.payload,\n schedule: self.schedule,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface DocusignConfig {\n secret?: string | null;\n}\n\nexport const DocusignConfigSerializer = {\n _fromJsonObject(object: any): DocusignConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: DocusignConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface EasypostConfig {\n secret?: string | null;\n}\n\nexport const EasypostConfigSerializer = {\n _fromJsonObject(object: any): EasypostConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: EasypostConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface GithubConfig {\n secret?: string | null;\n}\n\nexport const GithubConfigSerializer = {\n _fromJsonObject(object: any): GithubConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: GithubConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface HubspotConfig {\n secret?: string | null;\n}\n\nexport const HubspotConfigSerializer = {\n _fromJsonObject(object: any): HubspotConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: HubspotConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OrumIoConfig {\n publicKey: string;\n}\n\nexport const OrumIoConfigSerializer = {\n _fromJsonObject(object: any): OrumIoConfig {\n return {\n publicKey: object[\"publicKey\"],\n };\n },\n\n _toJsonObject(self: OrumIoConfig): any {\n return {\n publicKey: self.publicKey,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface PandaDocConfig {\n secret: string;\n}\n\nexport const PandaDocConfigSerializer = {\n _fromJsonObject(object: any): PandaDocConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: PandaDocConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface PortIoConfig {\n secret: string;\n}\n\nexport const PortIoConfigSerializer = {\n _fromJsonObject(object: any): PortIoConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: PortIoConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface RutterConfig {\n secret: string;\n}\n\nexport const RutterConfigSerializer = {\n _fromJsonObject(object: any): RutterConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: RutterConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface SegmentConfig {\n secret?: string | null;\n}\n\nexport const SegmentConfigSerializer = {\n _fromJsonObject(object: any): SegmentConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: SegmentConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ShopifyConfig {\n secret: string;\n}\n\nexport const ShopifyConfigSerializer = {\n _fromJsonObject(object: any): ShopifyConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: ShopifyConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface SlackConfig {\n secret: string;\n}\n\nexport const SlackConfigSerializer = {\n _fromJsonObject(object: any): SlackConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: SlackConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface StripeConfig {\n secret: string;\n}\n\nexport const StripeConfigSerializer = {\n _fromJsonObject(object: any): StripeConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: StripeConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface SvixConfig {\n secret: string;\n}\n\nexport const SvixConfigSerializer = {\n _fromJsonObject(object: any): SvixConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: SvixConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface TelnyxConfig {\n publicKey: string;\n}\n\nexport const TelnyxConfigSerializer = {\n _fromJsonObject(object: any): TelnyxConfig {\n return {\n publicKey: object[\"publicKey\"],\n };\n },\n\n _toJsonObject(self: TelnyxConfig): any {\n return {\n publicKey: self.publicKey,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface VapiConfig {\n secret: string;\n}\n\nexport const VapiConfigSerializer = {\n _fromJsonObject(object: any): VapiConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: VapiConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface VeriffConfig {\n secret: string;\n}\n\nexport const VeriffConfigSerializer = {\n _fromJsonObject(object: any): VeriffConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: VeriffConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface ZoomConfig {\n secret: string;\n}\n\nexport const ZoomConfigSerializer = {\n _fromJsonObject(object: any): ZoomConfig {\n return {\n secret: object[\"secret\"],\n };\n },\n\n _toJsonObject(self: ZoomConfig): any {\n return {\n secret: self.secret,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { AdobeSignConfig, AdobeSignConfigSerializer } from \"./adobeSignConfig\";\nimport { AirwallexConfig, AirwallexConfigSerializer } from \"./airwallexConfig\";\nimport { CheckbookConfig, CheckbookConfigSerializer } from \"./checkbookConfig\";\nimport { CronConfig, CronConfigSerializer } from \"./cronConfig\";\nimport { DocusignConfig, DocusignConfigSerializer } from \"./docusignConfig\";\nimport { EasypostConfig, EasypostConfigSerializer } from \"./easypostConfig\";\nimport { GithubConfig, GithubConfigSerializer } from \"./githubConfig\";\nimport { HubspotConfig, HubspotConfigSerializer } from \"./hubspotConfig\";\nimport { OrumIoConfig, OrumIoConfigSerializer } from \"./orumIoConfig\";\nimport { PandaDocConfig, PandaDocConfigSerializer } from \"./pandaDocConfig\";\nimport { PortIoConfig, PortIoConfigSerializer } from \"./portIoConfig\";\nimport { RutterConfig, RutterConfigSerializer } from \"./rutterConfig\";\nimport { SegmentConfig, SegmentConfigSerializer } from \"./segmentConfig\";\nimport { ShopifyConfig, ShopifyConfigSerializer } from \"./shopifyConfig\";\nimport { SlackConfig, SlackConfigSerializer } from \"./slackConfig\";\nimport { StripeConfig, StripeConfigSerializer } from \"./stripeConfig\";\nimport { SvixConfig, SvixConfigSerializer } from \"./svixConfig\";\nimport { TelnyxConfig, TelnyxConfigSerializer } from \"./telnyxConfig\";\nimport { VapiConfig, VapiConfigSerializer } from \"./vapiConfig\";\nimport { VeriffConfig, VeriffConfigSerializer } from \"./veriffConfig\";\nimport { ZoomConfig, ZoomConfigSerializer } from \"./zoomConfig\";\ninterface _IngestSourceInFields {\n metadata?: { [key: string]: string };\n name: string;\n /** The Source's UID. */\n uid?: string | null;\n}\n\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\ninterface IngestSourceInGenericWebhookConfig {}\n\ninterface IngestSourceInGenericWebhook {\n type: \"generic-webhook\";\n config?: IngestSourceInGenericWebhookConfig;\n}\n\ninterface IngestSourceInCron {\n type: \"cron\";\n config: CronConfig;\n}\n\ninterface IngestSourceInAdobeSign {\n type: \"adobe-sign\";\n config: AdobeSignConfig;\n}\n\ninterface IngestSourceInBeehiiv {\n type: \"beehiiv\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInBrex {\n type: \"brex\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInCheckbook {\n type: \"checkbook\";\n config: CheckbookConfig;\n}\n\ninterface IngestSourceInClerk {\n type: \"clerk\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInDocusign {\n type: \"docusign\";\n config: DocusignConfig;\n}\n\ninterface IngestSourceInEasypost {\n type: \"easypost\";\n config: EasypostConfig;\n}\n\ninterface IngestSourceInGithub {\n type: \"github\";\n config: GithubConfig;\n}\n\ninterface IngestSourceInGuesty {\n type: \"guesty\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInHubspot {\n type: \"hubspot\";\n config: HubspotConfig;\n}\n\ninterface IngestSourceInIncidentIo {\n type: \"incident-io\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInLithic {\n type: \"lithic\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInNash {\n type: \"nash\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInOrumIo {\n type: \"orum-io\";\n config: OrumIoConfig;\n}\n\ninterface IngestSourceInPandaDoc {\n type: \"panda-doc\";\n config: PandaDocConfig;\n}\n\ninterface IngestSourceInPortIo {\n type: \"port-io\";\n config: PortIoConfig;\n}\n\ninterface IngestSourceInPleo {\n type: \"pleo\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInReplicate {\n type: \"replicate\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInResend {\n type: \"resend\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInRutter {\n type: \"rutter\";\n config: RutterConfig;\n}\n\ninterface IngestSourceInSafebase {\n type: \"safebase\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInSardine {\n type: \"sardine\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInSegment {\n type: \"segment\";\n config: SegmentConfig;\n}\n\ninterface IngestSourceInShopify {\n type: \"shopify\";\n config: ShopifyConfig;\n}\n\ninterface IngestSourceInSlack {\n type: \"slack\";\n config: SlackConfig;\n}\n\ninterface IngestSourceInStripe {\n type: \"stripe\";\n config: StripeConfig;\n}\n\ninterface IngestSourceInStych {\n type: \"stych\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInSvix {\n type: \"svix\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInZoom {\n type: \"zoom\";\n config: ZoomConfig;\n}\n\ninterface IngestSourceInTelnyx {\n type: \"telnyx\";\n config: TelnyxConfig;\n}\n\ninterface IngestSourceInVapi {\n type: \"vapi\";\n config: VapiConfig;\n}\n\ninterface IngestSourceInOpenAi {\n type: \"open-ai\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInRender {\n type: \"render\";\n config: SvixConfig;\n}\n\ninterface IngestSourceInVeriff {\n type: \"veriff\";\n config: VeriffConfig;\n}\n\ninterface IngestSourceInAirwallex {\n type: \"airwallex\";\n config: AirwallexConfig;\n}\n\nexport type IngestSourceIn = _IngestSourceInFields &\n (\n | IngestSourceInGenericWebhook\n | IngestSourceInCron\n | IngestSourceInAdobeSign\n | IngestSourceInBeehiiv\n | IngestSourceInBrex\n | IngestSourceInCheckbook\n | IngestSourceInClerk\n | IngestSourceInDocusign\n | IngestSourceInEasypost\n | IngestSourceInGithub\n | IngestSourceInGuesty\n | IngestSourceInHubspot\n | IngestSourceInIncidentIo\n | IngestSourceInLithic\n | IngestSourceInNash\n | IngestSourceInOrumIo\n | IngestSourceInPandaDoc\n | IngestSourceInPortIo\n | IngestSourceInPleo\n | IngestSourceInReplicate\n | IngestSourceInResend\n | IngestSourceInRutter\n | IngestSourceInSafebase\n | IngestSourceInSardine\n | IngestSourceInSegment\n | IngestSourceInShopify\n | IngestSourceInSlack\n | IngestSourceInStripe\n | IngestSourceInStych\n | IngestSourceInSvix\n | IngestSourceInZoom\n | IngestSourceInTelnyx\n | IngestSourceInVapi\n | IngestSourceInOpenAi\n | IngestSourceInRender\n | IngestSourceInVeriff\n | IngestSourceInAirwallex\n );\n\nexport const IngestSourceInSerializer = {\n _fromJsonObject(object: any): IngestSourceIn {\n const type = object[\"type\"];\n\n function getConfig(type: string): any {\n switch (type) {\n case \"generic-webhook\":\n return {};\n case \"cron\":\n return CronConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"adobe-sign\":\n return AdobeSignConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"beehiiv\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"brex\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"checkbook\":\n return CheckbookConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"clerk\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"docusign\":\n return DocusignConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"easypost\":\n return EasypostConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"github\":\n return GithubConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"guesty\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"hubspot\":\n return HubspotConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"incident-io\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"lithic\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"nash\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"orum-io\":\n return OrumIoConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"panda-doc\":\n return PandaDocConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"port-io\":\n return PortIoConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"pleo\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"replicate\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"resend\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"rutter\":\n return RutterConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"safebase\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"sardine\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"segment\":\n return SegmentConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"shopify\":\n return ShopifyConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"slack\":\n return SlackConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"stripe\":\n return StripeConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"stych\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"svix\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"zoom\":\n return ZoomConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"telnyx\":\n return TelnyxConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"vapi\":\n return VapiConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"open-ai\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"render\":\n return SvixConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"veriff\":\n return VeriffConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"airwallex\":\n return AirwallexConfigSerializer._fromJsonObject(object[\"config\"]);\n default:\n throw new Error(`Unexpected type: ${type}`);\n }\n }\n return {\n type,\n config: getConfig(type),\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n uid: object[\"uid\"],\n };\n },\n\n _toJsonObject(self: IngestSourceIn): any {\n let config;\n switch (self.type) {\n case \"generic-webhook\":\n config = {};\n break;\n case \"cron\":\n config = CronConfigSerializer._toJsonObject(self.config);\n break;\n case \"adobe-sign\":\n config = AdobeSignConfigSerializer._toJsonObject(self.config);\n break;\n case \"beehiiv\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"brex\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"checkbook\":\n config = CheckbookConfigSerializer._toJsonObject(self.config);\n break;\n case \"clerk\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"docusign\":\n config = DocusignConfigSerializer._toJsonObject(self.config);\n break;\n case \"easypost\":\n config = EasypostConfigSerializer._toJsonObject(self.config);\n break;\n case \"github\":\n config = GithubConfigSerializer._toJsonObject(self.config);\n break;\n case \"guesty\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"hubspot\":\n config = HubspotConfigSerializer._toJsonObject(self.config);\n break;\n case \"incident-io\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"lithic\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"nash\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"orum-io\":\n config = OrumIoConfigSerializer._toJsonObject(self.config);\n break;\n case \"panda-doc\":\n config = PandaDocConfigSerializer._toJsonObject(self.config);\n break;\n case \"port-io\":\n config = PortIoConfigSerializer._toJsonObject(self.config);\n break;\n case \"pleo\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"replicate\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"resend\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"rutter\":\n config = RutterConfigSerializer._toJsonObject(self.config);\n break;\n case \"safebase\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"sardine\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"segment\":\n config = SegmentConfigSerializer._toJsonObject(self.config);\n break;\n case \"shopify\":\n config = ShopifyConfigSerializer._toJsonObject(self.config);\n break;\n case \"slack\":\n config = SlackConfigSerializer._toJsonObject(self.config);\n break;\n case \"stripe\":\n config = StripeConfigSerializer._toJsonObject(self.config);\n break;\n case \"stych\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"svix\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"zoom\":\n config = ZoomConfigSerializer._toJsonObject(self.config);\n break;\n case \"telnyx\":\n config = TelnyxConfigSerializer._toJsonObject(self.config);\n break;\n case \"vapi\":\n config = VapiConfigSerializer._toJsonObject(self.config);\n break;\n case \"open-ai\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"render\":\n config = SvixConfigSerializer._toJsonObject(self.config);\n break;\n case \"veriff\":\n config = VeriffConfigSerializer._toJsonObject(self.config);\n break;\n case \"airwallex\":\n config = AirwallexConfigSerializer._toJsonObject(self.config);\n break;\n }\n\n return {\n type: self.type,\n config: config,\n metadata: self.metadata,\n name: self.name,\n uid: self.uid,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface AdobeSignConfigOut {}\n\nexport const AdobeSignConfigOutSerializer = {\n _fromJsonObject(object: any): AdobeSignConfigOut {\n return {};\n },\n\n _toJsonObject(self: AdobeSignConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface AirwallexConfigOut {}\n\nexport const AirwallexConfigOutSerializer = {\n _fromJsonObject(object: any): AirwallexConfigOut {\n return {};\n },\n\n _toJsonObject(self: AirwallexConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface CheckbookConfigOut {}\n\nexport const CheckbookConfigOutSerializer = {\n _fromJsonObject(object: any): CheckbookConfigOut {\n return {};\n },\n\n _toJsonObject(self: CheckbookConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface DocusignConfigOut {}\n\nexport const DocusignConfigOutSerializer = {\n _fromJsonObject(object: any): DocusignConfigOut {\n return {};\n },\n\n _toJsonObject(self: DocusignConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface EasypostConfigOut {}\n\nexport const EasypostConfigOutSerializer = {\n _fromJsonObject(object: any): EasypostConfigOut {\n return {};\n },\n\n _toJsonObject(self: EasypostConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface GithubConfigOut {}\n\nexport const GithubConfigOutSerializer = {\n _fromJsonObject(object: any): GithubConfigOut {\n return {};\n },\n\n _toJsonObject(self: GithubConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface HubspotConfigOut {}\n\nexport const HubspotConfigOutSerializer = {\n _fromJsonObject(object: any): HubspotConfigOut {\n return {};\n },\n\n _toJsonObject(self: HubspotConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OrumIoConfigOut {\n publicKey: string;\n}\n\nexport const OrumIoConfigOutSerializer = {\n _fromJsonObject(object: any): OrumIoConfigOut {\n return {\n publicKey: object[\"publicKey\"],\n };\n },\n\n _toJsonObject(self: OrumIoConfigOut): any {\n return {\n publicKey: self.publicKey,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface PandaDocConfigOut {}\n\nexport const PandaDocConfigOutSerializer = {\n _fromJsonObject(object: any): PandaDocConfigOut {\n return {};\n },\n\n _toJsonObject(self: PandaDocConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface PortIoConfigOut {}\n\nexport const PortIoConfigOutSerializer = {\n _fromJsonObject(object: any): PortIoConfigOut {\n return {};\n },\n\n _toJsonObject(self: PortIoConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface RutterConfigOut {}\n\nexport const RutterConfigOutSerializer = {\n _fromJsonObject(object: any): RutterConfigOut {\n return {};\n },\n\n _toJsonObject(self: RutterConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface SegmentConfigOut {}\n\nexport const SegmentConfigOutSerializer = {\n _fromJsonObject(object: any): SegmentConfigOut {\n return {};\n },\n\n _toJsonObject(self: SegmentConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface ShopifyConfigOut {}\n\nexport const ShopifyConfigOutSerializer = {\n _fromJsonObject(object: any): ShopifyConfigOut {\n return {};\n },\n\n _toJsonObject(self: ShopifyConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface SlackConfigOut {}\n\nexport const SlackConfigOutSerializer = {\n _fromJsonObject(object: any): SlackConfigOut {\n return {};\n },\n\n _toJsonObject(self: SlackConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface StripeConfigOut {}\n\nexport const StripeConfigOutSerializer = {\n _fromJsonObject(object: any): StripeConfigOut {\n return {};\n },\n\n _toJsonObject(self: StripeConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface SvixConfigOut {}\n\nexport const SvixConfigOutSerializer = {\n _fromJsonObject(object: any): SvixConfigOut {\n return {};\n },\n\n _toJsonObject(self: SvixConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface TelnyxConfigOut {\n publicKey: string;\n}\n\nexport const TelnyxConfigOutSerializer = {\n _fromJsonObject(object: any): TelnyxConfigOut {\n return {\n publicKey: object[\"publicKey\"],\n };\n },\n\n _toJsonObject(self: TelnyxConfigOut): any {\n return {\n publicKey: self.publicKey,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface VapiConfigOut {}\n\nexport const VapiConfigOutSerializer = {\n _fromJsonObject(object: any): VapiConfigOut {\n return {};\n },\n\n _toJsonObject(self: VapiConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface VeriffConfigOut {}\n\nexport const VeriffConfigOutSerializer = {\n _fromJsonObject(object: any): VeriffConfigOut {\n return {};\n },\n\n _toJsonObject(self: VeriffConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\n/* eslint @typescript-eslint/no-unused-vars: 0 */\n\nexport interface ZoomConfigOut {}\n\nexport const ZoomConfigOutSerializer = {\n _fromJsonObject(object: any): ZoomConfigOut {\n return {};\n },\n\n _toJsonObject(self: ZoomConfigOut): any {\n return {};\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { AdobeSignConfigOut, AdobeSignConfigOutSerializer } from \"./adobeSignConfigOut\";\nimport { AirwallexConfigOut, AirwallexConfigOutSerializer } from \"./airwallexConfigOut\";\nimport { CheckbookConfigOut, CheckbookConfigOutSerializer } from \"./checkbookConfigOut\";\nimport { CronConfig, CronConfigSerializer } from \"./cronConfig\";\nimport { DocusignConfigOut, DocusignConfigOutSerializer } from \"./docusignConfigOut\";\nimport { EasypostConfigOut, EasypostConfigOutSerializer } from \"./easypostConfigOut\";\nimport { GithubConfigOut, GithubConfigOutSerializer } from \"./githubConfigOut\";\nimport { HubspotConfigOut, HubspotConfigOutSerializer } from \"./hubspotConfigOut\";\nimport { OrumIoConfigOut, OrumIoConfigOutSerializer } from \"./orumIoConfigOut\";\nimport { PandaDocConfigOut, PandaDocConfigOutSerializer } from \"./pandaDocConfigOut\";\nimport { PortIoConfigOut, PortIoConfigOutSerializer } from \"./portIoConfigOut\";\nimport { RutterConfigOut, RutterConfigOutSerializer } from \"./rutterConfigOut\";\nimport { SegmentConfigOut, SegmentConfigOutSerializer } from \"./segmentConfigOut\";\nimport { ShopifyConfigOut, ShopifyConfigOutSerializer } from \"./shopifyConfigOut\";\nimport { SlackConfigOut, SlackConfigOutSerializer } from \"./slackConfigOut\";\nimport { StripeConfigOut, StripeConfigOutSerializer } from \"./stripeConfigOut\";\nimport { SvixConfigOut, SvixConfigOutSerializer } from \"./svixConfigOut\";\nimport { TelnyxConfigOut, TelnyxConfigOutSerializer } from \"./telnyxConfigOut\";\nimport { VapiConfigOut, VapiConfigOutSerializer } from \"./vapiConfigOut\";\nimport { VeriffConfigOut, VeriffConfigOutSerializer } from \"./veriffConfigOut\";\nimport { ZoomConfigOut, ZoomConfigOutSerializer } from \"./zoomConfigOut\";\ninterface _IngestSourceOutFields {\n createdAt: Date;\n /** The Source's ID. */\n id: string;\n ingestUrl?: string | null;\n metadata: { [key: string]: string };\n name: string;\n /** The Source's UID. */\n uid?: string | null;\n updatedAt: Date;\n}\n\n/* eslint @typescript-eslint/no-empty-object-type: 0 */\ninterface IngestSourceOutGenericWebhookConfig {}\n\ninterface IngestSourceOutGenericWebhook {\n type: \"generic-webhook\";\n config?: IngestSourceOutGenericWebhookConfig;\n}\n\ninterface IngestSourceOutCron {\n type: \"cron\";\n config: CronConfig;\n}\n\ninterface IngestSourceOutAdobeSign {\n type: \"adobe-sign\";\n config: AdobeSignConfigOut;\n}\n\ninterface IngestSourceOutBeehiiv {\n type: \"beehiiv\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutBrex {\n type: \"brex\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutCheckbook {\n type: \"checkbook\";\n config: CheckbookConfigOut;\n}\n\ninterface IngestSourceOutClerk {\n type: \"clerk\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutDocusign {\n type: \"docusign\";\n config: DocusignConfigOut;\n}\n\ninterface IngestSourceOutEasypost {\n type: \"easypost\";\n config: EasypostConfigOut;\n}\n\ninterface IngestSourceOutGithub {\n type: \"github\";\n config: GithubConfigOut;\n}\n\ninterface IngestSourceOutGuesty {\n type: \"guesty\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutHubspot {\n type: \"hubspot\";\n config: HubspotConfigOut;\n}\n\ninterface IngestSourceOutIncidentIo {\n type: \"incident-io\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutLithic {\n type: \"lithic\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutNash {\n type: \"nash\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutOrumIo {\n type: \"orum-io\";\n config: OrumIoConfigOut;\n}\n\ninterface IngestSourceOutPandaDoc {\n type: \"panda-doc\";\n config: PandaDocConfigOut;\n}\n\ninterface IngestSourceOutPortIo {\n type: \"port-io\";\n config: PortIoConfigOut;\n}\n\ninterface IngestSourceOutPleo {\n type: \"pleo\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutReplicate {\n type: \"replicate\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutResend {\n type: \"resend\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutRutter {\n type: \"rutter\";\n config: RutterConfigOut;\n}\n\ninterface IngestSourceOutSafebase {\n type: \"safebase\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutSardine {\n type: \"sardine\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutSegment {\n type: \"segment\";\n config: SegmentConfigOut;\n}\n\ninterface IngestSourceOutShopify {\n type: \"shopify\";\n config: ShopifyConfigOut;\n}\n\ninterface IngestSourceOutSlack {\n type: \"slack\";\n config: SlackConfigOut;\n}\n\ninterface IngestSourceOutStripe {\n type: \"stripe\";\n config: StripeConfigOut;\n}\n\ninterface IngestSourceOutStych {\n type: \"stych\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutSvix {\n type: \"svix\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutZoom {\n type: \"zoom\";\n config: ZoomConfigOut;\n}\n\ninterface IngestSourceOutTelnyx {\n type: \"telnyx\";\n config: TelnyxConfigOut;\n}\n\ninterface IngestSourceOutVapi {\n type: \"vapi\";\n config: VapiConfigOut;\n}\n\ninterface IngestSourceOutOpenAi {\n type: \"open-ai\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutRender {\n type: \"render\";\n config: SvixConfigOut;\n}\n\ninterface IngestSourceOutVeriff {\n type: \"veriff\";\n config: VeriffConfigOut;\n}\n\ninterface IngestSourceOutAirwallex {\n type: \"airwallex\";\n config: AirwallexConfigOut;\n}\n\nexport type IngestSourceOut = _IngestSourceOutFields &\n (\n | IngestSourceOutGenericWebhook\n | IngestSourceOutCron\n | IngestSourceOutAdobeSign\n | IngestSourceOutBeehiiv\n | IngestSourceOutBrex\n | IngestSourceOutCheckbook\n | IngestSourceOutClerk\n | IngestSourceOutDocusign\n | IngestSourceOutEasypost\n | IngestSourceOutGithub\n | IngestSourceOutGuesty\n | IngestSourceOutHubspot\n | IngestSourceOutIncidentIo\n | IngestSourceOutLithic\n | IngestSourceOutNash\n | IngestSourceOutOrumIo\n | IngestSourceOutPandaDoc\n | IngestSourceOutPortIo\n | IngestSourceOutPleo\n | IngestSourceOutReplicate\n | IngestSourceOutResend\n | IngestSourceOutRutter\n | IngestSourceOutSafebase\n | IngestSourceOutSardine\n | IngestSourceOutSegment\n | IngestSourceOutShopify\n | IngestSourceOutSlack\n | IngestSourceOutStripe\n | IngestSourceOutStych\n | IngestSourceOutSvix\n | IngestSourceOutZoom\n | IngestSourceOutTelnyx\n | IngestSourceOutVapi\n | IngestSourceOutOpenAi\n | IngestSourceOutRender\n | IngestSourceOutVeriff\n | IngestSourceOutAirwallex\n );\n\nexport const IngestSourceOutSerializer = {\n _fromJsonObject(object: any): IngestSourceOut {\n const type = object[\"type\"];\n\n function getConfig(type: string): any {\n switch (type) {\n case \"generic-webhook\":\n return {};\n case \"cron\":\n return CronConfigSerializer._fromJsonObject(object[\"config\"]);\n case \"adobe-sign\":\n return AdobeSignConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"beehiiv\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"brex\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"checkbook\":\n return CheckbookConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"clerk\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"docusign\":\n return DocusignConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"easypost\":\n return EasypostConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"github\":\n return GithubConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"guesty\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"hubspot\":\n return HubspotConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"incident-io\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"lithic\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"nash\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"orum-io\":\n return OrumIoConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"panda-doc\":\n return PandaDocConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"port-io\":\n return PortIoConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"pleo\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"replicate\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"resend\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"rutter\":\n return RutterConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"safebase\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"sardine\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"segment\":\n return SegmentConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"shopify\":\n return ShopifyConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"slack\":\n return SlackConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"stripe\":\n return StripeConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"stych\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"svix\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"zoom\":\n return ZoomConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"telnyx\":\n return TelnyxConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"vapi\":\n return VapiConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"open-ai\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"render\":\n return SvixConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"veriff\":\n return VeriffConfigOutSerializer._fromJsonObject(object[\"config\"]);\n case \"airwallex\":\n return AirwallexConfigOutSerializer._fromJsonObject(object[\"config\"]);\n default:\n throw new Error(`Unexpected type: ${type}`);\n }\n }\n return {\n type,\n config: getConfig(type),\n createdAt: new Date(object[\"createdAt\"]),\n id: object[\"id\"],\n ingestUrl: object[\"ingestUrl\"],\n metadata: object[\"metadata\"],\n name: object[\"name\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: IngestSourceOut): any {\n let config;\n switch (self.type) {\n case \"generic-webhook\":\n config = {};\n break;\n case \"cron\":\n config = CronConfigSerializer._toJsonObject(self.config);\n break;\n case \"adobe-sign\":\n config = AdobeSignConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"beehiiv\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"brex\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"checkbook\":\n config = CheckbookConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"clerk\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"docusign\":\n config = DocusignConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"easypost\":\n config = EasypostConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"github\":\n config = GithubConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"guesty\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"hubspot\":\n config = HubspotConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"incident-io\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"lithic\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"nash\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"orum-io\":\n config = OrumIoConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"panda-doc\":\n config = PandaDocConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"port-io\":\n config = PortIoConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"pleo\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"replicate\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"resend\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"rutter\":\n config = RutterConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"safebase\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"sardine\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"segment\":\n config = SegmentConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"shopify\":\n config = ShopifyConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"slack\":\n config = SlackConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"stripe\":\n config = StripeConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"stych\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"svix\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"zoom\":\n config = ZoomConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"telnyx\":\n config = TelnyxConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"vapi\":\n config = VapiConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"open-ai\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"render\":\n config = SvixConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"veriff\":\n config = VeriffConfigOutSerializer._toJsonObject(self.config);\n break;\n case \"airwallex\":\n config = AirwallexConfigOutSerializer._toJsonObject(self.config);\n break;\n }\n\n return {\n type: self.type,\n config: config,\n createdAt: self.createdAt,\n id: self.id,\n ingestUrl: self.ingestUrl,\n metadata: self.metadata,\n name: self.name,\n uid: self.uid,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { IngestSourceOut, IngestSourceOutSerializer } from \"./ingestSourceOut\";\n\nexport interface ListResponseIngestSourceOut {\n data: IngestSourceOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseIngestSourceOutSerializer = {\n _fromJsonObject(object: any): ListResponseIngestSourceOut {\n return {\n data: object[\"data\"].map((item: IngestSourceOut) =>\n IngestSourceOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseIngestSourceOut): any {\n return {\n data: self.data.map((item) => IngestSourceOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface RotateTokenOut {\n ingestUrl: string;\n}\n\nexport const RotateTokenOutSerializer = {\n _fromJsonObject(object: any): RotateTokenOut {\n return {\n ingestUrl: object[\"ingestUrl\"],\n };\n },\n\n _toJsonObject(self: RotateTokenOut): any {\n return {\n ingestUrl: self.ingestUrl,\n };\n },\n};\n","// this file is @generated\n\nimport { IngestSourceIn, IngestSourceInSerializer } from \"../models/ingestSourceIn\";\nimport { IngestSourceOut, IngestSourceOutSerializer } from \"../models/ingestSourceOut\";\nimport {\n ListResponseIngestSourceOut,\n ListResponseIngestSourceOutSerializer,\n} from \"../models/listResponseIngestSourceOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { RotateTokenOut, RotateTokenOutSerializer } from \"../models/rotateTokenOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface IngestSourceListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface IngestSourceCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface IngestSourceRotateTokenOptions {\n idempotencyKey?: string;\n}\n\nexport class IngestSource {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List of all the organization's Ingest Sources. */\n public list(options?: IngestSourceListOptions): Promise<ListResponseIngestSourceOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/ingest/api/v1/source\");\n\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseIngestSourceOutSerializer._fromJsonObject\n );\n }\n\n /** Create Ingest Source. */\n public create(\n ingestSourceIn: IngestSourceIn,\n options?: IngestSourceCreateOptions\n ): Promise<IngestSourceOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/ingest/api/v1/source\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(IngestSourceInSerializer._toJsonObject(ingestSourceIn));\n\n return request.send(this.requestCtx, IngestSourceOutSerializer._fromJsonObject);\n }\n\n /** Get an Ingest Source by id or uid. */\n public get(sourceId: string): Promise<IngestSourceOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/ingest/api/v1/source/{source_id}\");\n\n request.setPathParam(\"source_id\", sourceId);\n\n return request.send(this.requestCtx, IngestSourceOutSerializer._fromJsonObject);\n }\n\n /** Update an Ingest Source. */\n public update(\n sourceId: string,\n ingestSourceIn: IngestSourceIn\n ): Promise<IngestSourceOut> {\n const request = new SvixRequest(HttpMethod.PUT, \"/ingest/api/v1/source/{source_id}\");\n\n request.setPathParam(\"source_id\", sourceId);\n request.setBody(IngestSourceInSerializer._toJsonObject(ingestSourceIn));\n\n return request.send(this.requestCtx, IngestSourceOutSerializer._fromJsonObject);\n }\n\n /** Delete an Ingest Source. */\n public delete(sourceId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/ingest/api/v1/source/{source_id}\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * Rotate the Ingest Source's Url Token.\n *\n * This will rotate the ingest source's token, which is used to\n * construct the unique `ingestUrl` for the source. Previous tokens\n * will remain valid for 48 hours after rotation. The token can be\n * rotated a maximum of three times within the 48-hour period.\n */\n public rotateToken(\n sourceId: string,\n options?: IngestSourceRotateTokenOptions\n ): Promise<RotateTokenOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/ingest/api/v1/source/{source_id}/token/rotate\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, RotateTokenOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n\nimport {\n DashboardAccessOut,\n DashboardAccessOutSerializer,\n} from \"../models/dashboardAccessOut\";\nimport {\n IngestSourceConsumerPortalAccessIn,\n IngestSourceConsumerPortalAccessInSerializer,\n} from \"../models/ingestSourceConsumerPortalAccessIn\";\nimport { IngestEndpoint } from \"./ingestEndpoint\";\nimport { IngestSource } from \"./ingestSource\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface IngestDashboardOptions {\n idempotencyKey?: string;\n}\n\nexport class Ingest {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n public get endpoint() {\n return new IngestEndpoint(this.requestCtx);\n }\n\n public get source() {\n return new IngestSource(this.requestCtx);\n }\n\n /** Get access to the Ingest Source Consumer Portal. */\n public dashboard(\n sourceId: string,\n ingestSourceConsumerPortalAccessIn: IngestSourceConsumerPortalAccessIn,\n options?: IngestDashboardOptions\n ): Promise<DashboardAccessOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/ingest/api/v1/source/{source_id}/dashboard\"\n );\n\n request.setPathParam(\"source_id\", sourceId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n IngestSourceConsumerPortalAccessInSerializer._toJsonObject(\n ingestSourceConsumerPortalAccessIn\n )\n );\n\n return request.send(this.requestCtx, DashboardAccessOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IntegrationIn {\n /** The set of feature flags the integration will have access to. */\n featureFlags?: string[];\n name: string;\n}\n\nexport const IntegrationInSerializer = {\n _fromJsonObject(object: any): IntegrationIn {\n return {\n featureFlags: object[\"featureFlags\"],\n name: object[\"name\"],\n };\n },\n\n _toJsonObject(self: IntegrationIn): any {\n return {\n featureFlags: self.featureFlags,\n name: self.name,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IntegrationKeyOut {\n key: string;\n}\n\nexport const IntegrationKeyOutSerializer = {\n _fromJsonObject(object: any): IntegrationKeyOut {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: IntegrationKeyOut): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IntegrationOut {\n createdAt: Date;\n /** The set of feature flags the integration has access to. */\n featureFlags?: string[];\n /** The Integration's ID. */\n id: string;\n name: string;\n updatedAt: Date;\n}\n\nexport const IntegrationOutSerializer = {\n _fromJsonObject(object: any): IntegrationOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n featureFlags: object[\"featureFlags\"],\n id: object[\"id\"],\n name: object[\"name\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n };\n },\n\n _toJsonObject(self: IntegrationOut): any {\n return {\n createdAt: self.createdAt,\n featureFlags: self.featureFlags,\n id: self.id,\n name: self.name,\n updatedAt: self.updatedAt,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface IntegrationUpdate {\n /** The set of feature flags the integration will have access to. */\n featureFlags?: string[];\n name: string;\n}\n\nexport const IntegrationUpdateSerializer = {\n _fromJsonObject(object: any): IntegrationUpdate {\n return {\n featureFlags: object[\"featureFlags\"],\n name: object[\"name\"],\n };\n },\n\n _toJsonObject(self: IntegrationUpdate): any {\n return {\n featureFlags: self.featureFlags,\n name: self.name,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { IntegrationOut, IntegrationOutSerializer } from \"./integrationOut\";\n\nexport interface ListResponseIntegrationOut {\n data: IntegrationOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseIntegrationOutSerializer = {\n _fromJsonObject(object: any): ListResponseIntegrationOut {\n return {\n data: object[\"data\"].map((item: IntegrationOut) =>\n IntegrationOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseIntegrationOut): any {\n return {\n data: self.data.map((item) => IntegrationOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport { IntegrationIn, IntegrationInSerializer } from \"../models/integrationIn\";\nimport {\n IntegrationKeyOut,\n IntegrationKeyOutSerializer,\n} from \"../models/integrationKeyOut\";\nimport { IntegrationOut, IntegrationOutSerializer } from \"../models/integrationOut\";\nimport {\n IntegrationUpdate,\n IntegrationUpdateSerializer,\n} from \"../models/integrationUpdate\";\nimport {\n ListResponseIntegrationOut,\n ListResponseIntegrationOutSerializer,\n} from \"../models/listResponseIntegrationOut\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface IntegrationListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface IntegrationCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface IntegrationRotateKeyOptions {\n idempotencyKey?: string;\n}\n\nexport class Integration {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List the application's integrations. */\n public list(\n appId: string,\n options?: IntegrationListOptions\n ): Promise<ListResponseIntegrationOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}/integration\");\n\n request.setPathParam(\"app_id\", appId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseIntegrationOutSerializer._fromJsonObject\n );\n }\n\n /** Create an integration. */\n public create(\n appId: string,\n integrationIn: IntegrationIn,\n options?: IntegrationCreateOptions\n ): Promise<IntegrationOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app/{app_id}/integration\");\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(IntegrationInSerializer._toJsonObject(integrationIn));\n\n return request.send(this.requestCtx, IntegrationOutSerializer._fromJsonObject);\n }\n\n /** Get an integration. */\n public get(appId: string, integId: string): Promise<IntegrationOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/integration/{integ_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n\n return request.send(this.requestCtx, IntegrationOutSerializer._fromJsonObject);\n }\n\n /** Update an integration. */\n public update(\n appId: string,\n integId: string,\n integrationUpdate: IntegrationUpdate\n ): Promise<IntegrationOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/app/{app_id}/integration/{integ_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n request.setBody(IntegrationUpdateSerializer._toJsonObject(integrationUpdate));\n\n return request.send(this.requestCtx, IntegrationOutSerializer._fromJsonObject);\n }\n\n /** Delete an integration. */\n public delete(appId: string, integId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/app/{app_id}/integration/{integ_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * Get an integration's key.\n *\n * @deprecated\n */\n public getKey(appId: string, integId: string): Promise<IntegrationKeyOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/integration/{integ_id}/key\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n\n return request.send(this.requestCtx, IntegrationKeyOutSerializer._fromJsonObject);\n }\n\n /** Rotate the integration's key. The previous key will be immediately revoked. */\n public rotateKey(\n appId: string,\n integId: string,\n options?: IntegrationRotateKeyOptions\n ): Promise<IntegrationKeyOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/integration/{integ_id}/key/rotate\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"integ_id\", integId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, IntegrationKeyOutSerializer._fromJsonObject);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface ExpungeAllContentsOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const ExpungeAllContentsOutSerializer = {\n _fromJsonObject(object: any): ExpungeAllContentsOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: ExpungeAllContentsOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageOut, MessageOutSerializer } from \"./messageOut\";\n\nexport interface ListResponseMessageOut {\n data: MessageOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseMessageOutSerializer = {\n _fromJsonObject(object: any): ListResponseMessageOut {\n return {\n data: object[\"data\"].map((item: MessageOut) =>\n MessageOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseMessageOut): any {\n return {\n data: self.data.map((item) => MessageOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface PollingEndpointConsumerSeekIn {\n after: Date;\n}\n\nexport const PollingEndpointConsumerSeekInSerializer = {\n _fromJsonObject(object: any): PollingEndpointConsumerSeekIn {\n return {\n after: new Date(object[\"after\"]),\n };\n },\n\n _toJsonObject(self: PollingEndpointConsumerSeekIn): any {\n return {\n after: self.after,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface PollingEndpointConsumerSeekOut {\n iterator: string;\n}\n\nexport const PollingEndpointConsumerSeekOutSerializer = {\n _fromJsonObject(object: any): PollingEndpointConsumerSeekOut {\n return {\n iterator: object[\"iterator\"],\n };\n },\n\n _toJsonObject(self: PollingEndpointConsumerSeekOut): any {\n return {\n iterator: self.iterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\n/** The MessageOut equivalent of polling endpoint */\nexport interface PollingEndpointMessageOut {\n /** List of free-form identifiers that endpoints can filter by */\n channels?: string[] | null;\n /** Optional unique identifier for the message */\n eventId?: string | null;\n /** The event type's name */\n eventType: string;\n headers?: { [key: string]: string } | null;\n /** The Message's ID. */\n id: string;\n payload: any;\n tags?: string[] | null;\n timestamp: Date;\n}\n\nexport const PollingEndpointMessageOutSerializer = {\n _fromJsonObject(object: any): PollingEndpointMessageOut {\n return {\n channels: object[\"channels\"],\n eventId: object[\"eventId\"],\n eventType: object[\"eventType\"],\n headers: object[\"headers\"],\n id: object[\"id\"],\n payload: object[\"payload\"],\n tags: object[\"tags\"],\n timestamp: new Date(object[\"timestamp\"]),\n };\n },\n\n _toJsonObject(self: PollingEndpointMessageOut): any {\n return {\n channels: self.channels,\n eventId: self.eventId,\n eventType: self.eventType,\n headers: self.headers,\n id: self.id,\n payload: self.payload,\n tags: self.tags,\n timestamp: self.timestamp,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n PollingEndpointMessageOut,\n PollingEndpointMessageOutSerializer,\n} from \"./pollingEndpointMessageOut\";\n\nexport interface PollingEndpointOut {\n data: PollingEndpointMessageOut[];\n done: boolean;\n iterator: string;\n}\n\nexport const PollingEndpointOutSerializer = {\n _fromJsonObject(object: any): PollingEndpointOut {\n return {\n data: object[\"data\"].map((item: PollingEndpointMessageOut) =>\n PollingEndpointMessageOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n };\n },\n\n _toJsonObject(self: PollingEndpointOut): any {\n return {\n data: self.data.map((item) =>\n PollingEndpointMessageOutSerializer._toJsonObject(item)\n ),\n done: self.done,\n iterator: self.iterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n PollingEndpointConsumerSeekIn,\n PollingEndpointConsumerSeekInSerializer,\n} from \"../models/pollingEndpointConsumerSeekIn\";\nimport {\n PollingEndpointConsumerSeekOut,\n PollingEndpointConsumerSeekOutSerializer,\n} from \"../models/pollingEndpointConsumerSeekOut\";\nimport {\n PollingEndpointOut,\n PollingEndpointOutSerializer,\n} from \"../models/pollingEndpointOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface MessagePollerPollOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filters messages sent with this event type (optional). */\n eventType?: string;\n /** Filters messages sent with this channel (optional). */\n channel?: string;\n after?: Date | null;\n}\n\nexport interface MessagePollerConsumerPollOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n}\n\nexport interface MessagePollerConsumerSeekOptions {\n idempotencyKey?: string;\n}\n\nexport class MessagePoller {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** Reads the stream of created messages for an application, filtered on the Sink's event types and Channels. */\n public poll(\n appId: string,\n sinkId: string,\n options?: MessagePollerPollOptions\n ): Promise<PollingEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/poller/{sink_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"sink_id\", sinkId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"event_type\", options?.eventType);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"after\", options?.after);\n\n return request.send(this.requestCtx, PollingEndpointOutSerializer._fromJsonObject);\n }\n\n /**\n * Reads the stream of created messages for an application, filtered on the Sink's event types and\n * Channels, using server-managed iterator tracking.\n */\n public consumerPoll(\n appId: string,\n sinkId: string,\n consumerId: string,\n options?: MessagePollerConsumerPollOptions\n ): Promise<PollingEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/poller/{sink_id}/consumer/{consumer_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"sink_id\", sinkId);\n request.setPathParam(\"consumer_id\", consumerId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n\n return request.send(this.requestCtx, PollingEndpointOutSerializer._fromJsonObject);\n }\n\n /** Sets the starting offset for the consumer of a polling endpoint. */\n public consumerSeek(\n appId: string,\n sinkId: string,\n consumerId: string,\n pollingEndpointConsumerSeekIn: PollingEndpointConsumerSeekIn,\n options?: MessagePollerConsumerSeekOptions\n ): Promise<PollingEndpointConsumerSeekOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/poller/{sink_id}/consumer/{consumer_id}/seek\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"sink_id\", sinkId);\n request.setPathParam(\"consumer_id\", consumerId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n PollingEndpointConsumerSeekInSerializer._toJsonObject(pollingEndpointConsumerSeekIn)\n );\n\n return request.send(\n this.requestCtx,\n PollingEndpointConsumerSeekOutSerializer._fromJsonObject\n );\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { ApplicationIn, ApplicationInSerializer } from \"./applicationIn\";\n\nexport interface MessageIn {\n /**\n * Optionally creates a new application alongside the message.\n *\n * If the application id or uid that is used in the path already exists, this argument is ignored.\n */\n application?: ApplicationIn | null;\n /** List of free-form identifiers that endpoints can filter by */\n channels?: string[] | null;\n /** Optional unique identifier for the message */\n eventId?: string | null;\n /** The event type's name */\n eventType: string;\n /**\n * JSON payload to send as the request body of the webhook.\n *\n * We also support sending non-JSON payloads. Please contact us for more information.\n */\n payload: any;\n /** Optional number of hours to retain the message payload. Note that this is mutually exclusive with `payloadRetentionPeriod`. */\n payloadRetentionHours?: number | null;\n /** Optional number of days to retain the message payload. Defaults to 90. Note that this is mutually exclusive with `payloadRetentionHours`. */\n payloadRetentionPeriod?: number | null;\n /** List of free-form tags that can be filtered by when listing messages */\n tags?: string[] | null;\n /** Extra parameters to pass to Transformations (for future use) */\n transformationsParams?: any | null;\n}\n\nexport const MessageInSerializer = {\n _fromJsonObject(object: any): MessageIn {\n return {\n application: object[\"application\"]\n ? ApplicationInSerializer._fromJsonObject(object[\"application\"])\n : undefined,\n channels: object[\"channels\"],\n eventId: object[\"eventId\"],\n eventType: object[\"eventType\"],\n payload: object[\"payload\"],\n payloadRetentionHours: object[\"payloadRetentionHours\"],\n payloadRetentionPeriod: object[\"payloadRetentionPeriod\"],\n tags: object[\"tags\"],\n transformationsParams: object[\"transformationsParams\"],\n };\n },\n\n _toJsonObject(self: MessageIn): any {\n return {\n application: self.application\n ? ApplicationInSerializer._toJsonObject(self.application)\n : undefined,\n channels: self.channels,\n eventId: self.eventId,\n eventType: self.eventType,\n payload: self.payload,\n payloadRetentionHours: self.payloadRetentionHours,\n payloadRetentionPeriod: self.payloadRetentionPeriod,\n tags: self.tags,\n transformationsParams: self.transformationsParams,\n };\n },\n};\n","// this file is @generated\n\nimport {\n ExpungeAllContentsOut,\n ExpungeAllContentsOutSerializer,\n} from \"../models/expungeAllContentsOut\";\nimport {\n ListResponseMessageOut,\n ListResponseMessageOutSerializer,\n} from \"../models/listResponseMessageOut\";\nimport { MessageOut, MessageOutSerializer } from \"../models/messageOut\";\nimport { MessagePoller } from \"./messagePoller\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\nimport { MessageIn, MessageInSerializer } from \"../models/messageIn\";\n\nexport interface MessageListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filter response based on the channel. */\n channel?: string;\n /** Only include items created before a certain date. */\n before?: Date | null;\n /** Only include items created after a certain date. */\n after?: Date | null;\n /** When `true` message payloads are included in the response. */\n withContent?: boolean;\n /** Filter messages matching the provided tag. */\n tag?: string;\n /** Filter response based on the event type */\n eventTypes?: string[];\n}\n\nexport interface MessageCreateOptions {\n /** When `true`, message payloads are included in the response. */\n withContent?: boolean;\n idempotencyKey?: string;\n}\n\nexport interface MessageExpungeAllContentsOptions {\n idempotencyKey?: string;\n}\n\nexport interface MessageGetOptions {\n /** When `true` message payloads are included in the response. */\n withContent?: boolean;\n}\n\nexport class Message {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n public get poller() {\n return new MessagePoller(this.requestCtx);\n }\n\n /**\n * List all of the application's messages.\n *\n * The `before` and `after` parameters let you filter all items created before or after a certain date. These can be used alongside an iterator to paginate over results\n * within a certain window.\n *\n * Note that by default this endpoint is limited to retrieving 90 days' worth of data\n * relative to now or, if an iterator is provided, 90 days before/after the time indicated\n * by the iterator ID. If you require data beyond those time ranges, you will need to explicitly\n * set the `before` or `after` parameter as appropriate.\n */\n public list(\n appId: string,\n options?: MessageListOptions\n ): Promise<ListResponseMessageOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}/msg\");\n\n request.setPathParam(\"app_id\", appId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"before\", options?.before);\n request.setQueryParam(\"after\", options?.after);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setQueryParam(\"tag\", options?.tag);\n request.setQueryParam(\"event_types\", options?.eventTypes);\n\n return request.send(\n this.requestCtx,\n ListResponseMessageOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Creates a new message and dispatches it to all of the application's endpoints.\n *\n * The `eventId` is an optional custom unique ID. It's verified to be unique only up to a day, after that no verification will be made.\n * If a message with the same `eventId` already exists for the application, a 409 conflict error will be returned.\n *\n * The `eventType` indicates the type and schema of the event. All messages of a certain `eventType` are expected to have the same schema. Endpoints can choose to only listen to specific event types.\n * Messages can also have `channels`, which similar to event types let endpoints filter by them. Unlike event types, messages can have multiple channels, and channels don't imply a specific message content or schema.\n *\n * The `payload` property is the webhook's body (the actual webhook message). Svix supports payload sizes of up to 1MiB, though it's generally a good idea to keep webhook payloads small, probably no larger than 40kb.\n */\n public create(\n appId: string,\n messageIn: MessageIn,\n options?: MessageCreateOptions\n ): Promise<MessageOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/app/{app_id}/msg\");\n\n request.setPathParam(\"app_id\", appId);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(MessageInSerializer._toJsonObject(messageIn));\n\n return request.send(this.requestCtx, MessageOutSerializer._fromJsonObject);\n }\n\n /**\n * Delete all message payloads for the application.\n *\n * This operation is only available in the <a href=\"https://svix.com/pricing\" target=\"_blank\">Enterprise</a> plan.\n */\n public expungeAllContents(\n appId: string,\n options?: MessageExpungeAllContentsOptions\n ): Promise<ExpungeAllContentsOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/msg/expunge-all-contents\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.send(this.requestCtx, ExpungeAllContentsOutSerializer._fromJsonObject);\n }\n\n /** Get a message by its ID or eventID. */\n public get(\n appId: string,\n msgId: string,\n options?: MessageGetOptions\n ): Promise<MessageOut> {\n const request = new SvixRequest(HttpMethod.GET, \"/api/v1/app/{app_id}/msg/{msg_id}\");\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setQueryParam(\"with_content\", options?.withContent);\n\n return request.send(this.requestCtx, MessageOutSerializer._fromJsonObject);\n }\n\n /**\n * Delete the given message's payload.\n *\n * Useful in cases when a message was accidentally sent with sensitive content.\n * The message can't be replayed or resent once its payload has been deleted or expired.\n */\n public expungeContent(appId: string, msgId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/app/{app_id}/msg/{msg_id}/content\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n\n/**\n * Creates a `MessageIn` with a raw string payload.\n *\n * The payload is not normalized on the server. Normally, payloads are\n * required to be JSON, and Svix will minify the payload before sending the\n * webhooks (for example, by removing extraneous whitespace or unnecessarily\n * escaped characters in strings). With this function, the payload will be\n * sent \"as is\", without any minification or other processing.\n *\n * @param payload Serialized message payload\n * @param contentType The value to use for the Content-Type header of the webhook sent by Svix, overwriting the default of `application/json` if specified\n *\n * See the class documentation for details about the other parameters.\n */\nexport function messageInRaw(\n eventType: string,\n payload: string,\n contentType?: string\n): MessageIn {\n const headers = contentType ? { \"content-type\": contentType } : undefined;\n\n return {\n eventType,\n payload: {},\n transformationsParams: {\n rawPayload: payload,\n headers,\n },\n };\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/**\n * The sending status of the message:\n *\n * - Success = 0\n * - Pending = 1\n * - Fail = 2\n * - Sending = 3\n */\nexport enum MessageStatus {\n Success = 0,\n Pending = 1,\n Fail = 2,\n Sending = 3,\n}\n\nexport const MessageStatusSerializer = {\n _fromJsonObject(object: any): MessageStatus {\n return object;\n },\n\n _toJsonObject(self: MessageStatus): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum MessageStatusText {\n Success = \"success\",\n Pending = \"pending\",\n Fail = \"fail\",\n Sending = \"sending\",\n}\n\nexport const MessageStatusTextSerializer = {\n _fromJsonObject(object: any): MessageStatusText {\n return object;\n },\n\n _toJsonObject(self: MessageStatusText): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageStatus, MessageStatusSerializer } from \"./messageStatus\";\nimport { MessageStatusText, MessageStatusTextSerializer } from \"./messageStatusText\";\n\n/** A model containing information on a given message plus additional fields on the last attempt for that message. */\nexport interface EndpointMessageOut {\n /** List of free-form identifiers that endpoints can filter by */\n channels?: string[] | null;\n /** Optional unique identifier for the message */\n eventId?: string | null;\n /** The event type's name */\n eventType: string;\n /** The Message's ID. */\n id: string;\n nextAttempt?: Date | null;\n payload: any;\n status: MessageStatus;\n statusText: MessageStatusText;\n tags?: string[] | null;\n timestamp: Date;\n}\n\nexport const EndpointMessageOutSerializer = {\n _fromJsonObject(object: any): EndpointMessageOut {\n return {\n channels: object[\"channels\"],\n eventId: object[\"eventId\"],\n eventType: object[\"eventType\"],\n id: object[\"id\"],\n nextAttempt: object[\"nextAttempt\"] ? new Date(object[\"nextAttempt\"]) : null,\n payload: object[\"payload\"],\n status: MessageStatusSerializer._fromJsonObject(object[\"status\"]),\n statusText: MessageStatusTextSerializer._fromJsonObject(object[\"statusText\"]),\n tags: object[\"tags\"],\n timestamp: new Date(object[\"timestamp\"]),\n };\n },\n\n _toJsonObject(self: EndpointMessageOut): any {\n return {\n channels: self.channels,\n eventId: self.eventId,\n eventType: self.eventType,\n id: self.id,\n nextAttempt: self.nextAttempt,\n payload: self.payload,\n status: MessageStatusSerializer._toJsonObject(self.status),\n statusText: MessageStatusTextSerializer._toJsonObject(self.statusText),\n tags: self.tags,\n timestamp: self.timestamp,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { EndpointMessageOut, EndpointMessageOutSerializer } from \"./endpointMessageOut\";\n\nexport interface ListResponseEndpointMessageOut {\n data: EndpointMessageOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseEndpointMessageOutSerializer = {\n _fromJsonObject(object: any): ListResponseEndpointMessageOut {\n return {\n data: object[\"data\"].map((item: EndpointMessageOut) =>\n EndpointMessageOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseEndpointMessageOut): any {\n return {\n data: self.data.map((item) => EndpointMessageOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/**\n * The reason an attempt was made:\n *\n * - Scheduled = 0\n * - Manual = 1\n */\nexport enum MessageAttemptTriggerType {\n Scheduled = 0,\n Manual = 1,\n}\n\nexport const MessageAttemptTriggerTypeSerializer = {\n _fromJsonObject(object: any): MessageAttemptTriggerType {\n return object;\n },\n\n _toJsonObject(self: MessageAttemptTriggerType): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n MessageAttemptTriggerType,\n MessageAttemptTriggerTypeSerializer,\n} from \"./messageAttemptTriggerType\";\nimport { MessageOut, MessageOutSerializer } from \"./messageOut\";\nimport { MessageStatus, MessageStatusSerializer } from \"./messageStatus\";\nimport { MessageStatusText, MessageStatusTextSerializer } from \"./messageStatusText\";\n\nexport interface MessageAttemptOut {\n /** The Endpoint's ID. */\n endpointId: string;\n /** The MessageAttempt's ID. */\n id: string;\n msg?: MessageOut | null;\n /** The Message's ID. */\n msgId: string;\n response: string;\n /** Response duration in milliseconds. */\n responseDurationMs: number;\n responseStatusCode: number;\n status: MessageStatus;\n statusText: MessageStatusText;\n timestamp: Date;\n triggerType: MessageAttemptTriggerType;\n url: string;\n}\n\nexport const MessageAttemptOutSerializer = {\n _fromJsonObject(object: any): MessageAttemptOut {\n return {\n endpointId: object[\"endpointId\"],\n id: object[\"id\"],\n msg: object[\"msg\"]\n ? MessageOutSerializer._fromJsonObject(object[\"msg\"])\n : undefined,\n msgId: object[\"msgId\"],\n response: object[\"response\"],\n responseDurationMs: object[\"responseDurationMs\"],\n responseStatusCode: object[\"responseStatusCode\"],\n status: MessageStatusSerializer._fromJsonObject(object[\"status\"]),\n statusText: MessageStatusTextSerializer._fromJsonObject(object[\"statusText\"]),\n timestamp: new Date(object[\"timestamp\"]),\n triggerType: MessageAttemptTriggerTypeSerializer._fromJsonObject(\n object[\"triggerType\"]\n ),\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: MessageAttemptOut): any {\n return {\n endpointId: self.endpointId,\n id: self.id,\n msg: self.msg ? MessageOutSerializer._toJsonObject(self.msg) : undefined,\n msgId: self.msgId,\n response: self.response,\n responseDurationMs: self.responseDurationMs,\n responseStatusCode: self.responseStatusCode,\n status: MessageStatusSerializer._toJsonObject(self.status),\n statusText: MessageStatusTextSerializer._toJsonObject(self.statusText),\n timestamp: self.timestamp,\n triggerType: MessageAttemptTriggerTypeSerializer._toJsonObject(self.triggerType),\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageAttemptOut, MessageAttemptOutSerializer } from \"./messageAttemptOut\";\n\nexport interface ListResponseMessageAttemptOut {\n data: MessageAttemptOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseMessageAttemptOutSerializer = {\n _fromJsonObject(object: any): ListResponseMessageAttemptOut {\n return {\n data: object[\"data\"].map((item: MessageAttemptOut) =>\n MessageAttemptOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseMessageAttemptOut): any {\n return {\n data: self.data.map((item) => MessageAttemptOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageStatus, MessageStatusSerializer } from \"./messageStatus\";\nimport { MessageStatusText, MessageStatusTextSerializer } from \"./messageStatusText\";\n\nexport interface MessageEndpointOut {\n /** List of message channels this endpoint listens to (omit for all). */\n channels?: string[] | null;\n createdAt: Date;\n /** An example endpoint name. */\n description: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n /** The Endpoint's ID. */\n id: string;\n nextAttempt?: Date | null;\n rateLimit?: number | null;\n status: MessageStatus;\n statusText: MessageStatusText;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n updatedAt: Date;\n url: string;\n version: number;\n}\n\nexport const MessageEndpointOutSerializer = {\n _fromJsonObject(object: any): MessageEndpointOut {\n return {\n channels: object[\"channels\"],\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n id: object[\"id\"],\n nextAttempt: object[\"nextAttempt\"] ? new Date(object[\"nextAttempt\"]) : null,\n rateLimit: object[\"rateLimit\"],\n status: MessageStatusSerializer._fromJsonObject(object[\"status\"]),\n statusText: MessageStatusTextSerializer._fromJsonObject(object[\"statusText\"]),\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n url: object[\"url\"],\n version: object[\"version\"],\n };\n },\n\n _toJsonObject(self: MessageEndpointOut): any {\n return {\n channels: self.channels,\n createdAt: self.createdAt,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n id: self.id,\n nextAttempt: self.nextAttempt,\n rateLimit: self.rateLimit,\n status: MessageStatusSerializer._toJsonObject(self.status),\n statusText: MessageStatusTextSerializer._toJsonObject(self.statusText),\n uid: self.uid,\n updatedAt: self.updatedAt,\n url: self.url,\n version: self.version,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport { MessageEndpointOut, MessageEndpointOutSerializer } from \"./messageEndpointOut\";\n\nexport interface ListResponseMessageEndpointOut {\n data: MessageEndpointOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseMessageEndpointOutSerializer = {\n _fromJsonObject(object: any): ListResponseMessageEndpointOut {\n return {\n data: object[\"data\"].map((item: MessageEndpointOut) =>\n MessageEndpointOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseMessageEndpointOut): any {\n return {\n data: self.data.map((item) => MessageEndpointOutSerializer._toJsonObject(item)),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n\nimport {\n ListResponseEndpointMessageOut,\n ListResponseEndpointMessageOutSerializer,\n} from \"../models/listResponseEndpointMessageOut\";\nimport {\n ListResponseMessageAttemptOut,\n ListResponseMessageAttemptOutSerializer,\n} from \"../models/listResponseMessageAttemptOut\";\nimport {\n ListResponseMessageEndpointOut,\n ListResponseMessageEndpointOutSerializer,\n} from \"../models/listResponseMessageEndpointOut\";\nimport {\n MessageAttemptOut,\n MessageAttemptOutSerializer,\n} from \"../models/messageAttemptOut\";\nimport { MessageStatus } from \"../models/messageStatus\";\nimport { StatusCodeClass } from \"../models/statusCodeClass\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface MessageAttemptListByEndpointOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filter response based on the status of the attempt: Success (0), Pending (1), Failed (2), or Sending (3) */\n status?: MessageStatus;\n /** Filter response based on the HTTP status code */\n statusCodeClass?: StatusCodeClass;\n /** Filter response based on the channel */\n channel?: string;\n /** Filter response based on the tag */\n tag?: string;\n /** Only include items created before a certain date */\n before?: Date | null;\n /** Only include items created after a certain date */\n after?: Date | null;\n /** When `true` attempt content is included in the response */\n withContent?: boolean;\n /** When `true`, the message information is included in the response */\n withMsg?: boolean;\n /** Filter response based on the event type */\n eventTypes?: string[];\n}\n\nexport interface MessageAttemptListByMsgOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filter response based on the status of the attempt: Success (0), Pending (1), Failed (2), or Sending (3) */\n status?: MessageStatus;\n /** Filter response based on the HTTP status code */\n statusCodeClass?: StatusCodeClass;\n /** Filter response based on the channel */\n channel?: string;\n /** Filter response based on the tag */\n tag?: string;\n /** Filter the attempts based on the attempted endpoint */\n endpointId?: string;\n /** Only include items created before a certain date */\n before?: Date | null;\n /** Only include items created after a certain date */\n after?: Date | null;\n /** When `true` attempt content is included in the response */\n withContent?: boolean;\n /** Filter response based on the event type */\n eventTypes?: string[];\n}\n\nexport interface MessageAttemptListAttemptedMessagesOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** Filter response based on the channel */\n channel?: string;\n /** Filter response based on the message tags */\n tag?: string;\n /** Filter response based on the status of the attempt: Success (0), Pending (1), Failed (2), or Sending (3) */\n status?: MessageStatus;\n /** Only include items created before a certain date */\n before?: Date | null;\n /** Only include items created after a certain date */\n after?: Date | null;\n /** When `true` message payloads are included in the response */\n withContent?: boolean;\n /** Filter response based on the event type */\n eventTypes?: string[];\n}\n\nexport interface MessageAttemptListAttemptedDestinationsOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n}\n\nexport interface MessageAttemptResendOptions {\n idempotencyKey?: string;\n}\n\nexport class MessageAttempt {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /**\n * List attempts by endpoint id\n *\n * Note that by default this endpoint is limited to retrieving 90 days' worth of data\n * relative to now or, if an iterator is provided, 90 days before/after the time indicated\n * by the iterator ID. If you require data beyond those time ranges, you will need to explicitly\n * set the `before` or `after` parameter as appropriate.\n */\n public listByEndpoint(\n appId: string,\n endpointId: string,\n options?: MessageAttemptListByEndpointOptions\n ): Promise<ListResponseMessageAttemptOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/attempt/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"status\", options?.status);\n request.setQueryParam(\"status_code_class\", options?.statusCodeClass);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"tag\", options?.tag);\n request.setQueryParam(\"before\", options?.before);\n request.setQueryParam(\"after\", options?.after);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setQueryParam(\"with_msg\", options?.withMsg);\n request.setQueryParam(\"event_types\", options?.eventTypes);\n\n return request.send(\n this.requestCtx,\n ListResponseMessageAttemptOutSerializer._fromJsonObject\n );\n }\n\n /**\n * List attempts by message ID.\n *\n * Note that by default this endpoint is limited to retrieving 90 days' worth of data\n * relative to now or, if an iterator is provided, 90 days before/after the time indicated\n * by the iterator ID. If you require data beyond those time ranges, you will need to explicitly\n * set the `before` or `after` parameter as appropriate.\n */\n public listByMsg(\n appId: string,\n msgId: string,\n options?: MessageAttemptListByMsgOptions\n ): Promise<ListResponseMessageAttemptOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/attempt/msg/{msg_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"status\", options?.status);\n request.setQueryParam(\"status_code_class\", options?.statusCodeClass);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"tag\", options?.tag);\n request.setQueryParam(\"endpoint_id\", options?.endpointId);\n request.setQueryParam(\"before\", options?.before);\n request.setQueryParam(\"after\", options?.after);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setQueryParam(\"event_types\", options?.eventTypes);\n\n return request.send(\n this.requestCtx,\n ListResponseMessageAttemptOutSerializer._fromJsonObject\n );\n }\n\n /**\n * List messages for a particular endpoint. Additionally includes metadata about the latest message attempt.\n *\n * The `before` parameter lets you filter all items created before a certain date and is ignored if an iterator is passed.\n *\n * Note that by default this endpoint is limited to retrieving 90 days' worth of data\n * relative to now or, if an iterator is provided, 90 days before/after the time indicated\n * by the iterator ID. If you require data beyond those time ranges, you will need to explicitly\n * set the `before` or `after` parameter as appropriate.\n */\n public listAttemptedMessages(\n appId: string,\n endpointId: string,\n options?: MessageAttemptListAttemptedMessagesOptions\n ): Promise<ListResponseEndpointMessageOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/endpoint/{endpoint_id}/msg\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"channel\", options?.channel);\n request.setQueryParam(\"tag\", options?.tag);\n request.setQueryParam(\"status\", options?.status);\n request.setQueryParam(\"before\", options?.before);\n request.setQueryParam(\"after\", options?.after);\n request.setQueryParam(\"with_content\", options?.withContent);\n request.setQueryParam(\"event_types\", options?.eventTypes);\n\n return request.send(\n this.requestCtx,\n ListResponseEndpointMessageOutSerializer._fromJsonObject\n );\n }\n\n /** `msg_id`: Use a message id or a message `eventId` */\n public get(\n appId: string,\n msgId: string,\n attemptId: string\n ): Promise<MessageAttemptOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/msg/{msg_id}/attempt/{attempt_id}\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setPathParam(\"attempt_id\", attemptId);\n\n return request.send(this.requestCtx, MessageAttemptOutSerializer._fromJsonObject);\n }\n\n /**\n * Deletes the given attempt's response body.\n *\n * Useful when an endpoint accidentally returned sensitive content.\n * The message can't be replayed or resent once its payload has been deleted or expired.\n */\n public expungeContent(appId: string, msgId: string, attemptId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/app/{app_id}/msg/{msg_id}/attempt/{attempt_id}/content\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setPathParam(\"attempt_id\", attemptId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * List endpoints attempted by a given message.\n *\n * Additionally includes metadata about the latest message attempt.\n * By default, endpoints are listed in ascending order by ID.\n */\n public listAttemptedDestinations(\n appId: string,\n msgId: string,\n options?: MessageAttemptListAttemptedDestinationsOptions\n ): Promise<ListResponseMessageEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/app/{app_id}/msg/{msg_id}/endpoint\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n\n return request.send(\n this.requestCtx,\n ListResponseMessageEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Resend a message to the specified endpoint. */\n public resend(\n appId: string,\n msgId: string,\n endpointId: string,\n options?: MessageAttemptResendOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/app/{app_id}/msg/{msg_id}/endpoint/{endpoint_id}/resend\"\n );\n\n request.setPathParam(\"app_id\", appId);\n request.setPathParam(\"msg_id\", msgId);\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointOut {\n createdAt: Date;\n /** An example endpoint name. */\n description: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n /** The Endpoint's ID. */\n id: string;\n metadata: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n updatedAt: Date;\n url: string;\n}\n\nexport const OperationalWebhookEndpointOutSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointOut {\n return {\n createdAt: new Date(object[\"createdAt\"]),\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n id: object[\"id\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n updatedAt: new Date(object[\"updatedAt\"]),\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointOut): any {\n return {\n createdAt: self.createdAt,\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n id: self.id,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n updatedAt: self.updatedAt,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n OperationalWebhookEndpointOut,\n OperationalWebhookEndpointOutSerializer,\n} from \"./operationalWebhookEndpointOut\";\n\nexport interface ListResponseOperationalWebhookEndpointOut {\n data: OperationalWebhookEndpointOut[];\n done: boolean;\n iterator: string | null;\n prevIterator?: string | null;\n}\n\nexport const ListResponseOperationalWebhookEndpointOutSerializer = {\n _fromJsonObject(object: any): ListResponseOperationalWebhookEndpointOut {\n return {\n data: object[\"data\"].map((item: OperationalWebhookEndpointOut) =>\n OperationalWebhookEndpointOutSerializer._fromJsonObject(item)\n ),\n done: object[\"done\"],\n iterator: object[\"iterator\"],\n prevIterator: object[\"prevIterator\"],\n };\n },\n\n _toJsonObject(self: ListResponseOperationalWebhookEndpointOut): any {\n return {\n data: self.data.map((item) =>\n OperationalWebhookEndpointOutSerializer._toJsonObject(item)\n ),\n done: self.done,\n iterator: self.iterator,\n prevIterator: self.prevIterator,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointHeadersIn {\n headers: { [key: string]: string };\n}\n\nexport const OperationalWebhookEndpointHeadersInSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointHeadersIn {\n return {\n headers: object[\"headers\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointHeadersIn): any {\n return {\n headers: self.headers,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointHeadersOut {\n headers: { [key: string]: string };\n sensitive: string[];\n}\n\nexport const OperationalWebhookEndpointHeadersOutSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointHeadersOut {\n return {\n headers: object[\"headers\"],\n sensitive: object[\"sensitive\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointHeadersOut): any {\n return {\n headers: self.headers,\n sensitive: self.sensitive,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointIn {\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n secret?: string | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n}\n\nexport const OperationalWebhookEndpointInSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointIn {\n return {\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n secret: object[\"secret\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointIn): any {\n return {\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n secret: self.secret,\n uid: self.uid,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointSecretIn {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key?: string | null;\n}\n\nexport const OperationalWebhookEndpointSecretInSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointSecretIn {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointSecretIn): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointSecretOut {\n /**\n * The endpoint's verification secret.\n *\n * Format: `base64` encoded random bytes optionally prefixed with `whsec_`.\n * It is recommended to not set this and let the server generate the secret.\n */\n key: string;\n}\n\nexport const OperationalWebhookEndpointSecretOutSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointSecretOut {\n return {\n key: object[\"key\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointSecretOut): any {\n return {\n key: self.key,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface OperationalWebhookEndpointUpdate {\n description?: string;\n disabled?: boolean;\n filterTypes?: string[] | null;\n metadata?: { [key: string]: string };\n rateLimit?: number | null;\n /** Optional unique identifier for the endpoint. */\n uid?: string | null;\n url: string;\n}\n\nexport const OperationalWebhookEndpointUpdateSerializer = {\n _fromJsonObject(object: any): OperationalWebhookEndpointUpdate {\n return {\n description: object[\"description\"],\n disabled: object[\"disabled\"],\n filterTypes: object[\"filterTypes\"],\n metadata: object[\"metadata\"],\n rateLimit: object[\"rateLimit\"],\n uid: object[\"uid\"],\n url: object[\"url\"],\n };\n },\n\n _toJsonObject(self: OperationalWebhookEndpointUpdate): any {\n return {\n description: self.description,\n disabled: self.disabled,\n filterTypes: self.filterTypes,\n metadata: self.metadata,\n rateLimit: self.rateLimit,\n uid: self.uid,\n url: self.url,\n };\n },\n};\n","// this file is @generated\n\nimport {\n ListResponseOperationalWebhookEndpointOut,\n ListResponseOperationalWebhookEndpointOutSerializer,\n} from \"../models/listResponseOperationalWebhookEndpointOut\";\nimport {\n OperationalWebhookEndpointHeadersIn,\n OperationalWebhookEndpointHeadersInSerializer,\n} from \"../models/operationalWebhookEndpointHeadersIn\";\nimport {\n OperationalWebhookEndpointHeadersOut,\n OperationalWebhookEndpointHeadersOutSerializer,\n} from \"../models/operationalWebhookEndpointHeadersOut\";\nimport {\n OperationalWebhookEndpointIn,\n OperationalWebhookEndpointInSerializer,\n} from \"../models/operationalWebhookEndpointIn\";\nimport {\n OperationalWebhookEndpointOut,\n OperationalWebhookEndpointOutSerializer,\n} from \"../models/operationalWebhookEndpointOut\";\nimport {\n OperationalWebhookEndpointSecretIn,\n OperationalWebhookEndpointSecretInSerializer,\n} from \"../models/operationalWebhookEndpointSecretIn\";\nimport {\n OperationalWebhookEndpointSecretOut,\n OperationalWebhookEndpointSecretOutSerializer,\n} from \"../models/operationalWebhookEndpointSecretOut\";\nimport {\n OperationalWebhookEndpointUpdate,\n OperationalWebhookEndpointUpdateSerializer,\n} from \"../models/operationalWebhookEndpointUpdate\";\nimport { Ordering } from \"../models/ordering\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface OperationalWebhookEndpointListOptions {\n /** Limit the number of returned items */\n limit?: number;\n /** The iterator returned from a prior invocation */\n iterator?: string | null;\n /** The sorting order of the returned items */\n order?: Ordering;\n}\n\nexport interface OperationalWebhookEndpointCreateOptions {\n idempotencyKey?: string;\n}\n\nexport interface OperationalWebhookEndpointRotateSecretOptions {\n idempotencyKey?: string;\n}\n\nexport class OperationalWebhookEndpoint {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /** List operational webhook endpoints. */\n public list(\n options?: OperationalWebhookEndpointListOptions\n ): Promise<ListResponseOperationalWebhookEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/operational-webhook/endpoint\"\n );\n\n request.setQueryParam(\"limit\", options?.limit);\n request.setQueryParam(\"iterator\", options?.iterator);\n request.setQueryParam(\"order\", options?.order);\n\n return request.send(\n this.requestCtx,\n ListResponseOperationalWebhookEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Create an operational webhook endpoint. */\n public create(\n operationalWebhookEndpointIn: OperationalWebhookEndpointIn,\n options?: OperationalWebhookEndpointCreateOptions\n ): Promise<OperationalWebhookEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/operational-webhook/endpoint\"\n );\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n OperationalWebhookEndpointInSerializer._toJsonObject(operationalWebhookEndpointIn)\n );\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Get an operational webhook endpoint. */\n public get(endpointId: string): Promise<OperationalWebhookEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Update an operational webhook endpoint. */\n public update(\n endpointId: string,\n operationalWebhookEndpointUpdate: OperationalWebhookEndpointUpdate\n ): Promise<OperationalWebhookEndpointOut> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n OperationalWebhookEndpointUpdateSerializer._toJsonObject(\n operationalWebhookEndpointUpdate\n )\n );\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointOutSerializer._fromJsonObject\n );\n }\n\n /** Delete an operational webhook endpoint. */\n public delete(endpointId: string): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.DELETE,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /** Get the additional headers to be sent with the operational webhook. */\n public getHeaders(endpointId: string): Promise<OperationalWebhookEndpointHeadersOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointHeadersOutSerializer._fromJsonObject\n );\n }\n\n /** Set the additional headers to be sent with the operational webhook. */\n public updateHeaders(\n endpointId: string,\n operationalWebhookEndpointHeadersIn: OperationalWebhookEndpointHeadersIn\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.PUT,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}/headers\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setBody(\n OperationalWebhookEndpointHeadersInSerializer._toJsonObject(\n operationalWebhookEndpointHeadersIn\n )\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n\n /**\n * Get an operational webhook endpoint's signing secret.\n *\n * This is used to verify the authenticity of the webhook.\n * For more information please refer to [the consuming webhooks docs](https://docs.svix.com/consuming-webhooks/).\n */\n public getSecret(endpointId: string): Promise<OperationalWebhookEndpointSecretOut> {\n const request = new SvixRequest(\n HttpMethod.GET,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}/secret\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n\n return request.send(\n this.requestCtx,\n OperationalWebhookEndpointSecretOutSerializer._fromJsonObject\n );\n }\n\n /**\n * Rotates an operational webhook endpoint's signing secret.\n *\n * The previous secret will remain valid for the next 24 hours.\n */\n public rotateSecret(\n endpointId: string,\n operationalWebhookEndpointSecretIn: OperationalWebhookEndpointSecretIn,\n options?: OperationalWebhookEndpointRotateSecretOptions\n ): Promise<void> {\n const request = new SvixRequest(\n HttpMethod.POST,\n \"/api/v1/operational-webhook/endpoint/{endpoint_id}/secret/rotate\"\n );\n\n request.setPathParam(\"endpoint_id\", endpointId);\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(\n OperationalWebhookEndpointSecretInSerializer._toJsonObject(\n operationalWebhookEndpointSecretIn\n )\n );\n\n return request.sendNoResponseBody(this.requestCtx);\n }\n}\n","// this file is @generated\n\nimport { OperationalWebhookEndpoint } from \"./operationalWebhookEndpoint\";\nimport { SvixRequestContext } from \"../request\";\n\nexport class OperationalWebhook {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n public get endpoint() {\n return new OperationalWebhookEndpoint(this.requestCtx);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface AggregateEventTypesOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n}\n\nexport const AggregateEventTypesOutSerializer = {\n _fromJsonObject(object: any): AggregateEventTypesOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n };\n },\n\n _toJsonObject(self: AggregateEventTypesOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport interface AppUsageStatsIn {\n /**\n * Specific app IDs or UIDs to aggregate stats for.\n *\n * Note that if none of the given IDs or UIDs are resolved, a 422 response will be given.\n */\n appIds?: string[] | null;\n since: Date;\n until: Date;\n}\n\nexport const AppUsageStatsInSerializer = {\n _fromJsonObject(object: any): AppUsageStatsIn {\n return {\n appIds: object[\"appIds\"],\n since: new Date(object[\"since\"]),\n until: new Date(object[\"until\"]),\n };\n },\n\n _toJsonObject(self: AppUsageStatsIn): any {\n return {\n appIds: self.appIds,\n since: self.since,\n until: self.until,\n };\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nimport {\n BackgroundTaskStatus,\n BackgroundTaskStatusSerializer,\n} from \"./backgroundTaskStatus\";\nimport { BackgroundTaskType, BackgroundTaskTypeSerializer } from \"./backgroundTaskType\";\n\nexport interface AppUsageStatsOut {\n /** The QueueBackgroundTask's ID. */\n id: string;\n status: BackgroundTaskStatus;\n task: BackgroundTaskType;\n /**\n * Any app IDs or UIDs received in the request that weren't found.\n *\n * Stats will be produced for all the others.\n */\n unresolvedAppIds: string[];\n}\n\nexport const AppUsageStatsOutSerializer = {\n _fromJsonObject(object: any): AppUsageStatsOut {\n return {\n id: object[\"id\"],\n status: BackgroundTaskStatusSerializer._fromJsonObject(object[\"status\"]),\n task: BackgroundTaskTypeSerializer._fromJsonObject(object[\"task\"]),\n unresolvedAppIds: object[\"unresolvedAppIds\"],\n };\n },\n\n _toJsonObject(self: AppUsageStatsOut): any {\n return {\n id: self.id,\n status: BackgroundTaskStatusSerializer._toJsonObject(self.status),\n task: BackgroundTaskTypeSerializer._toJsonObject(self.task),\n unresolvedAppIds: self.unresolvedAppIds,\n };\n },\n};\n","// this file is @generated\n\nimport {\n AggregateEventTypesOut,\n AggregateEventTypesOutSerializer,\n} from \"../models/aggregateEventTypesOut\";\nimport { AppUsageStatsIn, AppUsageStatsInSerializer } from \"../models/appUsageStatsIn\";\nimport { AppUsageStatsOut, AppUsageStatsOutSerializer } from \"../models/appUsageStatsOut\";\nimport { HttpMethod, SvixRequest, SvixRequestContext } from \"../request\";\n\nexport interface StatisticsAggregateAppStatsOptions {\n idempotencyKey?: string;\n}\n\nexport class Statistics {\n public constructor(private readonly requestCtx: SvixRequestContext) {}\n\n /**\n * Creates a background task to calculate the message destinations for all applications in the environment.\n *\n * Note that this endpoint is asynchronous. You will need to poll the `Get Background Task` endpoint to\n * retrieve the results of the operation.\n */\n public aggregateAppStats(\n appUsageStatsIn: AppUsageStatsIn,\n options?: StatisticsAggregateAppStatsOptions\n ): Promise<AppUsageStatsOut> {\n const request = new SvixRequest(HttpMethod.POST, \"/api/v1/stats/usage/app\");\n\n request.setHeaderParam(\"idempotency-key\", options?.idempotencyKey);\n request.setBody(AppUsageStatsInSerializer._toJsonObject(appUsageStatsIn));\n\n return request.send(this.requestCtx, AppUsageStatsOutSerializer._fromJsonObject);\n }\n\n /**\n * Creates a background task to calculate the listed event types for all apps in the organization.\n *\n * Note that this endpoint is asynchronous. You will need to poll the `Get Background Task` endpoint to\n * retrieve the results of the operation.\n */\n public aggregateEventTypes(): Promise<AggregateEventTypesOut> {\n const request = new SvixRequest(HttpMethod.PUT, \"/api/v1/stats/usage/event-types\");\n\n return request.send(\n this.requestCtx,\n AggregateEventTypesOutSerializer._fromJsonObject\n );\n }\n}\n","export class HttpErrorOut {\n \"code\": string;\n \"detail\": string;\n\n static readonly discriminator: string | undefined = undefined;\n\n static readonly mapping: { [index: string]: string } | undefined = undefined;\n\n static readonly attributeTypeMap: Array<{\n name: string;\n baseName: string;\n type: string;\n format: string;\n }> = [\n {\n name: \"code\",\n baseName: \"code\",\n type: \"string\",\n format: \"\",\n },\n {\n name: \"detail\",\n baseName: \"detail\",\n type: \"string\",\n format: \"\",\n },\n ];\n\n static getAttributeTypeMap() {\n return HttpErrorOut.attributeTypeMap;\n }\n}\n\n/**\n * Validation errors have their own schema to provide context for invalid requests eg. mismatched types and out of bounds values. There may be any number of these per 422 UNPROCESSABLE ENTITY error.\n */\nexport class ValidationError {\n /**\n * The location as a [`Vec`] of [`String`]s -- often in the form `[\\\"body\\\", \\\"field_name\\\"]`, `[\\\"query\\\", \\\"field_name\\\"]`, etc. They may, however, be arbitrarily deep.\n */\n \"loc\": Array<string>;\n /**\n * The message accompanying the validation error item.\n */\n \"msg\": string;\n /**\n * The type of error, often \\\"type_error\\\" or \\\"value_error\\\", but sometimes with more context like as \\\"value_error.number.not_ge\\\"\n */\n \"type\": string;\n\n static readonly discriminator: string | undefined = undefined;\n\n static readonly mapping: { [index: string]: string } | undefined = undefined;\n\n static readonly attributeTypeMap: Array<{\n name: string;\n baseName: string;\n type: string;\n format: string;\n }> = [\n {\n name: \"loc\",\n baseName: \"loc\",\n type: \"Array<string>\",\n format: \"\",\n },\n {\n name: \"msg\",\n baseName: \"msg\",\n type: \"string\",\n format: \"\",\n },\n {\n name: \"type\",\n baseName: \"type\",\n type: \"string\",\n format: \"\",\n },\n ];\n\n static getAttributeTypeMap() {\n return ValidationError.attributeTypeMap;\n }\n}\n\nexport class HTTPValidationError {\n \"detail\": Array<ValidationError>;\n\n static readonly discriminator: string | undefined = undefined;\n\n static readonly mapping: { [index: string]: string } | undefined = undefined;\n\n static readonly attributeTypeMap: Array<{\n name: string;\n baseName: string;\n type: string;\n format: string;\n }> = [\n {\n name: \"detail\",\n baseName: \"detail\",\n type: \"Array<ValidationError>\",\n format: \"\",\n },\n ];\n\n static getAttributeTypeMap() {\n return HTTPValidationError.attributeTypeMap;\n }\n}\n","// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.\n// https://github.com/denoland/deno_std/blob/main/crypto/timing_safe_equal.ts\n\n/** Make an assertion, if not `true`, then throw. */\nfunction assert(expr: unknown, msg = \"\"): asserts expr {\n if (!expr) {\n throw new Error(msg);\n }\n}\n\n/** Compare to array buffers or data views in a way that timing based attacks\n * cannot gain information about the platform. */\nexport function timingSafeEqual(\n a: ArrayBufferView | ArrayBufferLike | DataView,\n b: ArrayBufferView | ArrayBufferLike | DataView\n): boolean {\n if (a.byteLength !== b.byteLength) {\n return false;\n }\n if (!(a instanceof DataView)) {\n a = new DataView(ArrayBuffer.isView(a) ? a.buffer : a);\n }\n if (!(b instanceof DataView)) {\n b = new DataView(ArrayBuffer.isView(b) ? b.buffer : b);\n }\n assert(a instanceof DataView);\n assert(b instanceof DataView);\n const length = a.byteLength;\n let out = 0;\n let i = -1;\n while (++i < length) {\n out |= a.getUint8(i) ^ b.getUint8(i);\n }\n return out === 0;\n}\n","// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\n\n/**\n * Package base64 implements Base64 encoding and decoding.\n */\n\n// Invalid character used in decoding to indicate\n// that the character to decode is out of range of\n// alphabet and cannot be decoded.\nconst INVALID_BYTE = 256;\n\n/**\n * Implements standard Base64 encoding.\n *\n * Operates in constant time.\n */\nexport class Coder {\n // TODO(dchest): methods to encode chunk-by-chunk.\n\n constructor(private _paddingCharacter = \"=\") { }\n\n encodedLength(length: number): number {\n if (!this._paddingCharacter) {\n return (length * 8 + 5) / 6 | 0;\n }\n return (length + 2) / 3 * 4 | 0;\n }\n\n encode(data: Uint8Array): string {\n let out = \"\";\n\n let i = 0;\n for (; i < data.length - 2; i += 3) {\n let c = (data[i] << 16) | (data[i + 1] << 8) | (data[i + 2]);\n out += this._encodeByte((c >>> 3 * 6) & 63);\n out += this._encodeByte((c >>> 2 * 6) & 63);\n out += this._encodeByte((c >>> 1 * 6) & 63);\n out += this._encodeByte((c >>> 0 * 6) & 63);\n }\n\n const left = data.length - i;\n if (left > 0) {\n let c = (data[i] << 16) | (left === 2 ? data[i + 1] << 8 : 0);\n out += this._encodeByte((c >>> 3 * 6) & 63);\n out += this._encodeByte((c >>> 2 * 6) & 63);\n if (left === 2) {\n out += this._encodeByte((c >>> 1 * 6) & 63);\n } else {\n out += this._paddingCharacter || \"\";\n }\n out += this._paddingCharacter || \"\";\n }\n\n return out;\n }\n\n maxDecodedLength(length: number): number {\n if (!this._paddingCharacter) {\n return (length * 6 + 7) / 8 | 0;\n }\n return length / 4 * 3 | 0;\n }\n\n decodedLength(s: string): number {\n return this.maxDecodedLength(s.length - this._getPaddingLength(s));\n }\n\n decode(s: string): Uint8Array {\n if (s.length === 0) {\n return new Uint8Array(0);\n }\n const paddingLength = this._getPaddingLength(s);\n const length = s.length - paddingLength;\n const out = new Uint8Array(this.maxDecodedLength(length));\n let op = 0;\n let i = 0;\n let haveBad = 0;\n let v0 = 0, v1 = 0, v2 = 0, v3 = 0;\n for (; i < length - 4; i += 4) {\n v0 = this._decodeChar(s.charCodeAt(i + 0));\n v1 = this._decodeChar(s.charCodeAt(i + 1));\n v2 = this._decodeChar(s.charCodeAt(i + 2));\n v3 = this._decodeChar(s.charCodeAt(i + 3));\n out[op++] = (v0 << 2) | (v1 >>> 4);\n out[op++] = (v1 << 4) | (v2 >>> 2);\n out[op++] = (v2 << 6) | v3;\n haveBad |= v0 & INVALID_BYTE;\n haveBad |= v1 & INVALID_BYTE;\n haveBad |= v2 & INVALID_BYTE;\n haveBad |= v3 & INVALID_BYTE;\n }\n if (i < length - 1) {\n v0 = this._decodeChar(s.charCodeAt(i));\n v1 = this._decodeChar(s.charCodeAt(i + 1));\n out[op++] = (v0 << 2) | (v1 >>> 4);\n haveBad |= v0 & INVALID_BYTE;\n haveBad |= v1 & INVALID_BYTE;\n }\n if (i < length - 2) {\n v2 = this._decodeChar(s.charCodeAt(i + 2));\n out[op++] = (v1 << 4) | (v2 >>> 2);\n haveBad |= v2 & INVALID_BYTE;\n }\n if (i < length - 3) {\n v3 = this._decodeChar(s.charCodeAt(i + 3));\n out[op++] = (v2 << 6) | v3;\n haveBad |= v3 & INVALID_BYTE;\n }\n if (haveBad !== 0) {\n throw new Error(\"Base64Coder: incorrect characters for decoding\");\n }\n return out;\n }\n\n // Standard encoding have the following encoded/decoded ranges,\n // which we need to convert between.\n //\n // ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 + /\n // Index: 0 - 25 26 - 51 52 - 61 62 63\n // ASCII: 65 - 90 97 - 122 48 - 57 43 47\n //\n\n // Encode 6 bits in b into a new character.\n protected _encodeByte(b: number): string {\n // Encoding uses constant time operations as follows:\n //\n // 1. Define comparison of A with B using (A - B) >>> 8:\n // if A > B, then result is positive integer\n // if A <= B, then result is 0\n //\n // 2. Define selection of C or 0 using bitwise AND: X & C:\n // if X == 0, then result is 0\n // if X != 0, then result is C\n //\n // 3. Start with the smallest comparison (b >= 0), which is always\n // true, so set the result to the starting ASCII value (65).\n //\n // 4. Continue comparing b to higher ASCII values, and selecting\n // zero if comparison isn't true, otherwise selecting a value\n // to add to result, which:\n //\n // a) undoes the previous addition\n // b) provides new value to add\n //\n let result = b;\n // b >= 0\n result += 65;\n // b > 25\n result += ((25 - b) >>> 8) & ((0 - 65) - 26 + 97);\n // b > 51\n result += ((51 - b) >>> 8) & ((26 - 97) - 52 + 48);\n // b > 61\n result += ((61 - b) >>> 8) & ((52 - 48) - 62 + 43);\n // b > 62\n result += ((62 - b) >>> 8) & ((62 - 43) - 63 + 47);\n\n return String.fromCharCode(result);\n }\n\n // Decode a character code into a byte.\n // Must return 256 if character is out of alphabet range.\n protected _decodeChar(c: number): number {\n // Decoding works similar to encoding: using the same comparison\n // function, but now it works on ranges: result is always incremented\n // by value, but this value becomes zero if the range is not\n // satisfied.\n //\n // Decoding starts with invalid value, 256, which is then\n // subtracted when the range is satisfied. If none of the ranges\n // apply, the function returns 256, which is then checked by\n // the caller to throw error.\n let result = INVALID_BYTE; // start with invalid character\n\n // c == 43 (c > 42 and c < 44)\n result += (((42 - c) & (c - 44)) >>> 8) & (-INVALID_BYTE + c - 43 + 62);\n // c == 47 (c > 46 and c < 48)\n result += (((46 - c) & (c - 48)) >>> 8) & (-INVALID_BYTE + c - 47 + 63);\n // c > 47 and c < 58\n result += (((47 - c) & (c - 58)) >>> 8) & (-INVALID_BYTE + c - 48 + 52);\n // c > 64 and c < 91\n result += (((64 - c) & (c - 91)) >>> 8) & (-INVALID_BYTE + c - 65 + 0);\n // c > 96 and c < 123\n result += (((96 - c) & (c - 123)) >>> 8) & (-INVALID_BYTE + c - 97 + 26);\n\n return result;\n }\n\n private _getPaddingLength(s: string): number {\n let paddingLength = 0;\n if (this._paddingCharacter) {\n for (let i = s.length - 1; i >= 0; i--) {\n if (s[i] !== this._paddingCharacter) {\n break;\n }\n paddingLength++;\n }\n if (s.length < 4 || paddingLength > 2) {\n throw new Error(\"Base64Coder: incorrect padding\");\n }\n }\n return paddingLength;\n }\n\n}\n\nconst stdCoder = new Coder();\n\nexport function encode(data: Uint8Array): string {\n return stdCoder.encode(data);\n}\n\nexport function decode(s: string): Uint8Array {\n return stdCoder.decode(s);\n}\n\n/**\n * Implements URL-safe Base64 encoding.\n * (Same as Base64, but '+' is replaced with '-', and '/' with '_').\n *\n * Operates in constant time.\n */\nexport class URLSafeCoder extends Coder {\n // URL-safe encoding have the following encoded/decoded ranges:\n //\n // ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 - _\n // Index: 0 - 25 26 - 51 52 - 61 62 63\n // ASCII: 65 - 90 97 - 122 48 - 57 45 95\n //\n\n protected _encodeByte(b: number): string {\n let result = b;\n // b >= 0\n result += 65;\n // b > 25\n result += ((25 - b) >>> 8) & ((0 - 65) - 26 + 97);\n // b > 51\n result += ((51 - b) >>> 8) & ((26 - 97) - 52 + 48);\n // b > 61\n result += ((61 - b) >>> 8) & ((52 - 48) - 62 + 45);\n // b > 62\n result += ((62 - b) >>> 8) & ((62 - 45) - 63 + 95);\n\n return String.fromCharCode(result);\n }\n\n protected _decodeChar(c: number): number {\n let result = INVALID_BYTE;\n\n // c == 45 (c > 44 and c < 46)\n result += (((44 - c) & (c - 46)) >>> 8) & (-INVALID_BYTE + c - 45 + 62);\n // c == 95 (c > 94 and c < 96)\n result += (((94 - c) & (c - 96)) >>> 8) & (-INVALID_BYTE + c - 95 + 63);\n // c > 47 and c < 58\n result += (((47 - c) & (c - 58)) >>> 8) & (-INVALID_BYTE + c - 48 + 52);\n // c > 64 and c < 91\n result += (((64 - c) & (c - 91)) >>> 8) & (-INVALID_BYTE + c - 65 + 0);\n // c > 96 and c < 123\n result += (((96 - c) & (c - 123)) >>> 8) & (-INVALID_BYTE + c - 97 + 26);\n\n return result;\n }\n}\n\nconst urlSafeCoder = new URLSafeCoder();\n\nexport function encodeURLSafe(data: Uint8Array): string {\n return urlSafeCoder.encode(data);\n}\n\nexport function decodeURLSafe(s: string): Uint8Array {\n return urlSafeCoder.decode(s);\n}\n\n\nexport const encodedLength = (length: number) =>\n stdCoder.encodedLength(length);\n\nexport const maxDecodedLength = (length: number) =>\n stdCoder.maxDecodedLength(length);\n\nexport const decodedLength = (s: string) =>\n stdCoder.decodedLength(s);\n","(function (root, factory) {\n // Hack to make all exports of this module sha256 function object properties.\n var exports = {};\n factory(exports);\n var sha256 = exports[\"default\"];\n for (var k in exports) {\n sha256[k] = exports[k];\n }\n \n if (typeof module === 'object' && typeof module.exports === 'object') {\n module.exports = sha256;\n } else if (typeof define === 'function' && define.amd) {\n define(function() { return sha256; }); \n } else {\n root.sha256 = sha256;\n }\n})(this, function(exports) {\n\"use strict\";\nexports.__esModule = true;\n// SHA-256 (+ HMAC and PBKDF2) for JavaScript.\n//\n// Written in 2014-2016 by Dmitry Chestnykh.\n// Public domain, no warranty.\n//\n// Functions (accept and return Uint8Arrays):\n//\n// sha256(message) -> hash\n// sha256.hmac(key, message) -> mac\n// sha256.pbkdf2(password, salt, rounds, dkLen) -> dk\n//\n// Classes:\n//\n// new sha256.Hash()\n// new sha256.HMAC(key)\n//\nexports.digestLength = 32;\nexports.blockSize = 64;\n// SHA-256 constants\nvar K = new Uint32Array([\n 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b,\n 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01,\n 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7,\n 0xc19bf174, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc,\n 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, 0x983e5152,\n 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147,\n 0x06ca6351, 0x14292967, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc,\n 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,\n 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819,\n 0xd6990624, 0xf40e3585, 0x106aa070, 0x19a4c116, 0x1e376c08,\n 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f,\n 0x682e6ff3, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,\n 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2\n]);\nfunction hashBlocks(w, v, p, pos, len) {\n var a, b, c, d, e, f, g, h, u, i, j, t1, t2;\n while (len >= 64) {\n a = v[0];\n b = v[1];\n c = v[2];\n d = v[3];\n e = v[4];\n f = v[5];\n g = v[6];\n h = v[7];\n for (i = 0; i < 16; i++) {\n j = pos + i * 4;\n w[i] = (((p[j] & 0xff) << 24) | ((p[j + 1] & 0xff) << 16) |\n ((p[j + 2] & 0xff) << 8) | (p[j + 3] & 0xff));\n }\n for (i = 16; i < 64; i++) {\n u = w[i - 2];\n t1 = (u >>> 17 | u << (32 - 17)) ^ (u >>> 19 | u << (32 - 19)) ^ (u >>> 10);\n u = w[i - 15];\n t2 = (u >>> 7 | u << (32 - 7)) ^ (u >>> 18 | u << (32 - 18)) ^ (u >>> 3);\n w[i] = (t1 + w[i - 7] | 0) + (t2 + w[i - 16] | 0);\n }\n for (i = 0; i < 64; i++) {\n t1 = (((((e >>> 6 | e << (32 - 6)) ^ (e >>> 11 | e << (32 - 11)) ^\n (e >>> 25 | e << (32 - 25))) + ((e & f) ^ (~e & g))) | 0) +\n ((h + ((K[i] + w[i]) | 0)) | 0)) | 0;\n t2 = (((a >>> 2 | a << (32 - 2)) ^ (a >>> 13 | a << (32 - 13)) ^\n (a >>> 22 | a << (32 - 22))) + ((a & b) ^ (a & c) ^ (b & c))) | 0;\n h = g;\n g = f;\n f = e;\n e = (d + t1) | 0;\n d = c;\n c = b;\n b = a;\n a = (t1 + t2) | 0;\n }\n v[0] += a;\n v[1] += b;\n v[2] += c;\n v[3] += d;\n v[4] += e;\n v[5] += f;\n v[6] += g;\n v[7] += h;\n pos += 64;\n len -= 64;\n }\n return pos;\n}\n// Hash implements SHA256 hash algorithm.\nvar Hash = /** @class */ (function () {\n function Hash() {\n this.digestLength = exports.digestLength;\n this.blockSize = exports.blockSize;\n // Note: Int32Array is used instead of Uint32Array for performance reasons.\n this.state = new Int32Array(8); // hash state\n this.temp = new Int32Array(64); // temporary state\n this.buffer = new Uint8Array(128); // buffer for data to hash\n this.bufferLength = 0; // number of bytes in buffer\n this.bytesHashed = 0; // number of total bytes hashed\n this.finished = false; // indicates whether the hash was finalized\n this.reset();\n }\n // Resets hash state making it possible\n // to re-use this instance to hash other data.\n Hash.prototype.reset = function () {\n this.state[0] = 0x6a09e667;\n this.state[1] = 0xbb67ae85;\n this.state[2] = 0x3c6ef372;\n this.state[3] = 0xa54ff53a;\n this.state[4] = 0x510e527f;\n this.state[5] = 0x9b05688c;\n this.state[6] = 0x1f83d9ab;\n this.state[7] = 0x5be0cd19;\n this.bufferLength = 0;\n this.bytesHashed = 0;\n this.finished = false;\n return this;\n };\n // Cleans internal buffers and re-initializes hash state.\n Hash.prototype.clean = function () {\n for (var i = 0; i < this.buffer.length; i++) {\n this.buffer[i] = 0;\n }\n for (var i = 0; i < this.temp.length; i++) {\n this.temp[i] = 0;\n }\n this.reset();\n };\n // Updates hash state with the given data.\n //\n // Optionally, length of the data can be specified to hash\n // fewer bytes than data.length.\n //\n // Throws error when trying to update already finalized hash:\n // instance must be reset to use it again.\n Hash.prototype.update = function (data, dataLength) {\n if (dataLength === void 0) { dataLength = data.length; }\n if (this.finished) {\n throw new Error(\"SHA256: can't update because hash was finished.\");\n }\n var dataPos = 0;\n this.bytesHashed += dataLength;\n if (this.bufferLength > 0) {\n while (this.bufferLength < 64 && dataLength > 0) {\n this.buffer[this.bufferLength++] = data[dataPos++];\n dataLength--;\n }\n if (this.bufferLength === 64) {\n hashBlocks(this.temp, this.state, this.buffer, 0, 64);\n this.bufferLength = 0;\n }\n }\n if (dataLength >= 64) {\n dataPos = hashBlocks(this.temp, this.state, data, dataPos, dataLength);\n dataLength %= 64;\n }\n while (dataLength > 0) {\n this.buffer[this.bufferLength++] = data[dataPos++];\n dataLength--;\n }\n return this;\n };\n // Finalizes hash state and puts hash into out.\n //\n // If hash was already finalized, puts the same value.\n Hash.prototype.finish = function (out) {\n if (!this.finished) {\n var bytesHashed = this.bytesHashed;\n var left = this.bufferLength;\n var bitLenHi = (bytesHashed / 0x20000000) | 0;\n var bitLenLo = bytesHashed << 3;\n var padLength = (bytesHashed % 64 < 56) ? 64 : 128;\n this.buffer[left] = 0x80;\n for (var i = left + 1; i < padLength - 8; i++) {\n this.buffer[i] = 0;\n }\n this.buffer[padLength - 8] = (bitLenHi >>> 24) & 0xff;\n this.buffer[padLength - 7] = (bitLenHi >>> 16) & 0xff;\n this.buffer[padLength - 6] = (bitLenHi >>> 8) & 0xff;\n this.buffer[padLength - 5] = (bitLenHi >>> 0) & 0xff;\n this.buffer[padLength - 4] = (bitLenLo >>> 24) & 0xff;\n this.buffer[padLength - 3] = (bitLenLo >>> 16) & 0xff;\n this.buffer[padLength - 2] = (bitLenLo >>> 8) & 0xff;\n this.buffer[padLength - 1] = (bitLenLo >>> 0) & 0xff;\n hashBlocks(this.temp, this.state, this.buffer, 0, padLength);\n this.finished = true;\n }\n for (var i = 0; i < 8; i++) {\n out[i * 4 + 0] = (this.state[i] >>> 24) & 0xff;\n out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;\n out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;\n out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;\n }\n return this;\n };\n // Returns the final hash digest.\n Hash.prototype.digest = function () {\n var out = new Uint8Array(this.digestLength);\n this.finish(out);\n return out;\n };\n // Internal function for use in HMAC for optimization.\n Hash.prototype._saveState = function (out) {\n for (var i = 0; i < this.state.length; i++) {\n out[i] = this.state[i];\n }\n };\n // Internal function for use in HMAC for optimization.\n Hash.prototype._restoreState = function (from, bytesHashed) {\n for (var i = 0; i < this.state.length; i++) {\n this.state[i] = from[i];\n }\n this.bytesHashed = bytesHashed;\n this.finished = false;\n this.bufferLength = 0;\n };\n return Hash;\n}());\nexports.Hash = Hash;\n// HMAC implements HMAC-SHA256 message authentication algorithm.\nvar HMAC = /** @class */ (function () {\n function HMAC(key) {\n this.inner = new Hash();\n this.outer = new Hash();\n this.blockSize = this.inner.blockSize;\n this.digestLength = this.inner.digestLength;\n var pad = new Uint8Array(this.blockSize);\n if (key.length > this.blockSize) {\n (new Hash()).update(key).finish(pad).clean();\n }\n else {\n for (var i = 0; i < key.length; i++) {\n pad[i] = key[i];\n }\n }\n for (var i = 0; i < pad.length; i++) {\n pad[i] ^= 0x36;\n }\n this.inner.update(pad);\n for (var i = 0; i < pad.length; i++) {\n pad[i] ^= 0x36 ^ 0x5c;\n }\n this.outer.update(pad);\n this.istate = new Uint32Array(8);\n this.ostate = new Uint32Array(8);\n this.inner._saveState(this.istate);\n this.outer._saveState(this.ostate);\n for (var i = 0; i < pad.length; i++) {\n pad[i] = 0;\n }\n }\n // Returns HMAC state to the state initialized with key\n // to make it possible to run HMAC over the other data with the same\n // key without creating a new instance.\n HMAC.prototype.reset = function () {\n this.inner._restoreState(this.istate, this.inner.blockSize);\n this.outer._restoreState(this.ostate, this.outer.blockSize);\n return this;\n };\n // Cleans HMAC state.\n HMAC.prototype.clean = function () {\n for (var i = 0; i < this.istate.length; i++) {\n this.ostate[i] = this.istate[i] = 0;\n }\n this.inner.clean();\n this.outer.clean();\n };\n // Updates state with provided data.\n HMAC.prototype.update = function (data) {\n this.inner.update(data);\n return this;\n };\n // Finalizes HMAC and puts the result in out.\n HMAC.prototype.finish = function (out) {\n if (this.outer.finished) {\n this.outer.finish(out);\n }\n else {\n this.inner.finish(out);\n this.outer.update(out, this.digestLength).finish(out);\n }\n return this;\n };\n // Returns message authentication code.\n HMAC.prototype.digest = function () {\n var out = new Uint8Array(this.digestLength);\n this.finish(out);\n return out;\n };\n return HMAC;\n}());\nexports.HMAC = HMAC;\n// Returns SHA256 hash of data.\nfunction hash(data) {\n var h = (new Hash()).update(data);\n var digest = h.digest();\n h.clean();\n return digest;\n}\nexports.hash = hash;\n// Function hash is both available as module.hash and as default export.\nexports[\"default\"] = hash;\n// Returns HMAC-SHA256 of data under the key.\nfunction hmac(key, data) {\n var h = (new HMAC(key)).update(data);\n var digest = h.digest();\n h.clean();\n return digest;\n}\nexports.hmac = hmac;\n// Fills hkdf buffer like this:\n// T(1) = HMAC-Hash(PRK, T(0) | info | 0x01)\nfunction fillBuffer(buffer, hmac, info, counter) {\n // Counter is a byte value: check if it overflowed.\n var num = counter[0];\n if (num === 0) {\n throw new Error(\"hkdf: cannot expand more\");\n }\n // Prepare HMAC instance for new data with old key.\n hmac.reset();\n // Hash in previous output if it was generated\n // (i.e. counter is greater than 1).\n if (num > 1) {\n hmac.update(buffer);\n }\n // Hash in info if it exists.\n if (info) {\n hmac.update(info);\n }\n // Hash in the counter.\n hmac.update(counter);\n // Output result to buffer and clean HMAC instance.\n hmac.finish(buffer);\n // Increment counter inside typed array, this works properly.\n counter[0]++;\n}\nvar hkdfSalt = new Uint8Array(exports.digestLength); // Filled with zeroes.\nfunction hkdf(key, salt, info, length) {\n if (salt === void 0) { salt = hkdfSalt; }\n if (length === void 0) { length = 32; }\n var counter = new Uint8Array([1]);\n // HKDF-Extract uses salt as HMAC key, and key as data.\n var okm = hmac(salt, key);\n // Initialize HMAC for expanding with extracted key.\n // Ensure no collisions with `hmac` function.\n var hmac_ = new HMAC(okm);\n // Allocate buffer.\n var buffer = new Uint8Array(hmac_.digestLength);\n var bufpos = buffer.length;\n var out = new Uint8Array(length);\n for (var i = 0; i < length; i++) {\n if (bufpos === buffer.length) {\n fillBuffer(buffer, hmac_, info, counter);\n bufpos = 0;\n }\n out[i] = buffer[bufpos++];\n }\n hmac_.clean();\n buffer.fill(0);\n counter.fill(0);\n return out;\n}\nexports.hkdf = hkdf;\n// Derives a key from password and salt using PBKDF2-HMAC-SHA256\n// with the given number of iterations.\n//\n// The number of bytes returned is equal to dkLen.\n//\n// (For better security, avoid dkLen greater than hash length - 32 bytes).\nfunction pbkdf2(password, salt, iterations, dkLen) {\n var prf = new HMAC(password);\n var len = prf.digestLength;\n var ctr = new Uint8Array(4);\n var t = new Uint8Array(len);\n var u = new Uint8Array(len);\n var dk = new Uint8Array(dkLen);\n for (var i = 0; i * len < dkLen; i++) {\n var c = i + 1;\n ctr[0] = (c >>> 24) & 0xff;\n ctr[1] = (c >>> 16) & 0xff;\n ctr[2] = (c >>> 8) & 0xff;\n ctr[3] = (c >>> 0) & 0xff;\n prf.reset();\n prf.update(salt);\n prf.update(ctr);\n prf.finish(u);\n for (var j = 0; j < len; j++) {\n t[j] = u[j];\n }\n for (var j = 2; j <= iterations; j++) {\n prf.reset();\n prf.update(u).finish(u);\n for (var k = 0; k < len; k++) {\n t[k] ^= u[k];\n }\n }\n for (var j = 0; j < len && i * len + j < dkLen; j++) {\n dk[i * len + j] = t[j];\n }\n }\n for (var i = 0; i < len; i++) {\n t[i] = u[i] = 0;\n }\n for (var i = 0; i < 4; i++) {\n ctr[i] = 0;\n }\n prf.clean();\n return dk;\n}\nexports.pbkdf2 = pbkdf2;\n});\n","import { timingSafeEqual } from \"./timing_safe_equal\";\nimport * as base64 from \"@stablelib/base64\";\nimport * as sha256 from \"fast-sha256\";\n\nconst WEBHOOK_TOLERANCE_IN_SECONDS = 5 * 60; // 5 minutes\n\nclass ExtendableError extends Error {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n constructor(message: any) {\n super(message);\n Object.setPrototypeOf(this, ExtendableError.prototype);\n this.name = \"ExtendableError\";\n this.stack = new Error(message).stack;\n }\n}\n\nexport class WebhookVerificationError extends ExtendableError {\n constructor(message: string) {\n super(message);\n Object.setPrototypeOf(this, WebhookVerificationError.prototype);\n this.name = \"WebhookVerificationError\";\n }\n}\n\nexport interface WebhookRequiredHeaders {\n \"svix-id\": string;\n \"svix-timestamp\": string;\n \"svix-signature\": string;\n}\n\nexport interface WebhookUnbrandedRequiredHeaders {\n \"webhook-id\": string;\n \"webhook-timestamp\": string;\n \"webhook-signature\": string;\n}\n\nexport interface WebhookOptions {\n format?: \"raw\";\n}\n\nexport class Webhook {\n private static prefix = \"whsec_\";\n private readonly key: Uint8Array;\n\n constructor(secret: string | Uint8Array, options?: WebhookOptions) {\n if (!secret) {\n throw new Error(\"Secret can't be empty.\");\n }\n if (options?.format === \"raw\") {\n if (secret instanceof Uint8Array) {\n this.key = secret;\n } else {\n this.key = Uint8Array.from(secret, (c) => c.charCodeAt(0));\n }\n } else {\n if (typeof secret !== \"string\") {\n throw new Error(\"Expected secret to be of type string\");\n }\n if (secret.startsWith(Webhook.prefix)) {\n secret = secret.substring(Webhook.prefix.length);\n }\n this.key = base64.decode(secret);\n }\n }\n\n public verify(\n payload: string | Buffer,\n headers_:\n | WebhookRequiredHeaders\n | WebhookUnbrandedRequiredHeaders\n | Record<string, string>\n ): unknown {\n const headers: Record<string, string> = {};\n for (const key of Object.keys(headers_)) {\n headers[key.toLowerCase()] = (headers_ as Record<string, string>)[key];\n }\n\n let msgId = headers[\"svix-id\"];\n let msgSignature = headers[\"svix-signature\"];\n let msgTimestamp = headers[\"svix-timestamp\"];\n\n if (!msgSignature || !msgId || !msgTimestamp) {\n msgId = headers[\"webhook-id\"];\n msgSignature = headers[\"webhook-signature\"];\n msgTimestamp = headers[\"webhook-timestamp\"];\n\n if (!msgSignature || !msgId || !msgTimestamp) {\n throw new WebhookVerificationError(\"Missing required headers\");\n }\n }\n\n const timestamp = this.verifyTimestamp(msgTimestamp);\n\n const computedSignature = this.sign(msgId, timestamp, payload);\n const expectedSignature = computedSignature.split(\",\")[1];\n\n const passedSignatures = msgSignature.split(\" \");\n\n const encoder = new globalThis.TextEncoder();\n for (const versionedSignature of passedSignatures) {\n const [version, signature] = versionedSignature.split(\",\");\n if (version !== \"v1\") {\n continue;\n }\n\n if (timingSafeEqual(encoder.encode(signature), encoder.encode(expectedSignature))) {\n return JSON.parse(payload.toString());\n }\n }\n throw new WebhookVerificationError(\"No matching signature found\");\n }\n\n public sign(msgId: string, timestamp: Date, payload: string | Buffer): string {\n if (typeof payload === \"string\") {\n // Do nothing, already a string\n } else if (payload.constructor.name === \"Buffer\") {\n payload = payload.toString();\n } else {\n throw new Error(\n \"Expected payload to be of type string or Buffer. Please refer to https://docs.svix.com/receiving/verifying-payloads/how for more information.\"\n );\n }\n\n const encoder = new TextEncoder();\n const timestampNumber = Math.floor(timestamp.getTime() / 1000);\n const toSign = encoder.encode(`${msgId}.${timestampNumber}.${payload}`);\n const expectedSignature = base64.encode(sha256.hmac(this.key, toSign));\n return `v1,${expectedSignature}`;\n }\n\n private verifyTimestamp(timestampHeader: string): Date {\n const now = Math.floor(Date.now() / 1000);\n const timestamp = parseInt(timestampHeader, 10);\n if (isNaN(timestamp)) {\n throw new WebhookVerificationError(\"Invalid Signature Headers\");\n }\n\n if (now - timestamp > WEBHOOK_TOLERANCE_IN_SECONDS) {\n throw new WebhookVerificationError(\"Message timestamp too old\");\n }\n if (timestamp > now + WEBHOOK_TOLERANCE_IN_SECONDS) {\n throw new WebhookVerificationError(\"Message timestamp too new\");\n }\n return new Date(timestamp * 1000);\n }\n}\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n\nexport enum EndpointDisabledTrigger {\n Manual = \"manual\",\n Automatic = \"automatic\",\n}\n\nexport const EndpointDisabledTriggerSerializer = {\n _fromJsonObject(object: any): EndpointDisabledTrigger {\n return object;\n },\n\n _toJsonObject(self: EndpointDisabledTrigger): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/** Defines the ordering in a listing of results. */\nexport enum Ordering {\n Ascending = \"ascending\",\n Descending = \"descending\",\n}\n\nexport const OrderingSerializer = {\n _fromJsonObject(object: any): Ordering {\n return object;\n },\n\n _toJsonObject(self: Ordering): any {\n return self;\n },\n};\n","// this file is @generated\n/* eslint @typescript-eslint/no-explicit-any: 0 */\n/**\n * The different classes of HTTP status codes:\n *\n * - CodeNone = 0\n * - Code1xx = 100\n * - Code2xx = 200\n * - Code3xx = 300\n * - Code4xx = 400\n * - Code5xx = 500\n */\nexport enum StatusCodeClass {\n CodeNone = 0,\n Code1xx = 100,\n Code2xx = 200,\n Code3xx = 300,\n Code4xx = 400,\n Code5xx = 500,\n}\n\nexport const StatusCodeClassSerializer = {\n _fromJsonObject(object: any): StatusCodeClass {\n return object;\n },\n\n _toJsonObject(self: StatusCodeClass): any {\n return self;\n },\n};\n","// this file is @generated\nexport { AdobeSignConfig } from \"./adobeSignConfig\";\nexport { AdobeSignConfigOut } from \"./adobeSignConfigOut\";\nexport { AggregateEventTypesOut } from \"./aggregateEventTypesOut\";\nexport { AirwallexConfig } from \"./airwallexConfig\";\nexport { AirwallexConfigOut } from \"./airwallexConfigOut\";\nexport { AppPortalAccessIn } from \"./appPortalAccessIn\";\nexport { AppPortalAccessOut } from \"./appPortalAccessOut\";\nexport { AppPortalCapability } from \"./appPortalCapability\";\nexport { AppUsageStatsIn } from \"./appUsageStatsIn\";\nexport { AppUsageStatsOut } from \"./appUsageStatsOut\";\nexport { ApplicationIn } from \"./applicationIn\";\nexport { ApplicationOut } from \"./applicationOut\";\nexport { ApplicationPatch } from \"./applicationPatch\";\nexport { ApplicationTokenExpireIn } from \"./applicationTokenExpireIn\";\nexport { BackgroundTaskFinishedEvent } from \"./backgroundTaskFinishedEvent\";\nexport { BackgroundTaskFinishedEvent2 } from \"./backgroundTaskFinishedEvent2\";\nexport { BackgroundTaskOut } from \"./backgroundTaskOut\";\nexport { BackgroundTaskStatus } from \"./backgroundTaskStatus\";\nexport { BackgroundTaskType } from \"./backgroundTaskType\";\nexport { CheckbookConfig } from \"./checkbookConfig\";\nexport { CheckbookConfigOut } from \"./checkbookConfigOut\";\nexport { ConnectorIn } from \"./connectorIn\";\nexport { ConnectorKind } from \"./connectorKind\";\nexport { ConnectorOut } from \"./connectorOut\";\nexport { CronConfig } from \"./cronConfig\";\nexport { DashboardAccessOut } from \"./dashboardAccessOut\";\nexport { DocusignConfig } from \"./docusignConfig\";\nexport { DocusignConfigOut } from \"./docusignConfigOut\";\nexport { EasypostConfig } from \"./easypostConfig\";\nexport { EasypostConfigOut } from \"./easypostConfigOut\";\nexport { EndpointCreatedEvent } from \"./endpointCreatedEvent\";\nexport { EndpointCreatedEventData } from \"./endpointCreatedEventData\";\nexport { EndpointDeletedEvent } from \"./endpointDeletedEvent\";\nexport { EndpointDeletedEventData } from \"./endpointDeletedEventData\";\nexport { EndpointDisabledEvent } from \"./endpointDisabledEvent\";\nexport { EndpointDisabledEventData } from \"./endpointDisabledEventData\";\nexport { EndpointDisabledTrigger } from \"./endpointDisabledTrigger\";\nexport { EndpointEnabledEvent } from \"./endpointEnabledEvent\";\nexport { EndpointEnabledEventData } from \"./endpointEnabledEventData\";\nexport { EndpointHeadersIn } from \"./endpointHeadersIn\";\nexport { EndpointHeadersOut } from \"./endpointHeadersOut\";\nexport { EndpointHeadersPatchIn } from \"./endpointHeadersPatchIn\";\nexport { EndpointIn } from \"./endpointIn\";\nexport { EndpointMessageOut } from \"./endpointMessageOut\";\nexport { EndpointOut } from \"./endpointOut\";\nexport { EndpointPatch } from \"./endpointPatch\";\nexport { EndpointSecretOut } from \"./endpointSecretOut\";\nexport { EndpointSecretRotateIn } from \"./endpointSecretRotateIn\";\nexport { EndpointStats } from \"./endpointStats\";\nexport { EndpointTransformationIn } from \"./endpointTransformationIn\";\nexport { EndpointTransformationOut } from \"./endpointTransformationOut\";\nexport { EndpointTransformationPatch } from \"./endpointTransformationPatch\";\nexport { EndpointUpdate } from \"./endpointUpdate\";\nexport { EndpointUpdatedEvent } from \"./endpointUpdatedEvent\";\nexport { EndpointUpdatedEventData } from \"./endpointUpdatedEventData\";\nexport { EnvironmentIn } from \"./environmentIn\";\nexport { EnvironmentOut } from \"./environmentOut\";\nexport { EventExampleIn } from \"./eventExampleIn\";\nexport { EventTypeFromOpenApi } from \"./eventTypeFromOpenApi\";\nexport { EventTypeImportOpenApiIn } from \"./eventTypeImportOpenApiIn\";\nexport { EventTypeImportOpenApiOut } from \"./eventTypeImportOpenApiOut\";\nexport { EventTypeImportOpenApiOutData } from \"./eventTypeImportOpenApiOutData\";\nexport { EventTypeIn } from \"./eventTypeIn\";\nexport { EventTypeOut } from \"./eventTypeOut\";\nexport { EventTypePatch } from \"./eventTypePatch\";\nexport { EventTypeUpdate } from \"./eventTypeUpdate\";\nexport { ExpungeAllContentsOut } from \"./expungeAllContentsOut\";\nexport { GithubConfig } from \"./githubConfig\";\nexport { GithubConfigOut } from \"./githubConfigOut\";\nexport { HubspotConfig } from \"./hubspotConfig\";\nexport { HubspotConfigOut } from \"./hubspotConfigOut\";\nexport { IngestEndpointHeadersIn } from \"./ingestEndpointHeadersIn\";\nexport { IngestEndpointHeadersOut } from \"./ingestEndpointHeadersOut\";\nexport { IngestEndpointIn } from \"./ingestEndpointIn\";\nexport { IngestEndpointOut } from \"./ingestEndpointOut\";\nexport { IngestEndpointSecretIn } from \"./ingestEndpointSecretIn\";\nexport { IngestEndpointSecretOut } from \"./ingestEndpointSecretOut\";\nexport { IngestEndpointTransformationOut } from \"./ingestEndpointTransformationOut\";\nexport { IngestEndpointTransformationPatch } from \"./ingestEndpointTransformationPatch\";\nexport { IngestEndpointUpdate } from \"./ingestEndpointUpdate\";\nexport { IngestSourceConsumerPortalAccessIn } from \"./ingestSourceConsumerPortalAccessIn\";\nexport { IngestSourceIn } from \"./ingestSourceIn\";\nexport { IngestSourceOut } from \"./ingestSourceOut\";\nexport { IntegrationIn } from \"./integrationIn\";\nexport { IntegrationKeyOut } from \"./integrationKeyOut\";\nexport { IntegrationOut } from \"./integrationOut\";\nexport { IntegrationUpdate } from \"./integrationUpdate\";\nexport { ListResponseApplicationOut } from \"./listResponseApplicationOut\";\nexport { ListResponseBackgroundTaskOut } from \"./listResponseBackgroundTaskOut\";\nexport { ListResponseEndpointMessageOut } from \"./listResponseEndpointMessageOut\";\nexport { ListResponseEndpointOut } from \"./listResponseEndpointOut\";\nexport { ListResponseEventTypeOut } from \"./listResponseEventTypeOut\";\nexport { ListResponseIngestEndpointOut } from \"./listResponseIngestEndpointOut\";\nexport { ListResponseIngestSourceOut } from \"./listResponseIngestSourceOut\";\nexport { ListResponseIntegrationOut } from \"./listResponseIntegrationOut\";\nexport { ListResponseMessageAttemptOut } from \"./listResponseMessageAttemptOut\";\nexport { ListResponseMessageEndpointOut } from \"./listResponseMessageEndpointOut\";\nexport { ListResponseMessageOut } from \"./listResponseMessageOut\";\nexport { ListResponseOperationalWebhookEndpointOut } from \"./listResponseOperationalWebhookEndpointOut\";\nexport { MessageAttemptExhaustedEvent } from \"./messageAttemptExhaustedEvent\";\nexport { MessageAttemptExhaustedEventData } from \"./messageAttemptExhaustedEventData\";\nexport { MessageAttemptFailedData } from \"./messageAttemptFailedData\";\nexport { MessageAttemptFailingEvent } from \"./messageAttemptFailingEvent\";\nexport { MessageAttemptFailingEventData } from \"./messageAttemptFailingEventData\";\nexport { MessageAttemptOut } from \"./messageAttemptOut\";\nexport { MessageAttemptRecoveredEvent } from \"./messageAttemptRecoveredEvent\";\nexport { MessageAttemptRecoveredEventData } from \"./messageAttemptRecoveredEventData\";\nexport { MessageAttemptTriggerType } from \"./messageAttemptTriggerType\";\nexport { MessageEndpointOut } from \"./messageEndpointOut\";\nexport { MessageIn } from \"./messageIn\";\nexport { MessageOut } from \"./messageOut\";\nexport { MessageStatus } from \"./messageStatus\";\nexport { MessageStatusText } from \"./messageStatusText\";\nexport { OperationalWebhookEndpointHeadersIn } from \"./operationalWebhookEndpointHeadersIn\";\nexport { OperationalWebhookEndpointHeadersOut } from \"./operationalWebhookEndpointHeadersOut\";\nexport { OperationalWebhookEndpointIn } from \"./operationalWebhookEndpointIn\";\nexport { OperationalWebhookEndpointOut } from \"./operationalWebhookEndpointOut\";\nexport { OperationalWebhookEndpointSecretIn } from \"./operationalWebhookEndpointSecretIn\";\nexport { OperationalWebhookEndpointSecretOut } from \"./operationalWebhookEndpointSecretOut\";\nexport { OperationalWebhookEndpointUpdate } from \"./operationalWebhookEndpointUpdate\";\nexport { Ordering } from \"./ordering\";\nexport { OrumIoConfig } from \"./orumIoConfig\";\nexport { OrumIoConfigOut } from \"./orumIoConfigOut\";\nexport { PandaDocConfig } from \"./pandaDocConfig\";\nexport { PandaDocConfigOut } from \"./pandaDocConfigOut\";\nexport { PollingEndpointConsumerSeekIn } from \"./pollingEndpointConsumerSeekIn\";\nexport { PollingEndpointConsumerSeekOut } from \"./pollingEndpointConsumerSeekOut\";\nexport { PollingEndpointMessageOut } from \"./pollingEndpointMessageOut\";\nexport { PollingEndpointOut } from \"./pollingEndpointOut\";\nexport { PortIoConfig } from \"./portIoConfig\";\nexport { PortIoConfigOut } from \"./portIoConfigOut\";\nexport { RecoverIn } from \"./recoverIn\";\nexport { RecoverOut } from \"./recoverOut\";\nexport { ReplayIn } from \"./replayIn\";\nexport { ReplayOut } from \"./replayOut\";\nexport { RotateTokenOut } from \"./rotateTokenOut\";\nexport { RutterConfig } from \"./rutterConfig\";\nexport { RutterConfigOut } from \"./rutterConfigOut\";\nexport { SegmentConfig } from \"./segmentConfig\";\nexport { SegmentConfigOut } from \"./segmentConfigOut\";\nexport { ShopifyConfig } from \"./shopifyConfig\";\nexport { ShopifyConfigOut } from \"./shopifyConfigOut\";\nexport { SlackConfig } from \"./slackConfig\";\nexport { SlackConfigOut } from \"./slackConfigOut\";\nexport { StatusCodeClass } from \"./statusCodeClass\";\nexport { StripeConfig } from \"./stripeConfig\";\nexport { StripeConfigOut } from \"./stripeConfigOut\";\nexport { SvixConfig } from \"./svixConfig\";\nexport { SvixConfigOut } from \"./svixConfigOut\";\nexport { TelnyxConfig } from \"./telnyxConfig\";\nexport { TelnyxConfigOut } from \"./telnyxConfigOut\";\nexport { VapiConfig } from \"./vapiConfig\";\nexport { VapiConfigOut } from \"./vapiConfigOut\";\nexport { VeriffConfig } from \"./veriffConfig\";\nexport { VeriffConfigOut } from \"./veriffConfigOut\";\nexport { ZoomConfig } from \"./zoomConfig\";\nexport { ZoomConfigOut } from \"./zoomConfigOut\";\n","// this file is @generated\nimport { Application } from \"./api/application\";\nimport { Authentication } from \"./api/authentication\";\nimport { BackgroundTask } from \"./api/backgroundTask\";\nimport { Endpoint } from \"./api/endpoint\";\nimport { Environment } from \"./api/environment\";\nimport { EventType } from \"./api/eventType\";\nimport { Health } from \"./api/health\";\nimport { Ingest } from \"./api/ingest\";\nimport { Integration } from \"./api/integration\";\nimport { Message } from \"./api/message\";\nimport { MessageAttempt } from \"./api/messageAttempt\";\nimport { OperationalWebhook } from \"./api/operationalWebhook\";\nimport { Statistics } from \"./api/statistics\";\nimport { OperationalWebhookEndpoint } from \"./api/operationalWebhookEndpoint\";\nimport { SvixRequestContext } from \"./request\";\n\nexport { PostOptions, ApiException } from \"./util\";\nexport { HTTPValidationError, HttpErrorOut, ValidationError } from \"./HttpErrors\";\nexport * from \"./webhook\";\nexport * from \"./models/index\";\nimport { XOR } from \"./util\";\n\nexport { ApplicationListOptions } from \"./api/application\";\nexport { BackgroundTaskListOptions } from \"./api/backgroundTask\";\nexport { EndpointListOptions, EndpointGetStatsOptions } from \"./api/endpoint\";\nexport { EventTypeListOptions } from \"./api/eventType\";\nexport { IntegrationListOptions } from \"./api/integration\";\nexport { MessageListOptions, messageInRaw } from \"./api/message\";\nexport { MessageAttemptListByEndpointOptions } from \"./api/messageAttempt\";\nexport { OperationalWebhookEndpointListOptions } from \"./api/operationalWebhookEndpoint\";\n\nexport type SvixOptions = {\n debug?: boolean;\n serverUrl?: string;\n /** Time in milliseconds to wait for requests to get a response. */\n requestTimeout?: number;\n} & XOR<\n {\n /** List of delays (in milliseconds) to wait before each retry attempt.*/\n retryScheduleInMs?: number[];\n },\n {\n /** The number of times the client will retry if a server-side error\n * or timeout is received.\n * Default: 2\n */\n numRetries?: number;\n }\n>;\n\nconst REGIONS = [\n { region: \"us\", url: \"https://api.us.svix.com\" },\n { region: \"eu\", url: \"https://api.eu.svix.com\" },\n { region: \"in\", url: \"https://api.in.svix.com\" },\n { region: \"ca\", url: \"https://api.ca.svix.com\" },\n { region: \"au\", url: \"https://api.au.svix.com\" },\n];\n\nexport class Svix {\n private readonly requestCtx: SvixRequestContext;\n\n public constructor(token: string, options: SvixOptions = {}) {\n const regionalUrl = REGIONS.find((x) => x.region === token.split(\".\")[1])?.url;\n const baseUrl: string = options.serverUrl ?? regionalUrl ?? \"https://api.svix.com\";\n\n if (options.retryScheduleInMs) {\n this.requestCtx = {\n baseUrl,\n token,\n timeout: options.requestTimeout,\n retryScheduleInMs: options.retryScheduleInMs,\n };\n return;\n }\n if (options.numRetries) {\n this.requestCtx = {\n baseUrl,\n token,\n timeout: options.requestTimeout,\n numRetries: options.numRetries,\n };\n return;\n }\n this.requestCtx = {\n baseUrl,\n token,\n timeout: options.requestTimeout,\n };\n }\n\n public get application() {\n return new Application(this.requestCtx);\n }\n\n public get authentication() {\n return new Authentication(this.requestCtx);\n }\n\n public get backgroundTask() {\n return new BackgroundTask(this.requestCtx);\n }\n\n public get endpoint() {\n return new Endpoint(this.requestCtx);\n }\n\n public get environment() {\n return new Environment(this.requestCtx);\n }\n\n public get eventType() {\n return new EventType(this.requestCtx);\n }\n\n public get health() {\n return new Health(this.requestCtx);\n }\n\n public get ingest() {\n return new Ingest(this.requestCtx);\n }\n\n public get integration() {\n return new Integration(this.requestCtx);\n }\n\n public get message() {\n return new Message(this.requestCtx);\n }\n\n public get messageAttempt() {\n return new MessageAttempt(this.requestCtx);\n }\n\n public get operationalWebhook() {\n return new OperationalWebhook(this.requestCtx);\n }\n\n public get statistics() {\n return new Statistics(this.requestCtx);\n }\n\n public get operationalWebhookEndpoint() {\n return new OperationalWebhookEndpoint(this.requestCtx);\n }\n}\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\n\n// package.json\nvar version = \"6.4.0\";\n\n// src/common/utils/build-pagination-query.ts\nfunction buildPaginationQuery(options) {\n const searchParams = new URLSearchParams();\n if (options.limit !== void 0) {\n searchParams.set(\"limit\", options.limit.toString());\n }\n if (\"after\" in options && options.after !== void 0) {\n searchParams.set(\"after\", options.after);\n }\n if (\"before\" in options && options.before !== void 0) {\n searchParams.set(\"before\", options.before);\n }\n return searchParams.toString();\n}\n\n// src/api-keys/api-keys.ts\nvar ApiKeys = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n const data = await this.resend.post(\n \"/api-keys\",\n payload,\n options\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/api-keys?${queryString}` : \"/api-keys\";\n const data = await this.resend.get(url);\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/api-keys/${id}`\n );\n return data;\n }\n};\n\n// src/common/utils/parse-email-to-api-options.ts\nfunction parseAttachments(attachments) {\n return attachments == null ? void 0 : attachments.map((attachment) => ({\n content: attachment.content,\n filename: attachment.filename,\n path: attachment.path,\n content_type: attachment.contentType,\n content_id: attachment.contentId\n }));\n}\nfunction parseEmailToApiOptions(email) {\n return {\n attachments: parseAttachments(email.attachments),\n bcc: email.bcc,\n cc: email.cc,\n from: email.from,\n headers: email.headers,\n html: email.html,\n reply_to: email.replyTo,\n scheduled_at: email.scheduledAt,\n subject: email.subject,\n tags: email.tags,\n text: email.text,\n to: email.to,\n template: email.template ? {\n id: email.template.id,\n variables: email.template.variables\n } : void 0,\n topic_id: email.topicId\n };\n}\n\n// src/render.ts\nasync function render(node) {\n let render2;\n try {\n ({ render: render2 } = await import(\"@react-email/render\"));\n } catch (e) {\n throw new Error(\n \"Failed to render React component. Make sure to install `@react-email/render` or `@react-email/components`.\"\n );\n }\n return render2(node);\n}\n\n// src/batch/batch.ts\nvar Batch = class {\n constructor(resend) {\n this.resend = resend;\n }\n async send(payload, options) {\n return this.create(payload, options);\n }\n async create(payload, options) {\n var _a;\n const emails = [];\n for (const email of payload) {\n if (email.react) {\n email.html = await render(email.react);\n email.react = void 0;\n }\n emails.push(parseEmailToApiOptions(email));\n }\n const data = await this.resend.post(\n \"/emails/batch\",\n emails,\n __spreadProps(__spreadValues({}, options), {\n headers: __spreadValues({\n \"x-batch-validation\": (_a = options == null ? void 0 : options.batchValidation) != null ? _a : \"strict\"\n }, options == null ? void 0 : options.headers)\n })\n );\n return data;\n }\n};\n\n// src/broadcasts/broadcasts.ts\nvar Broadcasts = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n if (payload.react) {\n payload.html = await render(payload.react);\n }\n const data = await this.resend.post(\n \"/broadcasts\",\n {\n name: payload.name,\n segment_id: payload.segmentId,\n audience_id: payload.audienceId,\n preview_text: payload.previewText,\n from: payload.from,\n html: payload.html,\n reply_to: payload.replyTo,\n subject: payload.subject,\n text: payload.text,\n topic_id: payload.topicId\n },\n options\n );\n return data;\n }\n async send(id, payload) {\n const data = await this.resend.post(\n `/broadcasts/${id}/send`,\n { scheduled_at: payload == null ? void 0 : payload.scheduledAt }\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/broadcasts?${queryString}` : \"/broadcasts\";\n const data = await this.resend.get(url);\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/broadcasts/${id}`\n );\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/broadcasts/${id}`\n );\n return data;\n }\n async update(id, payload) {\n if (payload.react) {\n payload.html = await render(payload.react);\n }\n const data = await this.resend.patch(\n `/broadcasts/${id}`,\n {\n name: payload.name,\n segment_id: payload.segmentId,\n audience_id: payload.audienceId,\n from: payload.from,\n html: payload.html,\n text: payload.text,\n subject: payload.subject,\n reply_to: payload.replyTo,\n preview_text: payload.previewText,\n topic_id: payload.topicId\n }\n );\n return data;\n }\n};\n\n// src/common/utils/parse-contact-properties-to-api-options.ts\nfunction parseContactPropertyFromApi(contactProperty) {\n return {\n id: contactProperty.id,\n key: contactProperty.key,\n object: contactProperty.object,\n createdAt: contactProperty.created_at,\n type: contactProperty.type,\n fallbackValue: contactProperty.fallback_value\n };\n}\nfunction parseContactPropertyToApiOptions(contactProperty) {\n if (\"key\" in contactProperty) {\n return {\n key: contactProperty.key,\n type: contactProperty.type,\n fallback_value: contactProperty.fallbackValue\n };\n }\n return {\n fallback_value: contactProperty.fallbackValue\n };\n}\n\n// src/contact-properties/contact-properties.ts\nvar ContactProperties = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(options) {\n const apiOptions = parseContactPropertyToApiOptions(options);\n const data = await this.resend.post(\n \"/contact-properties\",\n apiOptions\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/contact-properties?${queryString}` : \"/contact-properties\";\n const response = await this.resend.get(url);\n if (response.data) {\n return {\n data: __spreadProps(__spreadValues({}, response.data), {\n data: response.data.data.map(\n (apiContactProperty) => parseContactPropertyFromApi(apiContactProperty)\n )\n }),\n headers: response.headers,\n error: null\n };\n }\n return response;\n }\n async get(id) {\n if (!id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const response = await this.resend.get(\n `/contact-properties/${id}`\n );\n if (response.data) {\n return {\n data: parseContactPropertyFromApi(response.data),\n headers: response.headers,\n error: null\n };\n }\n return response;\n }\n async update(payload) {\n if (!payload.id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const apiOptions = parseContactPropertyToApiOptions(payload);\n const data = await this.resend.patch(\n `/contact-properties/${payload.id}`,\n apiOptions\n );\n return data;\n }\n async remove(id) {\n if (!id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const data = await this.resend.delete(\n `/contact-properties/${id}`\n );\n return data;\n }\n};\n\n// src/contacts/segments/contact-segments.ts\nvar ContactSegments = class {\n constructor(resend) {\n this.resend = resend;\n }\n async list(options) {\n if (!options.contactId && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = options.email ? options.email : options.contactId;\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/contacts/${identifier}/segments?${queryString}` : `/contacts/${identifier}/segments`;\n const data = await this.resend.get(url);\n return data;\n }\n async add(options) {\n if (!options.contactId && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = options.email ? options.email : options.contactId;\n return this.resend.post(\n `/contacts/${identifier}/segments/${options.segmentId}`\n );\n }\n async remove(options) {\n if (!options.contactId && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = options.email ? options.email : options.contactId;\n return this.resend.delete(\n `/contacts/${identifier}/segments/${options.segmentId}`\n );\n }\n};\n\n// src/contacts/topics/contact-topics.ts\nvar ContactTopics = class {\n constructor(resend) {\n this.resend = resend;\n }\n async update(payload) {\n if (!payload.id && !payload.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = payload.email ? payload.email : payload.id;\n return this.resend.patch(\n `/contacts/${identifier}/topics`,\n payload.topics\n );\n }\n async list(options) {\n if (!options.id && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const identifier = options.email ? options.email : options.id;\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/contacts/${identifier}/topics?${queryString}` : `/contacts/${identifier}/topics`;\n return this.resend.get(url);\n }\n};\n\n// src/contacts/contacts.ts\nvar Contacts = class {\n constructor(resend) {\n this.resend = resend;\n this.topics = new ContactTopics(this.resend);\n this.segments = new ContactSegments(this.resend);\n }\n async create(payload, options = {}) {\n if (!payload.audienceId) {\n const data2 = await this.resend.post(\n \"/contacts\",\n {\n unsubscribed: payload.unsubscribed,\n email: payload.email,\n first_name: payload.firstName,\n last_name: payload.lastName,\n properties: payload.properties\n },\n options\n );\n return data2;\n }\n const data = await this.resend.post(\n `/audiences/${payload.audienceId}/contacts`,\n {\n unsubscribed: payload.unsubscribed,\n email: payload.email,\n first_name: payload.firstName,\n last_name: payload.lastName\n },\n options\n );\n return data;\n }\n async list(options = {}) {\n if (!(\"audienceId\" in options) || options.audienceId === void 0) {\n const queryString2 = buildPaginationQuery(options);\n const url2 = queryString2 ? `/contacts?${queryString2}` : \"/contacts\";\n const data2 = await this.resend.get(url2);\n return data2;\n }\n const _a = options, { audienceId } = _a, paginationOptions = __objRest(_a, [\"audienceId\"]);\n const queryString = buildPaginationQuery(paginationOptions);\n const url = queryString ? `/audiences/${audienceId}/contacts?${queryString}` : `/audiences/${audienceId}/contacts`;\n const data = await this.resend.get(url);\n return data;\n }\n async get(options) {\n if (typeof options === \"string\") {\n return this.resend.get(`/contacts/${options}`);\n }\n if (!options.id && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n if (!options.audienceId) {\n return this.resend.get(\n `/contacts/${(options == null ? void 0 : options.email) ? options == null ? void 0 : options.email : options == null ? void 0 : options.id}`\n );\n }\n return this.resend.get(\n `/audiences/${options.audienceId}/contacts/${(options == null ? void 0 : options.email) ? options == null ? void 0 : options.email : options == null ? void 0 : options.id}`\n );\n }\n async update(options) {\n if (!options.id && !options.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n if (!options.audienceId) {\n const data2 = await this.resend.patch(\n `/contacts/${(options == null ? void 0 : options.email) ? options == null ? void 0 : options.email : options == null ? void 0 : options.id}`,\n {\n unsubscribed: options.unsubscribed,\n first_name: options.firstName,\n last_name: options.lastName,\n properties: options.properties\n }\n );\n return data2;\n }\n const data = await this.resend.patch(\n `/audiences/${options.audienceId}/contacts/${(options == null ? void 0 : options.email) ? options == null ? void 0 : options.email : options == null ? void 0 : options.id}`,\n {\n unsubscribed: options.unsubscribed,\n first_name: options.firstName,\n last_name: options.lastName\n }\n );\n return data;\n }\n async remove(payload) {\n if (typeof payload === \"string\") {\n return this.resend.delete(\n `/contacts/${payload}`\n );\n }\n if (!payload.id && !payload.email) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` or `email` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n if (!payload.audienceId) {\n return this.resend.delete(\n `/contacts/${(payload == null ? void 0 : payload.email) ? payload == null ? void 0 : payload.email : payload == null ? void 0 : payload.id}`\n );\n }\n return this.resend.delete(\n `/audiences/${payload.audienceId}/contacts/${(payload == null ? void 0 : payload.email) ? payload == null ? void 0 : payload.email : payload == null ? void 0 : payload.id}`\n );\n }\n};\n\n// src/common/utils/parse-domain-to-api-options.ts\nfunction parseDomainToApiOptions(domain) {\n return {\n name: domain.name,\n region: domain.region,\n custom_return_path: domain.customReturnPath\n };\n}\n\n// src/domains/domains.ts\nvar Domains = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n const data = await this.resend.post(\n \"/domains\",\n parseDomainToApiOptions(payload),\n options\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/domains?${queryString}` : \"/domains\";\n const data = await this.resend.get(url);\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/domains/${id}`\n );\n return data;\n }\n async update(payload) {\n const data = await this.resend.patch(\n `/domains/${payload.id}`,\n {\n click_tracking: payload.clickTracking,\n open_tracking: payload.openTracking,\n tls: payload.tls\n }\n );\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/domains/${id}`\n );\n return data;\n }\n async verify(id) {\n const data = await this.resend.post(\n `/domains/${id}/verify`\n );\n return data;\n }\n};\n\n// src/emails/attachments/attachments.ts\nvar Attachments = class {\n constructor(resend) {\n this.resend = resend;\n }\n async get(options) {\n const { emailId, id } = options;\n const data = await this.resend.get(\n `/emails/${emailId}/attachments/${id}`\n );\n return data;\n }\n async list(options) {\n const { emailId } = options;\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/emails/${emailId}/attachments?${queryString}` : `/emails/${emailId}/attachments`;\n const data = await this.resend.get(url);\n return data;\n }\n};\n\n// src/emails/receiving/attachments/attachments.ts\nvar Attachments2 = class {\n constructor(resend) {\n this.resend = resend;\n }\n async get(options) {\n const { emailId, id } = options;\n const data = await this.resend.get(\n `/emails/receiving/${emailId}/attachments/${id}`\n );\n return data;\n }\n async list(options) {\n const { emailId } = options;\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/emails/receiving/${emailId}/attachments?${queryString}` : `/emails/receiving/${emailId}/attachments`;\n const data = await this.resend.get(url);\n return data;\n }\n};\n\n// src/emails/receiving/receiving.ts\nvar Receiving = class {\n constructor(resend) {\n this.resend = resend;\n this.attachments = new Attachments2(resend);\n }\n async get(id) {\n const data = await this.resend.get(\n `/emails/receiving/${id}`\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/emails/receiving?${queryString}` : \"/emails/receiving\";\n const data = await this.resend.get(url);\n return data;\n }\n};\n\n// src/emails/emails.ts\nvar Emails = class {\n constructor(resend) {\n this.resend = resend;\n this.attachments = new Attachments(resend);\n this.receiving = new Receiving(resend);\n }\n async send(payload, options = {}) {\n return this.create(payload, options);\n }\n async create(payload, options = {}) {\n if (payload.react) {\n payload.html = await render(payload.react);\n }\n const data = await this.resend.post(\n \"/emails\",\n parseEmailToApiOptions(payload),\n options\n );\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/emails/${id}`\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/emails?${queryString}` : \"/emails\";\n const data = await this.resend.get(url);\n return data;\n }\n async update(payload) {\n const data = await this.resend.patch(\n `/emails/${payload.id}`,\n {\n scheduled_at: payload.scheduledAt\n }\n );\n return data;\n }\n async cancel(id) {\n const data = await this.resend.post(\n `/emails/${id}/cancel`\n );\n return data;\n }\n};\n\n// src/segments/segments.ts\nvar Segments = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n const data = await this.resend.post(\n \"/segments\",\n payload,\n options\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/segments?${queryString}` : \"/segments\";\n const data = await this.resend.get(url);\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/segments/${id}`\n );\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/segments/${id}`\n );\n return data;\n }\n};\n\n// src/common/utils/get-pagination-query-properties.ts\nfunction getPaginationQueryProperties(options = {}) {\n const query = new URLSearchParams();\n if (options.before) query.set(\"before\", options.before);\n if (options.after) query.set(\"after\", options.after);\n if (options.limit) query.set(\"limit\", options.limit.toString());\n return query.size > 0 ? `?${query.toString()}` : \"\";\n}\n\n// src/common/utils/parse-template-to-api-options.ts\nfunction parseVariables(variables) {\n return variables == null ? void 0 : variables.map((variable) => ({\n key: variable.key,\n type: variable.type,\n fallback_value: variable.fallbackValue\n }));\n}\nfunction parseTemplateToApiOptions(template) {\n return {\n name: \"name\" in template ? template.name : void 0,\n subject: template.subject,\n html: template.html,\n text: template.text,\n alias: template.alias,\n from: template.from,\n reply_to: template.replyTo,\n variables: parseVariables(template.variables)\n };\n}\n\n// src/templates/chainable-template-result.ts\nvar ChainableTemplateResult = class {\n constructor(promise, publishFn) {\n this.promise = promise;\n this.publishFn = publishFn;\n }\n // If user calls `then` or only awaits for the result of create() or duplicate(), the behavior should be\n // exactly as if they called create() or duplicate() directly. This will act as a normal promise\n // biome-ignore lint/suspicious/noThenProperty: This class intentionally implements PromiseLike\n then(onfulfilled, onrejected) {\n return this.promise.then(onfulfilled, onrejected);\n }\n async publish() {\n const { data, error } = await this.promise;\n if (error) {\n return {\n data: null,\n headers: null,\n error\n };\n }\n return this.publishFn(data.id);\n }\n};\n\n// src/templates/templates.ts\nvar Templates = class {\n constructor(resend) {\n this.resend = resend;\n }\n create(payload) {\n const createPromise = this.performCreate(payload);\n return new ChainableTemplateResult(createPromise, this.publish.bind(this));\n }\n // This creation process is being done separately from the public create so that\n // the user can chain the publish operation after the create operation. Otherwise, due\n // to the async nature of the renderAsync, the return type would be\n // Promise<ChainableTemplateResult<CreateTemplateResponse>> which wouldn't be chainable.\n async performCreate(payload) {\n if (payload.react) {\n if (!this.renderAsync) {\n try {\n const { renderAsync } = await import(\"@react-email/render\");\n this.renderAsync = renderAsync;\n } catch (e) {\n throw new Error(\n \"Failed to render React component. Make sure to install `@react-email/render`\"\n );\n }\n }\n payload.html = await this.renderAsync(\n payload.react\n );\n }\n return this.resend.post(\n \"/templates\",\n parseTemplateToApiOptions(payload)\n );\n }\n async remove(identifier) {\n const data = await this.resend.delete(\n `/templates/${identifier}`\n );\n return data;\n }\n async get(identifier) {\n const data = await this.resend.get(\n `/templates/${identifier}`\n );\n return data;\n }\n async list(options = {}) {\n return this.resend.get(\n `/templates${getPaginationQueryProperties(options)}`\n );\n }\n duplicate(identifier) {\n const promiseDuplicate = this.resend.post(\n `/templates/${identifier}/duplicate`\n );\n return new ChainableTemplateResult(\n promiseDuplicate,\n this.publish.bind(this)\n );\n }\n async publish(identifier) {\n const data = await this.resend.post(\n `/templates/${identifier}/publish`\n );\n return data;\n }\n async update(identifier, payload) {\n const data = await this.resend.patch(\n `/templates/${identifier}`,\n parseTemplateToApiOptions(payload)\n );\n return data;\n }\n};\n\n// src/topics/topics.ts\nvar Topics = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload) {\n const _a = payload, { defaultSubscription } = _a, body = __objRest(_a, [\"defaultSubscription\"]);\n const data = await this.resend.post(\"/topics\", __spreadProps(__spreadValues({}, body), {\n default_subscription: defaultSubscription\n }));\n return data;\n }\n async list() {\n const data = await this.resend.get(\"/topics\");\n return data;\n }\n async get(id) {\n if (!id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const data = await this.resend.get(\n `/topics/${id}`\n );\n return data;\n }\n async update(payload) {\n if (!payload.id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const data = await this.resend.patch(\n `/topics/${payload.id}`,\n payload\n );\n return data;\n }\n async remove(id) {\n if (!id) {\n return {\n data: null,\n headers: null,\n error: {\n message: \"Missing `id` field.\",\n statusCode: null,\n name: \"missing_required_field\"\n }\n };\n }\n const data = await this.resend.delete(\n `/topics/${id}`\n );\n return data;\n }\n};\n\n// src/webhooks/webhooks.ts\nimport { Webhook } from \"svix\";\nvar Webhooks = class {\n constructor(resend) {\n this.resend = resend;\n }\n async create(payload, options = {}) {\n const data = await this.resend.post(\n \"/webhooks\",\n payload,\n options\n );\n return data;\n }\n async get(id) {\n const data = await this.resend.get(\n `/webhooks/${id}`\n );\n return data;\n }\n async list(options = {}) {\n const queryString = buildPaginationQuery(options);\n const url = queryString ? `/webhooks?${queryString}` : \"/webhooks\";\n const data = await this.resend.get(url);\n return data;\n }\n async update(id, payload) {\n const data = await this.resend.patch(\n `/webhooks/${id}`,\n payload\n );\n return data;\n }\n async remove(id) {\n const data = await this.resend.delete(\n `/webhooks/${id}`\n );\n return data;\n }\n verify(payload) {\n const webhook = new Webhook(payload.webhookSecret);\n return webhook.verify(payload.payload, {\n \"svix-id\": payload.headers.id,\n \"svix-timestamp\": payload.headers.timestamp,\n \"svix-signature\": payload.headers.signature\n });\n }\n};\n\n// src/resend.ts\nvar defaultBaseUrl = \"https://api.resend.com\";\nvar defaultUserAgent = `resend-node:${version}`;\nvar baseUrl = typeof process !== \"undefined\" && process.env ? process.env.RESEND_BASE_URL || defaultBaseUrl : defaultBaseUrl;\nvar userAgent = typeof process !== \"undefined\" && process.env ? process.env.RESEND_USER_AGENT || defaultUserAgent : defaultUserAgent;\nvar Resend = class {\n constructor(key) {\n this.key = key;\n this.apiKeys = new ApiKeys(this);\n this.segments = new Segments(this);\n /**\n * @deprecated Use segments instead\n */\n this.audiences = this.segments;\n this.batch = new Batch(this);\n this.broadcasts = new Broadcasts(this);\n this.contacts = new Contacts(this);\n this.contactProperties = new ContactProperties(this);\n this.domains = new Domains(this);\n this.emails = new Emails(this);\n this.webhooks = new Webhooks(this);\n this.templates = new Templates(this);\n this.topics = new Topics(this);\n if (!key) {\n if (typeof process !== \"undefined\" && process.env) {\n this.key = process.env.RESEND_API_KEY;\n }\n if (!this.key) {\n throw new Error(\n 'Missing API key. Pass it to the constructor `new Resend(\"re_123\")`'\n );\n }\n }\n this.headers = new Headers({\n Authorization: `Bearer ${this.key}`,\n \"User-Agent\": userAgent,\n \"Content-Type\": \"application/json\"\n });\n }\n async fetchRequest(path, options = {}) {\n try {\n const response = await fetch(`${baseUrl}${path}`, options);\n if (!response.ok) {\n try {\n const rawError = await response.text();\n return {\n data: null,\n error: JSON.parse(rawError),\n headers: Object.fromEntries(response.headers.entries())\n };\n } catch (err) {\n if (err instanceof SyntaxError) {\n return {\n data: null,\n error: {\n name: \"application_error\",\n statusCode: response.status,\n message: \"Internal server error. We are unable to process your request right now, please try again later.\"\n },\n headers: Object.fromEntries(response.headers.entries())\n };\n }\n const error = {\n message: response.statusText,\n statusCode: response.status,\n name: \"application_error\"\n };\n if (err instanceof Error) {\n return {\n data: null,\n error: __spreadProps(__spreadValues({}, error), { message: err.message }),\n headers: Object.fromEntries(response.headers.entries())\n };\n }\n return {\n data: null,\n error,\n headers: Object.fromEntries(response.headers.entries())\n };\n }\n }\n const data = await response.json();\n return {\n data,\n error: null,\n headers: Object.fromEntries(response.headers.entries())\n };\n } catch (e) {\n return {\n data: null,\n error: {\n name: \"application_error\",\n statusCode: null,\n message: \"Unable to fetch data. The request could not be resolved.\"\n },\n headers: null\n };\n }\n }\n async post(path, entity, options = {}) {\n const headers = new Headers(this.headers);\n if (options.headers) {\n for (const [key, value] of new Headers(options.headers).entries()) {\n headers.set(key, value);\n }\n }\n if (options.idempotencyKey) {\n headers.set(\"Idempotency-Key\", options.idempotencyKey);\n }\n const requestOptions = __spreadProps(__spreadValues({\n method: \"POST\",\n body: JSON.stringify(entity)\n }, options), {\n headers\n });\n return this.fetchRequest(path, requestOptions);\n }\n async get(path, options = {}) {\n const headers = new Headers(this.headers);\n if (options.headers) {\n for (const [key, value] of new Headers(options.headers).entries()) {\n headers.set(key, value);\n }\n }\n const requestOptions = __spreadProps(__spreadValues({\n method: \"GET\"\n }, options), {\n headers\n });\n return this.fetchRequest(path, requestOptions);\n }\n async put(path, entity, options = {}) {\n const headers = new Headers(this.headers);\n if (options.headers) {\n for (const [key, value] of new Headers(options.headers).entries()) {\n headers.set(key, value);\n }\n }\n const requestOptions = __spreadProps(__spreadValues({\n method: \"PUT\",\n body: JSON.stringify(entity)\n }, options), {\n headers\n });\n return this.fetchRequest(path, requestOptions);\n }\n async patch(path, entity, options = {}) {\n const headers = new Headers(this.headers);\n if (options.headers) {\n for (const [key, value] of new Headers(options.headers).entries()) {\n headers.set(key, value);\n }\n }\n const requestOptions = __spreadProps(__spreadValues({\n method: \"PATCH\",\n body: JSON.stringify(entity)\n }, options), {\n headers\n });\n return this.fetchRequest(path, requestOptions);\n }\n async delete(path, query) {\n const requestOptions = {\n method: \"DELETE\",\n body: JSON.stringify(query),\n headers: this.headers\n };\n return this.fetchRequest(path, requestOptions);\n }\n};\nexport {\n Resend\n};\n","export {getEmailsDirectoryMetadataAction as '7f352a8ecebf177d144877141f0e4bab3d5bc8837a'} from 'ACTIONS_MODULE0'\nexport {checkCompatibility as '7fb6e82f008271d817a4000907adec3f41a5fe36e3'} from 'ACTIONS_MODULE1'\nexport {getEmailPathFromSlug as '7f333136c63cbfe72b1b7a4ec125a370088d30019e'} from 'ACTIONS_MODULE2'\nexport {renderEmailByPath as '7ff93d38ace1626d8037d5e25babe64bdb2333166d'} from 'ACTIONS_MODULE3'\nexport {getEmailPathFromSlug as '7f333136c63cbfe72b1b7a4ec125a370088d30019e'} from 'ACTIONS_MODULE2'\nexport {renderEmailByPath as '7ff93d38ace1626d8037d5e25babe64bdb2333166d'} from 'ACTIONS_MODULE3'\nexport {checkCompatibility as '7fb6e82f008271d817a4000907adec3f41a5fe36e3'} from 'ACTIONS_MODULE1'\nexport {checkImages as '7fc37a39d6e1d38e495babc1e1b21ccbff79cda8e7'} from 'ACTIONS_MODULE4'\nexport {checkLinks as '7f5131610f2ed8882a5dd7ed2b49fa66d92a673791'} from 'ACTIONS_MODULE5'\nexport {exportSingleTemplate as '7fb19c3665ea43336fe6e92da11ce2f73ac1a4be32'} from 'ACTIONS_MODULE6'\nexport {checkImages as '7fc37a39d6e1d38e495babc1e1b21ccbff79cda8e7'} from 'ACTIONS_MODULE4'\nexport {checkLinks as '7f5131610f2ed8882a5dd7ed2b49fa66d92a673791'} from 'ACTIONS_MODULE5'\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/shared/lib/lazy-dynamic/bailout-to-csr.ts\n\n// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = \"BAILOUT_TO_CLIENT_SIDE_RENDERING\";\n\n/** An error that should be thrown when we want to bail out to client-side rendering. */\nclass BailoutToCSRError extends Error {\n\tpublic readonly digest = BAILOUT_TO_CSR;\n\n\tconstructor(public readonly reason: string) {\n\t\tsuper(`Bail out to client-side rendering: ${reason}`);\n\t}\n}\n\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */\nexport function isBailoutToCSRError(err: unknown): err is BailoutToCSRError {\n\tif (typeof err !== \"object\" || err === null || !(\"digest\" in err)) {\n\t\treturn false;\n\t}\n\n\treturn err.digest === BAILOUT_TO_CSR;\n}\n","'use server';\n\nimport { Resend } from 'resend';\nimport { z } from 'zod';\nimport { resendApiKey } from '../app/env';\nimport { baseActionClient } from './safe-action';\n\nexport const exportSingleTemplate = baseActionClient\n .metadata({\n actionName: 'exportSingleTemplate',\n })\n .inputSchema(\n z.object({\n name: z.string(),\n html: z.string(),\n }),\n )\n .action(async ({ parsedInput }) => {\n const resend = new Resend(resendApiKey);\n\n const response = await resend.templates.create({\n name: parsedInput.name,\n html: parsedInput.html,\n });\n\n if (response.error) {\n console.error('Error creating single template', response.error);\n return { name: parsedInput.name, status: 'failed' as const };\n }\n\n return {\n name: parsedInput.name,\n status: 'succeeded' as const,\n id: response.data.id,\n };\n });\n","/**\n * Special values that tell deepmerge to perform a certain action.\n */\nconst actions = {\n defaultMerge: Symbol(\"deepmerge-ts: default merge\"),\n skip: Symbol(\"deepmerge-ts: skip\"),\n};\n/**\n * Special values that tell deepmergeInto to perform a certain action.\n */\nconst actionsInto = {\n defaultMerge: actions.defaultMerge,\n};\n\n/**\n * The default function to update meta data.\n *\n * It doesn't update the meta data.\n */\nfunction defaultMetaDataUpdater(previousMeta, metaMeta) {\n return metaMeta;\n}\n/**\n * The default function to filter values.\n *\n * It filters out undefined values.\n */\nfunction defaultFilterValues(values, meta) {\n return values.filter((value) => value !== undefined);\n}\n\n/**\n * The different types of objects deepmerge-ts support.\n */\nvar ObjectType;\n(function (ObjectType) {\n ObjectType[ObjectType[\"NOT\"] = 0] = \"NOT\";\n ObjectType[ObjectType[\"RECORD\"] = 1] = \"RECORD\";\n ObjectType[ObjectType[\"ARRAY\"] = 2] = \"ARRAY\";\n ObjectType[ObjectType[\"SET\"] = 3] = \"SET\";\n ObjectType[ObjectType[\"MAP\"] = 4] = \"MAP\";\n ObjectType[ObjectType[\"OTHER\"] = 5] = \"OTHER\";\n})(ObjectType || (ObjectType = {}));\n/**\n * Get the type of the given object.\n *\n * @param object - The object to get the type of.\n * @returns The type of the given object.\n */\nfunction getObjectType(object) {\n if (typeof object !== \"object\" || object === null) {\n return 0 /* ObjectType.NOT */;\n }\n if (Array.isArray(object)) {\n return 2 /* ObjectType.ARRAY */;\n }\n if (isRecord(object)) {\n return 1 /* ObjectType.RECORD */;\n }\n if (object instanceof Set) {\n return 3 /* ObjectType.SET */;\n }\n if (object instanceof Map) {\n return 4 /* ObjectType.MAP */;\n }\n return 5 /* ObjectType.OTHER */;\n}\n/**\n * Get the keys of the given objects including symbol keys.\n *\n * Note: Only keys to enumerable properties are returned.\n *\n * @param objects - An array of objects to get the keys of.\n * @returns A set containing all the keys of all the given objects.\n */\nfunction getKeys(objects) {\n const keys = new Set();\n for (const object of objects) {\n for (const key of [...Object.keys(object), ...Object.getOwnPropertySymbols(object)]) {\n keys.add(key);\n }\n }\n return keys;\n}\n/**\n * Does the given object have the given property.\n *\n * @param object - The object to test.\n * @param property - The property to test.\n * @returns Whether the object has the property.\n */\nfunction objectHasProperty(object, property) {\n return typeof object === \"object\" && Object.prototype.propertyIsEnumerable.call(object, property);\n}\n/**\n * Get an iterable object that iterates over the given iterables.\n */\nfunction getIterableOfIterables(iterables) {\n let mut_iterablesIndex = 0;\n let mut_iterator = iterables[0]?.[Symbol.iterator]();\n return {\n [Symbol.iterator]() {\n return {\n next() {\n do {\n if (mut_iterator === undefined) {\n return { done: true, value: undefined };\n }\n const result = mut_iterator.next();\n if (result.done === true) {\n mut_iterablesIndex += 1;\n mut_iterator = iterables[mut_iterablesIndex]?.[Symbol.iterator]();\n continue;\n }\n return {\n done: false,\n value: result.value,\n };\n } while (true);\n },\n };\n },\n };\n}\n// eslint-disable-next-line unicorn/prefer-set-has -- Array is more performant for a low number of elements.\nconst validRecordToStringValues = [\"[object Object]\", \"[object Module]\"];\n/**\n * Does the given object appear to be a record.\n */\nfunction isRecord(value) {\n // All records are objects.\n if (!validRecordToStringValues.includes(Object.prototype.toString.call(value))) {\n return false;\n }\n const { constructor } = value;\n // If has modified constructor.\n // eslint-disable-next-line ts/no-unnecessary-condition\n if (constructor === undefined) {\n return true;\n }\n const prototype = constructor.prototype;\n // If has modified prototype.\n if (prototype === null ||\n typeof prototype !== \"object\" ||\n !validRecordToStringValues.includes(Object.prototype.toString.call(prototype))) {\n return false;\n }\n // If constructor does not have an Object-specific method.\n // eslint-disable-next-line sonar/prefer-single-boolean-return, no-prototype-builtins\n if (!prototype.hasOwnProperty(\"isPrototypeOf\")) {\n return false;\n }\n // Most likely a record.\n return true;\n}\n\n/**\n * The default strategy to merge records.\n *\n * @param values - The records.\n */\nfunction mergeRecords$1(values, utils, meta) {\n const result = {};\n for (const key of getKeys(values)) {\n const propValues = [];\n for (const value of values) {\n if (objectHasProperty(value, key)) {\n propValues.push(value[key]);\n }\n }\n if (propValues.length === 0) {\n continue;\n }\n const updatedMeta = utils.metaDataUpdater(meta, {\n key,\n parents: values,\n });\n const propertyResult = mergeUnknowns(propValues, utils, updatedMeta);\n if (propertyResult === actions.skip) {\n continue;\n }\n if (key === \"__proto__\") {\n Object.defineProperty(result, key, {\n value: propertyResult,\n configurable: true,\n enumerable: true,\n writable: true,\n });\n }\n else {\n result[key] = propertyResult;\n }\n }\n return result;\n}\n/**\n * The default strategy to merge arrays.\n *\n * @param values - The arrays.\n */\nfunction mergeArrays$1(values) {\n return values.flat();\n}\n/**\n * The default strategy to merge sets.\n *\n * @param values - The sets.\n */\nfunction mergeSets$1(values) {\n return new Set(getIterableOfIterables(values));\n}\n/**\n * The default strategy to merge maps.\n *\n * @param values - The maps.\n */\nfunction mergeMaps$1(values) {\n return new Map(getIterableOfIterables(values));\n}\n/**\n * Get the last value in the given array.\n */\nfunction mergeOthers$1(values) {\n return values.at(-1);\n}\n/**\n * The merge functions.\n */\nconst mergeFunctions = {\n mergeRecords: mergeRecords$1,\n mergeArrays: mergeArrays$1,\n mergeSets: mergeSets$1,\n mergeMaps: mergeMaps$1,\n mergeOthers: mergeOthers$1,\n};\n\n/**\n * Deeply merge objects.\n *\n * @param objects - The objects to merge.\n */\nfunction deepmerge(...objects) {\n return deepmergeCustom({})(...objects);\n}\nfunction deepmergeCustom(options, rootMetaData) {\n const utils = getUtils(options, customizedDeepmerge);\n /**\n * The customized deepmerge function.\n */\n function customizedDeepmerge(...objects) {\n return mergeUnknowns(objects, utils, rootMetaData);\n }\n return customizedDeepmerge;\n}\n/**\n * The the utils that are available to the merge functions.\n *\n * @param options - The options the user specified\n */\nfunction getUtils(options, customizedDeepmerge) {\n return {\n defaultMergeFunctions: mergeFunctions,\n mergeFunctions: {\n ...mergeFunctions,\n ...Object.fromEntries(Object.entries(options)\n .filter(([key, option]) => Object.hasOwn(mergeFunctions, key))\n .map(([key, option]) => (option === false ? [key, mergeFunctions.mergeOthers] : [key, option]))),\n },\n metaDataUpdater: (options.metaDataUpdater ?? defaultMetaDataUpdater),\n deepmerge: customizedDeepmerge,\n useImplicitDefaultMerging: options.enableImplicitDefaultMerging ?? false,\n filterValues: options.filterValues === false ? undefined : (options.filterValues ?? defaultFilterValues),\n actions,\n };\n}\n/**\n * Merge unknown things.\n *\n * @param values - The values.\n */\nfunction mergeUnknowns(values, utils, meta) {\n const filteredValues = utils.filterValues?.(values, meta) ?? values;\n if (filteredValues.length === 0) {\n return undefined;\n }\n if (filteredValues.length === 1) {\n return mergeOthers(filteredValues, utils, meta);\n }\n const type = getObjectType(filteredValues[0]);\n if (type !== 0 /* ObjectType.NOT */ && type !== 5 /* ObjectType.OTHER */) {\n for (let mut_index = 1; mut_index < filteredValues.length; mut_index++) {\n if (getObjectType(filteredValues[mut_index]) === type) {\n continue;\n }\n return mergeOthers(filteredValues, utils, meta);\n }\n }\n switch (type) {\n case 1 /* ObjectType.RECORD */: {\n return mergeRecords(filteredValues, utils, meta);\n }\n case 2 /* ObjectType.ARRAY */: {\n return mergeArrays(filteredValues, utils, meta);\n }\n case 3 /* ObjectType.SET */: {\n return mergeSets(filteredValues, utils, meta);\n }\n case 4 /* ObjectType.MAP */: {\n return mergeMaps(filteredValues, utils, meta);\n }\n default: {\n return mergeOthers(filteredValues, utils, meta);\n }\n }\n}\n/**\n * Merge records.\n *\n * @param values - The records.\n */\nfunction mergeRecords(values, utils, meta) {\n const result = utils.mergeFunctions.mergeRecords(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeRecords !== utils.defaultMergeFunctions.mergeRecords)) {\n return utils.defaultMergeFunctions.mergeRecords(values, utils, meta);\n }\n return result;\n}\n/**\n * Merge arrays.\n *\n * @param values - The arrays.\n */\nfunction mergeArrays(values, utils, meta) {\n const result = utils.mergeFunctions.mergeArrays(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeArrays !== utils.defaultMergeFunctions.mergeArrays)) {\n return utils.defaultMergeFunctions.mergeArrays(values);\n }\n return result;\n}\n/**\n * Merge sets.\n *\n * @param values - The sets.\n */\nfunction mergeSets(values, utils, meta) {\n const result = utils.mergeFunctions.mergeSets(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeSets !== utils.defaultMergeFunctions.mergeSets)) {\n return utils.defaultMergeFunctions.mergeSets(values);\n }\n return result;\n}\n/**\n * Merge maps.\n *\n * @param values - The maps.\n */\nfunction mergeMaps(values, utils, meta) {\n const result = utils.mergeFunctions.mergeMaps(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeMaps !== utils.defaultMergeFunctions.mergeMaps)) {\n return utils.defaultMergeFunctions.mergeMaps(values);\n }\n return result;\n}\n/**\n * Merge other things.\n *\n * @param values - The other things.\n */\nfunction mergeOthers(values, utils, meta) {\n const result = utils.mergeFunctions.mergeOthers(values, utils, meta);\n if (result === actions.defaultMerge ||\n (utils.useImplicitDefaultMerging &&\n result === undefined &&\n utils.mergeFunctions.mergeOthers !== utils.defaultMergeFunctions.mergeOthers)) {\n return utils.defaultMergeFunctions.mergeOthers(values);\n }\n return result;\n}\n\n/**\n * The default strategy to merge records into a target record.\n *\n * @param mut_target - The result will be mutated into this record\n * @param values - The records (including the target's value if there is one).\n */\nfunction mergeRecordsInto$1(mut_target, values, utils, meta) {\n for (const key of getKeys(values)) {\n const propValues = [];\n for (const value of values) {\n if (objectHasProperty(value, key)) {\n propValues.push(value[key]);\n }\n }\n if (propValues.length === 0) {\n continue;\n }\n const updatedMeta = utils.metaDataUpdater(meta, {\n key,\n parents: values,\n });\n const propertyTarget = { value: propValues[0] };\n mergeUnknownsInto(propertyTarget, propValues, utils, updatedMeta);\n if (key === \"__proto__\") {\n Object.defineProperty(mut_target.value, key, {\n value: propertyTarget.value,\n configurable: true,\n enumerable: true,\n writable: true,\n });\n }\n else {\n mut_target.value[key] = propertyTarget.value;\n }\n }\n}\n/**\n * The default strategy to merge arrays into a target array.\n *\n * @param mut_target - The result will be mutated into this array\n * @param values - The arrays (including the target's value if there is one).\n */\nfunction mergeArraysInto$1(mut_target, values) {\n mut_target.value.push(...values.slice(1).flat());\n}\n/**\n * The default strategy to merge sets into a target set.\n *\n * @param mut_target - The result will be mutated into this set\n * @param values - The sets (including the target's value if there is one).\n */\nfunction mergeSetsInto$1(mut_target, values) {\n for (const value of getIterableOfIterables(values.slice(1))) {\n mut_target.value.add(value);\n }\n}\n/**\n * The default strategy to merge maps into a target map.\n *\n * @param mut_target - The result will be mutated into this map\n * @param values - The maps (including the target's value if there is one).\n */\nfunction mergeMapsInto$1(mut_target, values) {\n for (const [key, value] of getIterableOfIterables(values.slice(1))) {\n mut_target.value.set(key, value);\n }\n}\n/**\n * Set the target to the last value.\n */\nfunction mergeOthersInto$1(mut_target, values) {\n mut_target.value = values.at(-1);\n}\n/**\n * The merge functions.\n */\nconst mergeIntoFunctions = {\n mergeRecords: mergeRecordsInto$1,\n mergeArrays: mergeArraysInto$1,\n mergeSets: mergeSetsInto$1,\n mergeMaps: mergeMapsInto$1,\n mergeOthers: mergeOthersInto$1,\n};\n\nfunction deepmergeInto(target, ...objects) {\n return void deepmergeIntoCustom({})(target, ...objects);\n}\nfunction deepmergeIntoCustom(options, rootMetaData) {\n const utils = getIntoUtils(options, customizedDeepmergeInto);\n /**\n * The customized deepmerge function.\n */\n function customizedDeepmergeInto(target, ...objects) {\n mergeUnknownsInto({ value: target }, [target, ...objects], utils, rootMetaData);\n }\n return customizedDeepmergeInto;\n}\n/**\n * The the utils that are available to the merge functions.\n *\n * @param options - The options the user specified\n */\nfunction getIntoUtils(options, customizedDeepmergeInto) {\n return {\n defaultMergeFunctions: mergeIntoFunctions,\n mergeFunctions: {\n ...mergeIntoFunctions,\n ...Object.fromEntries(Object.entries(options)\n .filter(([key, option]) => Object.hasOwn(mergeIntoFunctions, key))\n .map(([key, option]) => (option === false ? [key, mergeIntoFunctions.mergeOthers] : [key, option]))),\n },\n metaDataUpdater: (options.metaDataUpdater ?? defaultMetaDataUpdater),\n deepmergeInto: customizedDeepmergeInto,\n filterValues: options.filterValues === false ? undefined : (options.filterValues ?? defaultFilterValues),\n actions: actionsInto,\n };\n}\n/**\n * Merge unknown things into a target.\n *\n * @param mut_target - The target to merge into.\n * @param values - The values.\n */\nfunction mergeUnknownsInto(mut_target, values, utils, meta) {\n const filteredValues = utils.filterValues?.(values, meta) ?? values;\n if (filteredValues.length === 0) {\n return;\n }\n if (filteredValues.length === 1) {\n return void mergeOthersInto(mut_target, filteredValues, utils, meta);\n }\n const type = getObjectType(mut_target.value);\n if (type !== 0 /* ObjectType.NOT */ && type !== 5 /* ObjectType.OTHER */) {\n for (let mut_index = 1; mut_index < filteredValues.length; mut_index++) {\n if (getObjectType(filteredValues[mut_index]) === type) {\n continue;\n }\n return void mergeOthersInto(mut_target, filteredValues, utils, meta);\n }\n }\n switch (type) {\n case 1 /* ObjectType.RECORD */: {\n return void mergeRecordsInto(mut_target, filteredValues, utils, meta);\n }\n case 2 /* ObjectType.ARRAY */: {\n return void mergeArraysInto(mut_target, filteredValues, utils, meta);\n }\n case 3 /* ObjectType.SET */: {\n return void mergeSetsInto(mut_target, filteredValues, utils, meta);\n }\n case 4 /* ObjectType.MAP */: {\n return void mergeMapsInto(mut_target, filteredValues, utils, meta);\n }\n default: {\n return void mergeOthersInto(mut_target, filteredValues, utils, meta);\n }\n }\n}\n/**\n * Merge records into a target record.\n *\n * @param mut_target - The target to merge into.\n * @param values - The records.\n */\nfunction mergeRecordsInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeRecords(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeRecords(mut_target, values, utils, meta);\n }\n}\n/**\n * Merge arrays into a target array.\n *\n * @param mut_target - The target to merge into.\n * @param values - The arrays.\n */\nfunction mergeArraysInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeArrays(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeArrays(mut_target, values);\n }\n}\n/**\n * Merge sets into a target set.\n *\n * @param mut_target - The target to merge into.\n * @param values - The sets.\n */\nfunction mergeSetsInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeSets(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeSets(mut_target, values);\n }\n}\n/**\n * Merge maps into a target map.\n *\n * @param mut_target - The target to merge into.\n * @param values - The maps.\n */\nfunction mergeMapsInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeMaps(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeMaps(mut_target, values);\n }\n}\n/**\n * Merge other things into a target.\n *\n * @param mut_target - The target to merge into.\n * @param values - The other things.\n */\nfunction mergeOthersInto(mut_target, values, utils, meta) {\n const action = utils.mergeFunctions.mergeOthers(mut_target, values, utils, meta);\n if (action === actionsInto.defaultMerge || mut_target.value === actionsInto.defaultMerge) {\n utils.defaultMergeFunctions.mergeOthers(mut_target, values);\n }\n}\n\nexport { deepmerge, deepmergeCustom, deepmergeInto, deepmergeIntoCustom, getKeys, getObjectType, objectHasProperty };\n","import {\n createSafeActionClient,\n DEFAULT_SERVER_ERROR_MESSAGE,\n} from 'next-safe-action';\nimport { z } from 'zod';\n\nexport const baseActionClient = createSafeActionClient({\n defineMetadataSchema() {\n return z.object({ actionName: z.string() });\n },\n handleServerError(error, options) {\n console.error(`Action error: ${options.metadata.actionName}`, error);\n return DEFAULT_SERVER_ERROR_MESSAGE;\n },\n});\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/client/components/http-access-fallback/http-access-fallback.ts\n\nconst HTTPAccessErrorStatus = {\n\tNOT_FOUND: 404,\n\tFORBIDDEN: 403,\n\tUNAUTHORIZED: 401,\n};\n\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));\n\nconst HTTP_ERROR_FALLBACK_ERROR_CODE = \"NEXT_HTTP_ERROR_FALLBACK\";\n\nexport type HTTPAccessFallbackError = Error & {\n\tdigest: `${typeof HTTP_ERROR_FALLBACK_ERROR_CODE};${string}`;\n};\n\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */\nexport function isHTTPAccessFallbackError(error: unknown): error is HTTPAccessFallbackError {\n\tif (typeof error !== \"object\" || error === null || !(\"digest\" in error) || typeof error.digest !== \"string\") {\n\t\treturn false;\n\t}\n\tconst [prefix, httpStatus] = error.digest.split(\";\");\n\n\treturn prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));\n}\n\nexport function getAccessFallbackHTTPStatus(error: HTTPAccessFallbackError): number {\n\tconst httpStatus = error.digest.split(\";\")[1];\n\treturn Number(httpStatus);\n}\n","// Comes from: https://github.com/vercel/next.js/blob/canary/packages/next/src/client/components/redirect-error.ts\n\nenum RedirectStatusCode {\n\tSeeOther = 303,\n\tTemporaryRedirect = 307,\n\tPermanentRedirect = 308,\n}\n\nconst REDIRECT_ERROR_CODE = \"NEXT_REDIRECT\";\n\nenum RedirectType {\n\tpush = \"push\",\n\treplace = \"replace\",\n}\n\nexport type RedirectError = Error & {\n\tdigest: `${typeof REDIRECT_ERROR_CODE};${RedirectType};${string};${RedirectStatusCode};`;\n};\n\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */\nexport function isRedirectError(error: unknown): error is RedirectError {\n\tif (typeof error !== \"object\" || error === null || !(\"digest\" in error) || typeof error.digest !== \"string\") {\n\t\treturn false;\n\t}\n\n\tconst digest = error.digest.split(\";\");\n\tconst [errorCode, type] = digest;\n\tconst destination = digest.slice(2, -2).join(\";\");\n\tconst status = digest.at(-2);\n\n\tconst statusCode = Number(status);\n\n\treturn (\n\t\terrorCode === REDIRECT_ERROR_CODE &&\n\t\t(type === \"replace\" || type === \"push\") &&\n\t\ttypeof destination === \"string\" &&\n\t\t!isNaN(statusCode) &&\n\t\tstatusCode in RedirectStatusCode\n\t);\n}\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/client/components/is-next-router-error.ts\n\nimport { isHTTPAccessFallbackError, type HTTPAccessFallbackError } from \"./http-access-fallback\";\nimport { isRedirectError, type RedirectError } from \"./redirect\";\n\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */\nexport function isNextRouterError(error: unknown): error is RedirectError | HTTPAccessFallbackError {\n\treturn isRedirectError(error) || isHTTPAccessFallbackError(error);\n}\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/export/helpers/is-dynamic-usage-error.ts\n\nimport { isBailoutToCSRError } from \"./bailout-to-csr\";\nimport { isNextRouterError } from \"./router\";\n\nconst DYNAMIC_ERROR_CODE = \"DYNAMIC_SERVER_USAGE\";\n\nclass DynamicServerError extends Error {\n\tdigest: typeof DYNAMIC_ERROR_CODE = DYNAMIC_ERROR_CODE;\n\n\tconstructor(public readonly description: string) {\n\t\tsuper(`Dynamic server usage: ${description}`);\n\t}\n}\n\nfunction isDynamicServerError(err: unknown): err is DynamicServerError {\n\tif (typeof err !== \"object\" || err === null || !(\"digest\" in err) || typeof err.digest !== \"string\") {\n\t\treturn false;\n\t}\n\n\treturn err.digest === DYNAMIC_ERROR_CODE;\n}\n\nfunction isDynamicPostponeReason(reason: string) {\n\treturn (\n\t\treason.includes(\"needs to bail out of prerendering at this point because it used\") &&\n\t\treason.includes(\"Learn more: https://nextjs.org/docs/messages/ppr-caught-error\")\n\t);\n}\n\nfunction isDynamicPostpone(err: unknown) {\n\tif (\n\t\ttypeof err === \"object\" &&\n\t\terr !== null &&\n\t\t// eslint-disable-next-line\n\t\ttypeof (err as any).message === \"string\"\n\t) {\n\t\t// eslint-disable-next-line\n\t\treturn isDynamicPostponeReason((err as any).message);\n\t}\n\treturn false;\n}\n\nexport const isDynamicUsageError = (err: unknown) =>\n\tisDynamicServerError(err) || isBailoutToCSRError(err) || isNextRouterError(err) || isDynamicPostpone(err);\n","// Comes from https://github.com/vercel/next.js/blob/canary/packages/next/src/server/lib/router-utils/is-postpone.ts\n\nconst REACT_POSTPONE_TYPE: symbol = Symbol.for(\"react.postpone\");\n\nexport function isPostpone(error: any): boolean {\n\treturn (\n\t\ttypeof error === \"object\" &&\n\t\terror !== null &&\n\t\t// eslint-disable-next-line\n\t\terror.$$typeof === REACT_POSTPONE_TYPE\n\t);\n}\n","import type { NavigationKind } from \"../../index.types\";\nimport { isBailoutToCSRError } from \"./bailout-to-csr\";\nimport { isDynamicUsageError } from \"./dynamic-usage\";\nimport { getAccessFallbackHTTPStatus, isHTTPAccessFallbackError } from \"./http-access-fallback\";\nimport { isPostpone } from \"./postpone\";\nimport { isRedirectError } from \"./redirect\";\nimport { isNextRouterError } from \"./router\";\n\nexport class FrameworkErrorHandler {\n\t#frameworkError: Error | undefined;\n\n\tstatic isNavigationError(error: unknown): error is Error {\n\t\treturn isNextRouterError(error) || isBailoutToCSRError(error) || isDynamicUsageError(error) || isPostpone(error);\n\t}\n\n\tstatic getNavigationKind(error: Error): NavigationKind {\n\t\tif (isRedirectError(error)) {\n\t\t\treturn \"redirect\";\n\t\t} else if (isHTTPAccessFallbackError(error) && getAccessFallbackHTTPStatus(error) === 404) {\n\t\t\treturn \"notFound\";\n\t\t} else if (isHTTPAccessFallbackError(error) && getAccessFallbackHTTPStatus(error) === 403) {\n\t\t\treturn \"forbidden\";\n\t\t} else if (isHTTPAccessFallbackError(error) && getAccessFallbackHTTPStatus(error) === 401) {\n\t\t\treturn \"unauthorized\";\n\t\t} else {\n\t\t\treturn \"other\";\n\t\t}\n\t}\n\n\t// Used in action builder.\n\thandleError(e: unknown) {\n\t\tif (FrameworkErrorHandler.isNavigationError(e)) {\n\t\t\tthis.#frameworkError = e;\n\t\t\treturn;\n\t\t}\n\n\t\t// If it's not a framework error, rethrow it, so it gets returned as a server error.\n\t\tthrow e;\n\t}\n\n\tget error() {\n\t\treturn this.#frameworkError;\n\t}\n}\n","/** The Standard Schema interface. */\nexport interface StandardSchemaV1<Input = unknown, Output = Input> {\n\t/** The Standard Schema properties. */\n\treadonly \"~standard\": StandardSchemaV1.Props<Input, Output>;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport declare namespace StandardSchemaV1 {\n\t/** The Standard Schema properties interface. */\n\texport interface Props<Input = unknown, Output = Input> {\n\t\t/** The version number of the standard. */\n\t\treadonly version: 1;\n\t\t/** The vendor name of the schema library. */\n\t\treadonly vendor: string;\n\t\t/** Validates unknown input values. */\n\t\treadonly validate: (value: unknown) => Result<Output> | Promise<Result<Output>>;\n\t\t/** Inferred types associated with the schema. */\n\t\treadonly types?: Types<Input, Output> | undefined;\n\t}\n\n\t/** The result interface of the validate function. */\n\texport type Result<Output> = SuccessResult<Output> | FailureResult;\n\n\t/** The result interface if validation succeeds. */\n\texport interface SuccessResult<Output> {\n\t\t/** The typed output value. */\n\t\treadonly value: Output;\n\t\t/** The non-existent issues. */\n\t\treadonly issues?: undefined;\n\t}\n\n\t/** The result interface if validation fails. */\n\texport interface FailureResult {\n\t\t/** The issues of failed validation. */\n\t\treadonly issues: ReadonlyArray<Issue>;\n\t}\n\n\t/** The issue interface of the failure output. */\n\texport interface Issue {\n\t\t/** The error message of the issue. */\n\t\treadonly message: string;\n\t\t/** The path of the issue, if any. */\n\t\treadonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;\n\t}\n\n\t/** The path segment interface of the issue. */\n\texport interface PathSegment {\n\t\t/** The key representing a path segment. */\n\t\treadonly key: PropertyKey;\n\t}\n\n\t/** The Standard Schema types interface. */\n\texport interface Types<Input = unknown, Output = Input> {\n\t\t/** The input type of the schema. */\n\t\treadonly input: Input;\n\t\t/** The output type of the schema. */\n\t\treadonly output: Output;\n\t}\n\n\t/** Infers the input type of a Standard Schema. */\n\texport type InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema[\"~standard\"][\"types\"]>[\"input\"];\n\n\t/** Infers the output type of a Standard Schema. */\n\texport type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema[\"~standard\"][\"types\"]>[\"output\"];\n}\n\n// custom helpers\n\n/** Infer the input type of an array of Standard Schemas. */\nexport type InferInputArray<Schemas extends readonly StandardSchemaV1[]> = {\n\t[K in keyof Schemas]: StandardSchemaV1.InferInput<Schemas[K]>;\n};\n\n/** Infer the output type of an array of Standard Schemas. */\nexport type InferOutputArray<Schemas extends readonly StandardSchemaV1[]> = {\n\t[K in keyof Schemas]: StandardSchemaV1.InferOutput<Schemas[K]>;\n};\n\n/** Infer the input type of a Standard Schema, or a default type if the schema is undefined. */\nexport type InferInputOrDefault<MaybeSchema, Default> = MaybeSchema extends StandardSchemaV1\n\t? StandardSchemaV1.InferInput<MaybeSchema>\n\t: Default;\n\n/** Infer the output type of a Standard Schema, or a default type if the schema is undefined. */\nexport type InferOutputOrDefault<MaybeSchema, Default> = MaybeSchema extends StandardSchemaV1\n\t? StandardSchemaV1.InferOutput<MaybeSchema>\n\t: Default;\n\nexport async function standardParse<Output>(schema: StandardSchemaV1<unknown, Output>, value: unknown) {\n\treturn schema[\"~standard\"].validate(value);\n}\n","export const DEFAULT_SERVER_ERROR_MESSAGE = \"Something went wrong while executing the operation.\";\n\n/**\n * Checks if passed argument is an instance of Error.\n */\nexport const isError = (error: unknown): error is Error => error instanceof Error;\n\n/**\n * Checks what the winning boolean value is from a series of values, from lowest to highest priority.\n * `null` and `undefined` values are skipped.\n */\nexport const winningBoolean = (...args: (boolean | undefined | null)[]) => {\n\treturn args.reduce((acc, v) => (typeof v === \"boolean\" ? v : acc), false) as boolean;\n};\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment */\nimport type { StandardSchemaV1 } from \"./standard-schema\";\nimport type { FlattenedValidationErrors, IssueWithUnionErrors, ValidationErrors } from \"./validation-errors.types\";\n\nconst getKey = (segment: PropertyKey | StandardSchemaV1.PathSegment) =>\n\ttypeof segment === \"object\" ? segment.key : segment;\n\nconst getIssueMessage = (issue: IssueWithUnionErrors) => {\n\tif (issue.unionErrors) {\n\t\treturn issue.unionErrors.map((u) => u.issues.map((i) => i.message)).flat();\n\t}\n\treturn issue.message;\n};\n\n// This function is used internally to build the validation errors object from a list of validation issues.\nexport const buildValidationErrors = <S extends StandardSchemaV1 | undefined>(\n\tissues: readonly IssueWithUnionErrors[]\n) => {\n\tconst ve: any = {};\n\n\tfor (const issue of issues) {\n\t\tconst { path, message, unionErrors } = issue;\n\n\t\t// When path is undefined or empty, set root errors.\n\t\tif (!path || path.length === 0) {\n\t\t\tve._errors = ve._errors ? [...ve._errors, message] : [message];\n\t\t\tcontinue;\n\t\t}\n\n\t\t// Reference to errors object.\n\t\tlet ref = ve;\n\n\t\t// Set object for the path, if it doesn't exist.\n\t\tfor (let i = 0; i < path.length - 1; i++) {\n\t\t\tconst k = getKey(path[i]!);\n\n\t\t\tif (!ref[k]) {\n\t\t\t\tref[k] = {};\n\t\t\t}\n\n\t\t\tref = ref[k];\n\t\t}\n\n\t\t// Key is always the last element of the path.\n\t\tconst key = getKey(path[path.length - 1]!);\n\n\t\tconst issueMessage = getIssueMessage(issue);\n\n\t\t// Set error for the current path. If `_errors` array exists, add the message to it.\n\t\tref[key] = ref[key]?._errors\n\t\t\t? {\n\t\t\t\t\t...structuredClone(ref[key]),\n\t\t\t\t\t_errors: [...ref[key]._errors, issueMessage],\n\t\t\t\t}\n\t\t\t: { ...structuredClone(ref[key]), _errors: unionErrors ? issueMessage : [issueMessage] };\n\t}\n\n\treturn ve as ValidationErrors<S>;\n};\n\n// This class is internally used to throw validation errors in action's server code function, using\n// `returnValidationErrors`.\nexport class ActionServerValidationError<S extends StandardSchemaV1> extends Error {\n\tpublic validationErrors: ValidationErrors<S>;\n\tconstructor(validationErrors: ValidationErrors<S>) {\n\t\tsuper(\"Server Action server validation error(s) occurred\");\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n\n// This class is internally used to throw validation errors in action's server code function, using\n// `returnValidationErrors`.\nexport class ActionValidationError<CVE> extends Error {\n\tpublic validationErrors: CVE;\n\tconstructor(validationErrors: CVE, overriddenErrorMessage?: string) {\n\t\tsuper(overriddenErrorMessage ?? \"Server Action validation error(s) occurred\");\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n\n// This class is internally used to throw validation errors in action's server code function, using\n// `returnValidationErrors`.\nexport class ActionBindArgsValidationError extends Error {\n\tpublic validationErrors: unknown[];\n\tconstructor(validationErrors: unknown[]) {\n\t\tsuper(\"Server Action bind args validation error(s) occurred\");\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n\n/**\n * Return custom validation errors to the client from the action's server code function.\n * Code declared after this function invocation will not be executed.\n * @param schema Input schema\n * @param validationErrors Validation errors object\n *\n * {@link https://next-safe-action.dev/docs/define-actions/validation-errors#returnvalidationerrors See docs for more information}\n */\nexport function returnValidationErrors<\n\tS extends StandardSchemaV1 | (() => Promise<StandardSchemaV1>),\n\tAS extends StandardSchemaV1 = S extends () => Promise<StandardSchemaV1> ? Awaited<ReturnType<S>> : S, // actual schema\n>(schema: S, validationErrors: ValidationErrors<AS>): never {\n\tthrow new ActionServerValidationError<AS>(validationErrors);\n}\n\n/**\n * Default validation errors format.\n * Emulation of `zod`'s [`format`](https://zod.dev/ERROR_HANDLING?id=formatting-errors) function.\n */\nexport function formatValidationErrors<VE extends ValidationErrors<any>>(validationErrors: VE) {\n\treturn validationErrors;\n}\n\n/**\n * Transform default formatted validation errors into flattened structure.\n * `formErrors` contains global errors, and `fieldErrors` contains errors for each field,\n * one level deep. It discards errors for nested fields.\n * Emulation of `zod`'s [`flatten`](https://zod.dev/ERROR_HANDLING?id=flattening-errors) function.\n * @param {ValidationErrors} [validationErrors] Validation errors object\n *\n * {@link https://next-safe-action.dev/docs/define-actions/validation-errors#flattenvalidationerrorsutility-function See docs for more information}\n */\nexport function flattenValidationErrors<VE extends ValidationErrors<any>>(validationErrors: VE) {\n\tconst flattened: FlattenedValidationErrors<VE> = {\n\t\tformErrors: [],\n\t\tfieldErrors: {},\n\t};\n\n\tfor (const [key, value] of Object.entries<string[] | { _errors: string[] }>(validationErrors ?? {})) {\n\t\tif (key === \"_errors\" && Array.isArray(value)) {\n\t\t\tflattened.formErrors = [...value];\n\t\t} else {\n\t\t\tif (\"_errors\" in value) {\n\t\t\t\tflattened.fieldErrors[key as keyof Omit<VE, \"_errors\">] = [...value._errors];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn flattened;\n}\n\n/**\n * This error is thrown when an action metadata is invalid, i.e. when there's a mismatch between the\n * type of the metadata schema returned from `defineMetadataSchema` and the actual data passed.\n */\nexport class ActionMetadataValidationError<MDS extends StandardSchemaV1 | undefined> extends Error {\n\tpublic validationErrors: ValidationErrors<MDS>;\n\n\tconstructor(validationErrors: ValidationErrors<MDS>) {\n\t\tsuper(\"Invalid metadata input. Please be sure to pass metadata via `metadata` method before defining the action.\");\n\t\tthis.name = \"ActionMetadataError\";\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n\n/**\n * This error is thrown when an action's data (output) is invalid, i.e. when there's a mismatch between the\n * type of the data schema passed to `dataSchema` method and the actual return of the action.\n */\nexport class ActionOutputDataValidationError<DS extends StandardSchemaV1 | undefined> extends Error {\n\tpublic validationErrors: ValidationErrors<DS>;\n\n\tconstructor(validationErrors: ValidationErrors<DS>) {\n\t\tsuper(\n\t\t\t\"Invalid action data (output). Please be sure to return data following the shape of the schema passed to `dataSchema` method.\"\n\t\t);\n\t\tthis.name = \"ActionOutputDataError\";\n\t\tthis.validationErrors = validationErrors;\n\t}\n}\n","import { deepmerge } from \"deepmerge-ts\";\nimport type {} from \"zod\";\nimport type {\n\tDVES,\n\tMiddlewareResult,\n\tSafeActionClientArgs,\n\tSafeActionFn,\n\tSafeActionResult,\n\tSafeActionUtils,\n\tSafeStateActionFn,\n\tServerCodeFn,\n\tStateServerCodeFn,\n} from \"./index.types\";\nimport { FrameworkErrorHandler } from \"./next/errors\";\nimport type {\n\tInferInputArray,\n\tInferInputOrDefault,\n\tInferOutputArray,\n\tInferOutputOrDefault,\n\tStandardSchemaV1,\n} from \"./standard-schema\";\nimport { standardParse } from \"./standard-schema\";\nimport { DEFAULT_SERVER_ERROR_MESSAGE, isError, winningBoolean } from \"./utils\";\nimport {\n\tActionBindArgsValidationError,\n\tActionMetadataValidationError,\n\tActionOutputDataValidationError,\n\tActionServerValidationError,\n\tActionValidationError,\n\tbuildValidationErrors,\n} from \"./validation-errors\";\nimport type { ValidationErrors } from \"./validation-errors.types\";\n\nexport function actionBuilder<\n\tServerError,\n\tODVES extends DVES | undefined, // override default validation errors shape\n\tMetadataSchema extends StandardSchemaV1 | undefined = undefined,\n\tMD = InferOutputOrDefault<MetadataSchema, undefined>, // metadata type (inferred from metadata schema)\n\tCtx extends object = {},\n\tISF extends (() => Promise<StandardSchemaV1>) | undefined = undefined, // input schema function\n\tIS extends StandardSchemaV1 | undefined = ISF extends Function ? Awaited<ReturnType<ISF>> : undefined, // input schema\n\tOS extends StandardSchemaV1 | undefined = undefined, // output schema\n\tconst BAS extends readonly StandardSchemaV1[] = [],\n\tCVE = undefined,\n>(args: SafeActionClientArgs<ServerError, ODVES, MetadataSchema, MD, true, Ctx, ISF, IS, OS, BAS, CVE>) {\n\tconst bindArgsSchemas = args.bindArgsSchemas ?? [];\n\n\tfunction buildAction({ withState }: { withState: false }): {\n\t\taction: <Data extends InferOutputOrDefault<OS, any>>(\n\t\t\tserverCodeFn: ServerCodeFn<MD, Ctx, IS, BAS, Data>,\n\t\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t\t) => SafeActionFn<ServerError, IS, BAS, CVE, Data>;\n\t};\n\tfunction buildAction({ withState }: { withState: true }): {\n\t\taction: <Data extends InferOutputOrDefault<OS, any>>(\n\t\t\tserverCodeFn: StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>,\n\t\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t\t) => SafeStateActionFn<ServerError, IS, BAS, CVE, Data>;\n\t};\n\tfunction buildAction({ withState }: { withState: boolean }) {\n\t\treturn {\n\t\t\taction: <Data extends InferOutputOrDefault<OS, any>>(\n\t\t\t\tserverCodeFn:\n\t\t\t\t\t| ServerCodeFn<MD, Ctx, IS, BAS, Data>\n\t\t\t\t\t| StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>,\n\t\t\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t\t\t) => {\n\t\t\t\treturn async (...clientInputs: unknown[]) => {\n\t\t\t\t\tlet currentCtx: object = {};\n\t\t\t\t\tconst middlewareResult: MiddlewareResult<ServerError, object> = { success: false };\n\t\t\t\t\ttype PrevResult = SafeActionResult<ServerError, IS, CVE, Data>;\n\t\t\t\t\tlet prevResult: PrevResult = {};\n\t\t\t\t\tconst parsedInputDatas: any[] = [];\n\t\t\t\t\tconst frameworkErrorHandler = new FrameworkErrorHandler();\n\n\t\t\t\t\t// Track if server error has been handled.\n\t\t\t\t\tlet serverErrorHandled = false;\n\n\t\t\t\t\tif (withState) {\n\t\t\t\t\t\t// Previous state is placed between bind args and main arg inputs, so it's always at the index of\n\t\t\t\t\t\t// the bind args schemas + 1. Get it and remove it from the client inputs array.\n\t\t\t\t\t\tprevResult = clientInputs.splice(bindArgsSchemas.length, 1)[0] as PrevResult;\n\t\t\t\t\t}\n\n\t\t\t\t\t// If the number of bind args schemas + 1 (which is the optional main arg schema) is greater\n\t\t\t\t\t// than the number of provided client inputs, it means that the main argument is missing.\n\t\t\t\t\t// This happens when the main schema is missing (since it's optional), or if a void main schema\n\t\t\t\t\t// is provided along with bind args schemas.\n\t\t\t\t\tif (bindArgsSchemas.length + 1 > clientInputs.length) {\n\t\t\t\t\t\tclientInputs.push(undefined);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Execute the middleware stack.\n\t\t\t\t\tconst executeMiddlewareStack = async (idx = 0) => {\n\t\t\t\t\t\tif (frameworkErrorHandler.error) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst middlewareFn = args.middlewareFns[idx];\n\t\t\t\t\t\tmiddlewareResult.ctx = currentCtx;\n\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (idx === 0) {\n\t\t\t\t\t\t\t\tif (args.metadataSchema) {\n\t\t\t\t\t\t\t\t\t// Validate metadata input.\n\t\t\t\t\t\t\t\t\tconst parsedMd = await standardParse(args.metadataSchema, args.metadata);\n\n\t\t\t\t\t\t\t\t\tif (parsedMd.issues) {\n\t\t\t\t\t\t\t\t\t\tthrow new ActionMetadataValidationError<MetadataSchema>(buildValidationErrors(parsedMd.issues));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Middleware function.\n\t\t\t\t\t\t\tif (middlewareFn) {\n\t\t\t\t\t\t\t\tawait middlewareFn({\n\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1), // pass raw client input\n\t\t\t\t\t\t\t\t\tbindArgsClientInputs: bindArgsSchemas.length ? clientInputs.slice(0, -1) : [],\n\t\t\t\t\t\t\t\t\tctx: currentCtx,\n\t\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\t\tnext: async (nextOpts) => {\n\t\t\t\t\t\t\t\t\t\tcurrentCtx = deepmerge(currentCtx, nextOpts?.ctx ?? {});\n\t\t\t\t\t\t\t\t\t\tawait executeMiddlewareStack(idx + 1);\n\t\t\t\t\t\t\t\t\t\treturn middlewareResult;\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t}).catch((e) => {\n\t\t\t\t\t\t\t\t\tframeworkErrorHandler.handleError(e);\n\t\t\t\t\t\t\t\t\tif (frameworkErrorHandler.error) {\n\t\t\t\t\t\t\t\t\t\tmiddlewareResult.success = false;\n\t\t\t\t\t\t\t\t\t\tmiddlewareResult.navigationKind = FrameworkErrorHandler.getNavigationKind(\n\t\t\t\t\t\t\t\t\t\t\tframeworkErrorHandler.error\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t// Action function.\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Validate the client inputs in parallel.\n\t\t\t\t\t\t\t\tconst parsedInputs = await Promise.all(\n\t\t\t\t\t\t\t\t\tclientInputs.map(async (input, i) => {\n\t\t\t\t\t\t\t\t\t\t// Last client input in the array, main argument (no bind arg).\n\t\t\t\t\t\t\t\t\t\tif (i === clientInputs.length - 1) {\n\t\t\t\t\t\t\t\t\t\t\t// If schema is undefined, set parsed data to undefined.\n\t\t\t\t\t\t\t\t\t\t\tif (typeof args.inputSchemaFn === \"undefined\") {\n\t\t\t\t\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: undefined,\n\t\t\t\t\t\t\t\t\t\t\t\t} as const satisfies StandardSchemaV1.Result<undefined>;\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Otherwise, parse input with the schema.\n\t\t\t\t\t\t\t\t\t\t\treturn standardParse(await args.inputSchemaFn(), input);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Otherwise, we're processing bind args client inputs.\n\t\t\t\t\t\t\t\t\t\treturn standardParse(bindArgsSchemas[i]!, input);\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tlet hasBindValidationErrors = false;\n\n\t\t\t\t\t\t\t\t// Initialize the bind args validation errors array with null values.\n\t\t\t\t\t\t\t\t// It has the same length as the number of bind arguments (parsedInputs - 1).\n\t\t\t\t\t\t\t\tconst bindArgsValidationErrors = Array(parsedInputs.length - 1).fill({});\n\n\t\t\t\t\t\t\t\tfor (let i = 0; i < parsedInputs.length; i++) {\n\t\t\t\t\t\t\t\t\tconst parsedInput = parsedInputs[i]!;\n\n\t\t\t\t\t\t\t\t\tif (!parsedInput.issues) {\n\t\t\t\t\t\t\t\t\t\tparsedInputDatas.push(parsedInput.value);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t// If we're processing a bind argument and there are validation errors for this one,\n\t\t\t\t\t\t\t\t\t\t// we need to store them in the bind args validation errors array at this index.\n\t\t\t\t\t\t\t\t\t\tif (i < parsedInputs.length - 1) {\n\t\t\t\t\t\t\t\t\t\t\tbindArgsValidationErrors[i] = buildValidationErrors<BAS[number]>(parsedInput.issues);\n\t\t\t\t\t\t\t\t\t\t\thasBindValidationErrors = true;\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t// Otherwise, we're processing the non-bind argument (the last one) in the array.\n\t\t\t\t\t\t\t\t\t\t\tconst validationErrors = buildValidationErrors<IS>(parsedInput.issues);\n\n\t\t\t\t\t\t\t\t\t\t\tmiddlewareResult.validationErrors = await Promise.resolve(\n\t\t\t\t\t\t\t\t\t\t\t\targs.handleValidationErrorsShape(validationErrors, {\n\t\t\t\t\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? clientInputs.slice(0, -1)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// If there are bind args validation errors, throw an error.\n\t\t\t\t\t\t\t\tif (hasBindValidationErrors) {\n\t\t\t\t\t\t\t\t\tthrow new ActionBindArgsValidationError(bindArgsValidationErrors);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (middlewareResult.validationErrors) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// @ts-expect-error\n\t\t\t\t\t\t\t\tconst scfArgs: Parameters<StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>> = [];\n\n\t\t\t\t\t\t\t\t// Server code function always has this object as the first argument.\n\t\t\t\t\t\t\t\tscfArgs[0] = {\n\t\t\t\t\t\t\t\t\tparsedInput: parsedInputDatas.at(-1) as InferOutputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\t\tbindArgsParsedInputs: parsedInputDatas.slice(0, -1) as InferOutputArray<BAS>,\n\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length\n\t\t\t\t\t\t\t\t\t\t? clientInputs.slice(0, -1)\n\t\t\t\t\t\t\t\t\t\t: []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t// If this action is stateful, server code function also has a `prevResult` property inside the second\n\t\t\t\t\t\t\t\t// argument object.\n\t\t\t\t\t\t\t\tif (withState) {\n\t\t\t\t\t\t\t\t\tscfArgs[1] = { prevResult: structuredClone(prevResult) };\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tconst data = await serverCodeFn(...scfArgs).catch((e) => frameworkErrorHandler.handleError(e));\n\n\t\t\t\t\t\t\t\t// If a `outputSchema` is passed, validate the action return value.\n\t\t\t\t\t\t\t\tif (typeof args.outputSchema !== \"undefined\" && !frameworkErrorHandler.error) {\n\t\t\t\t\t\t\t\t\tconst parsedData = await standardParse(args.outputSchema, data);\n\n\t\t\t\t\t\t\t\t\tif (parsedData.issues) {\n\t\t\t\t\t\t\t\t\t\tthrow new ActionOutputDataValidationError<OS>(buildValidationErrors(parsedData.issues));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (frameworkErrorHandler.error) {\n\t\t\t\t\t\t\t\t\tmiddlewareResult.success = false;\n\t\t\t\t\t\t\t\t\tmiddlewareResult.navigationKind = FrameworkErrorHandler.getNavigationKind(\n\t\t\t\t\t\t\t\t\t\tframeworkErrorHandler.error\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tmiddlewareResult.success = true;\n\t\t\t\t\t\t\t\t\tmiddlewareResult.data = data;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tmiddlewareResult.parsedInput = parsedInputDatas.at(-1);\n\t\t\t\t\t\t\t\tmiddlewareResult.bindArgsParsedInputs = parsedInputDatas.slice(0, -1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (e: unknown) {\n\t\t\t\t\t\t\t// Only handle server errors once. If already handled, rethrow to bubble up.\n\t\t\t\t\t\t\tif (serverErrorHandled) {\n\t\t\t\t\t\t\t\tthrow e;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// If error is `ActionServerValidationError`, return `validationErrors` as if schema validation would fail.\n\t\t\t\t\t\t\tif (e instanceof ActionServerValidationError) {\n\t\t\t\t\t\t\t\tconst ve = e.validationErrors as ValidationErrors<IS>;\n\t\t\t\t\t\t\t\tmiddlewareResult.validationErrors = await Promise.resolve(\n\t\t\t\t\t\t\t\t\targs.handleValidationErrorsShape(ve, {\n\t\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length\n\t\t\t\t\t\t\t\t\t\t\t? clientInputs.slice(0, -1)\n\t\t\t\t\t\t\t\t\t\t\t: []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Mark that we're handling the server error to prevent multiple calls.\n\t\t\t\t\t\t\t\tserverErrorHandled = true;\n\n\t\t\t\t\t\t\t\t// If error is not an instance of Error, wrap it in an Error object with\n\t\t\t\t\t\t\t\t// the default message.\n\t\t\t\t\t\t\t\tconst error = isError(e) ? e : new Error(DEFAULT_SERVER_ERROR_MESSAGE);\n\t\t\t\t\t\t\t\tconst returnedError = await Promise.resolve(\n\t\t\t\t\t\t\t\t\targs.handleServerError(error, {\n\t\t\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1), // pass raw client input\n\t\t\t\t\t\t\t\t\t\tbindArgsClientInputs: bindArgsSchemas.length ? clientInputs.slice(0, -1) : [],\n\t\t\t\t\t\t\t\t\t\tctx: currentCtx,\n\t\t\t\t\t\t\t\t\t\tmetadata: args.metadata as InferOutputOrDefault<MetadataSchema, undefined>,\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tmiddlewareResult.serverError = returnedError;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\t// Execute middleware chain + action function.\n\t\t\t\t\tawait executeMiddlewareStack();\n\n\t\t\t\t\tconst callbackPromises: (Promise<unknown> | undefined)[] = [];\n\n\t\t\t\t\t// If an internal (navigation) framework error occurred, throw it, so it will be processed by Next.js.\n\t\t\t\t\tif (frameworkErrorHandler.error) {\n\t\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\t\tutils?.onNavigation?.({\n\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\tnavigationKind: FrameworkErrorHandler.getNavigationKind(frameworkErrorHandler.error),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\t\tutils?.onSettled?.({\n\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\tresult: {},\n\t\t\t\t\t\t\t\tnavigationKind: FrameworkErrorHandler.getNavigationKind(frameworkErrorHandler.error),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tawait Promise.all(callbackPromises);\n\n\t\t\t\t\t\tthrow frameworkErrorHandler.error;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst actionResult: SafeActionResult<ServerError, IS, CVE, Data> = {};\n\n\t\t\t\t\tif (typeof middlewareResult.validationErrors !== \"undefined\") {\n\t\t\t\t\t\t// `utils.throwValidationErrors` has higher priority since it's set at the action level.\n\t\t\t\t\t\t// It overrides the client setting, if set.\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\twinningBoolean(\n\t\t\t\t\t\t\t\targs.throwValidationErrors,\n\t\t\t\t\t\t\t\ttypeof utils?.throwValidationErrors === \"undefined\" ? undefined : Boolean(utils.throwValidationErrors)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst overrideErrorMessageFn =\n\t\t\t\t\t\t\t\ttypeof utils?.throwValidationErrors === \"object\" && utils?.throwValidationErrors.overrideErrorMessage\n\t\t\t\t\t\t\t\t\t? utils?.throwValidationErrors.overrideErrorMessage\n\t\t\t\t\t\t\t\t\t: undefined;\n\n\t\t\t\t\t\t\tthrow new ActionValidationError(\n\t\t\t\t\t\t\t\tmiddlewareResult.validationErrors as CVE,\n\t\t\t\t\t\t\t\tawait overrideErrorMessageFn?.(middlewareResult.validationErrors as CVE)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tactionResult.validationErrors = middlewareResult.validationErrors as CVE;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (typeof middlewareResult.serverError !== \"undefined\") {\n\t\t\t\t\t\tif (utils?.throwServerError) {\n\t\t\t\t\t\t\tthrow middlewareResult.serverError;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tactionResult.serverError = middlewareResult.serverError;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (middlewareResult.success) {\n\t\t\t\t\t\tif (typeof middlewareResult.data !== \"undefined\") {\n\t\t\t\t\t\t\tactionResult.data = middlewareResult.data as Data;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\t\tutils?.onSuccess?.({\n\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\tdata: actionResult.data as Data,\n\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\tparsedInput: parsedInputDatas.at(-1) as InferOutputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsParsedInputs: parsedInputDatas.slice(0, -1) as InferOutputArray<BAS>,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\t\tutils?.onError?.({\n\t\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\t\terror: actionResult,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\t// onSettled, if provided, is always executed.\n\t\t\t\t\tcallbackPromises.push(\n\t\t\t\t\t\tutils?.onSettled?.({\n\t\t\t\t\t\t\tmetadata: args.metadata,\n\t\t\t\t\t\t\tctx: currentCtx as Ctx,\n\t\t\t\t\t\t\tclientInput: clientInputs.at(-1) as InferInputOrDefault<IS, undefined>,\n\t\t\t\t\t\t\tbindArgsClientInputs: (bindArgsSchemas.length ? clientInputs.slice(0, -1) : []) as InferInputArray<BAS>,\n\t\t\t\t\t\t\tresult: actionResult,\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\n\t\t\t\t\tawait Promise.all(callbackPromises);\n\n\t\t\t\t\treturn actionResult;\n\t\t\t\t};\n\t\t\t},\n\t\t};\n\t}\n\n\treturn {\n\t\t/**\n\t\t * Define the action.\n\t\t * @param serverCodeFn Code that will be executed on the **server side**\n\t\t *\n\t\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#action--stateaction See docs for more information}\n\t\t */\n\t\taction: buildAction({ withState: false }).action,\n\n\t\t/**\n\t\t * Define the stateful action. To be used with the [`useStateAction`](https://next-safe-action.dev/docs/execute-actions/hooks/usestateaction) hook.\n\t\t * @param serverCodeFn Code that will be executed on the **server side**\n\t\t *\n\t\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#action--stateaction See docs for more information}\n\t\t */\n\t\tstateAction: buildAction({ withState: true }).action,\n\t};\n}\n","import { actionBuilder } from \"./action-builder\";\nimport type {\n\tDVES,\n\tMiddlewareFn,\n\tSafeActionClientArgs,\n\tSafeActionUtils,\n\tServerCodeFn,\n\tStateServerCodeFn,\n} from \"./index.types\";\nimport type { InferOutputOrDefault, StandardSchemaV1 } from \"./standard-schema\";\nimport type {\n\tFlattenedValidationErrors,\n\tHandleValidationErrorsShapeFn,\n\tValidationErrors,\n} from \"./validation-errors.types\";\n\nexport class SafeActionClient<\n\tServerError,\n\tODVES extends DVES | undefined, // override default validation errors shape\n\tMetadataSchema extends StandardSchemaV1 | undefined = undefined,\n\tMD = InferOutputOrDefault<MetadataSchema, undefined>, // metadata type (inferred from metadata schema)\n\tMDProvided extends boolean = MetadataSchema extends undefined ? true : false,\n\tCtx extends object = {},\n\tISF extends (() => Promise<StandardSchemaV1>) | undefined = undefined, // input schema function\n\tIS extends StandardSchemaV1 | undefined = ISF extends Function ? Awaited<ReturnType<ISF>> : undefined, // input schema\n\tOS extends StandardSchemaV1 | undefined = undefined, // output schema\n\tconst BAS extends readonly StandardSchemaV1[] = [],\n\tCVE = undefined,\n> {\n\treadonly #args: SafeActionClientArgs<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>;\n\n\tconstructor(\n\t\targs: SafeActionClientArgs<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>\n\t) {\n\t\tthis.#args = args;\n\t}\n\n\t/**\n\t * Use a middleware function.\n\t * @param middlewareFn Middleware function\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#use See docs for more information}\n\t */\n\tuse<NextCtx extends object>(middlewareFn: MiddlewareFn<ServerError, MD, Ctx, Ctx & NextCtx>) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\tmiddlewareFns: [...this.#args.middlewareFns, middlewareFn],\n\t\t\tctxType: {} as Ctx & NextCtx,\n\t\t});\n\t}\n\n\t/**\n\t * Define metadata for the action.\n\t * @param data Metadata with the same type as the return value of the [`defineMetadataSchema`](https://next-safe-action.dev/docs/define-actions/create-the-client#definemetadataschema) optional initialization function\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#metadata See docs for more information}\n\t */\n\tmetadata(data: MD) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\tmetadata: data,\n\t\t\tmetadataProvided: true,\n\t\t});\n\t}\n\n\t/**\n\t * Define the input validation schema for the action.\n\t * @param inputSchema Input validation schema\n\t * @param utils Optional utils object\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/create-the-client#inputschema See docs for more information}\n\t */\n\tinputSchema<\n\t\tOIS extends StandardSchemaV1 | ((prevSchema: IS) => Promise<StandardSchemaV1>), // override input schema\n\t\tAIS extends StandardSchemaV1 = OIS extends (prevSchema: IS) => Promise<StandardSchemaV1> // actual input schema\n\t\t\t? Awaited<ReturnType<OIS>>\n\t\t\t: OIS,\n\t\t// override custom validation errors shape\n\t\tOCVE = ODVES extends \"flattened\" ? FlattenedValidationErrors<ValidationErrors<AIS>> : ValidationErrors<AIS>,\n\t>(\n\t\tinputSchema: OIS,\n\t\tutils?: {\n\t\t\thandleValidationErrorsShape?: HandleValidationErrorsShapeFn<AIS, BAS, MD, Ctx, OCVE>;\n\t\t}\n\t) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\t// @ts-expect-error\n\t\t\tinputSchemaFn: (inputSchema[Symbol.toStringTag] === \"AsyncFunction\"\n\t\t\t\t? async () => {\n\t\t\t\t\t\tconst prevSchema = await this.#args.inputSchemaFn?.();\n\t\t\t\t\t\t// @ts-expect-error\n\t\t\t\t\t\treturn inputSchema(prevSchema as IS) as AIS;\n\t\t\t\t\t}\n\t\t\t\t: async () => inputSchema) as ISF,\n\t\t\thandleValidationErrorsShape: (utils?.handleValidationErrorsShape ??\n\t\t\t\tthis.#args.handleValidationErrorsShape) as HandleValidationErrorsShapeFn<AIS, BAS, MD, Ctx, OCVE>,\n\t\t});\n\t}\n\n\t/**\n\t * @deprecated Alias for `inputSchema` method. Use that instead.\n\t */\n\tschema = this.inputSchema;\n\n\t/**\n\t * Define the bind args input validation schema for the action.\n\t * @param bindArgsSchemas Bind args input validation schemas\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#bindargsschemas See docs for more information}\n\t */\n\tbindArgsSchemas<const OBAS extends readonly StandardSchemaV1[]>(bindArgsSchemas: OBAS) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\tbindArgsSchemas,\n\t\t\thandleValidationErrorsShape: this.#args.handleValidationErrorsShape as unknown as HandleValidationErrorsShapeFn<\n\t\t\t\tIS,\n\t\t\t\tOBAS,\n\t\t\t\tMD,\n\t\t\t\tCtx,\n\t\t\t\tCVE\n\t\t\t>,\n\t\t});\n\t}\n\n\t/**\n\t * Define the output data validation schema for the action.\n\t * @param schema Output data validation schema\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/create-the-client#outputschema See docs for more information}\n\t */\n\toutputSchema<OOS extends StandardSchemaV1>(dataSchema: OOS) {\n\t\treturn new SafeActionClient({\n\t\t\t...this.#args,\n\t\t\toutputSchema: dataSchema,\n\t\t});\n\t}\n\n\t/**\n\t * Define the action.\n\t * @param serverCodeFn Code that will be executed on the **server side**\n\t * @param [cb] Optional callbacks that will be called after action execution, on the server.\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#action--stateaction See docs for more information}\n\t */\n\taction<Data extends InferOutputOrDefault<OS, any>>(\n\t\tthis: MDProvided extends true\n\t\t\t? SafeActionClient<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>\n\t\t\t: never,\n\t\tserverCodeFn: ServerCodeFn<MD, Ctx, IS, BAS, Data>,\n\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t) {\n\t\treturn actionBuilder(this.#args).action(serverCodeFn, utils);\n\t}\n\n\t/**\n\t * Define the stateful action.\n\t * To be used with the [`useStateAction`](https://next-safe-action.dev/docs/execute-actions/hooks/usestateaction) hook.\n\t * @param serverCodeFn Code that will be executed on the **server side**\n\t * @param [cb] Optional callbacks that will be called after action execution, on the server.\n\t *\n\t * {@link https://next-safe-action.dev/docs/define-actions/instance-methods#action--stateaction See docs for more information}\n\t */\n\tstateAction<Data extends InferOutputOrDefault<OS, any>>(\n\t\tthis: MDProvided extends true\n\t\t\t? SafeActionClient<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>\n\t\t\t: never,\n\t\tserverCodeFn: StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>,\n\t\tutils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>\n\t) {\n\t\treturn actionBuilder(this.#args).stateAction(serverCodeFn, utils);\n\t}\n}\n","import type { MiddlewareFn } from \"./index.types\";\n\n/**\n * Creates a standalone middleware function. It accepts a generic object with optional `serverError`, `ctx` and `metadata`\n * properties, if you need one or all of them to be typed. The type for each property that is passed as generic is the\n * **minimum** shape required to define the middleware function, but it can also be larger than that.\n *\n * {@link https://next-safe-action.dev/docs/define-actions/middleware#create-standalone-middleware See docs for more information}\n */\nexport const createMiddleware = <BaseData extends { serverError?: any; ctx?: object; metadata?: any }>() => {\n\treturn {\n\t\tdefine: <NextCtx extends object>(\n\t\t\tmiddlewareFn: MiddlewareFn<\n\t\t\t\tBaseData extends { serverError: infer SE } ? SE : any,\n\t\t\t\tBaseData extends { metadata: infer MD } ? MD : any,\n\t\t\t\tBaseData extends { ctx: infer Ctx extends object } ? Ctx : object,\n\t\t\t\tNextCtx\n\t\t\t>\n\t\t) => middlewareFn,\n\t};\n};\n","import type { CreateClientOpts, DVES, HandleServerErrorFn } from \"./index.types\";\nimport { SafeActionClient } from \"./safe-action-client\";\nimport type { InferOutputOrDefault, StandardSchemaV1 } from \"./standard-schema\";\nimport { DEFAULT_SERVER_ERROR_MESSAGE } from \"./utils\";\nimport { flattenValidationErrors, formatValidationErrors } from \"./validation-errors\";\n\nexport { createMiddleware } from \"./middleware\";\nexport { DEFAULT_SERVER_ERROR_MESSAGE } from \"./utils\";\nexport {\n\tActionBindArgsValidationError,\n\tActionMetadataValidationError,\n\tActionOutputDataValidationError,\n\tActionValidationError,\n\tflattenValidationErrors,\n\tformatValidationErrors,\n\treturnValidationErrors,\n} from \"./validation-errors\";\n\nexport type * from \"./index.types\";\nexport type * from \"./validation-errors.types\";\n\n/**\n * Create a new safe action client.\n * Note: this client only works with Zod as the validation library.\n * @param createOpts Initialization options\n *\n * {@link https://next-safe-action.dev/docs/define-actions/create-the-client#initialization-options See docs for more information}\n */\nexport const createSafeActionClient = <\n\tODVES extends DVES | undefined = undefined,\n\tServerError = string,\n\tMetadataSchema extends StandardSchemaV1 | undefined = undefined,\n>(\n\tcreateOpts?: CreateClientOpts<ODVES, ServerError, MetadataSchema>\n) => {\n\t// If `handleServerError` is provided, use it, otherwise default to log to console and generic error message.\n\tconst handleServerError: HandleServerErrorFn<ServerError, MetadataSchema> =\n\t\tcreateOpts?.handleServerError ||\n\t\t((e) => {\n\t\t\tconsole.error(\"Action error:\", e.message);\n\t\t\treturn DEFAULT_SERVER_ERROR_MESSAGE as ServerError;\n\t\t});\n\n\treturn new SafeActionClient({\n\t\tmiddlewareFns: [async ({ next }) => next({ ctx: {} })],\n\t\thandleServerError,\n\t\tinputSchemaFn: undefined,\n\t\tbindArgsSchemas: [],\n\t\toutputSchema: undefined,\n\t\tctxType: {},\n\t\tmetadataSchema: (createOpts?.defineMetadataSchema?.() ?? undefined) as MetadataSchema,\n\t\tmetadata: undefined as InferOutputOrDefault<MetadataSchema, undefined>,\n\t\tdefaultValidationErrorsShape: (createOpts?.defaultValidationErrorsShape ?? \"formatted\") as ODVES,\n\t\tthrowValidationErrors: Boolean(createOpts?.throwValidationErrors),\n\t\thandleValidationErrorsShape: async (ve) =>\n\t\t\tcreateOpts?.defaultValidationErrorsShape === \"flattened\"\n\t\t\t\t? flattenValidationErrors(ve)\n\t\t\t\t: formatValidationErrors(ve),\n\t});\n};\n"],"names":["err: unknown","error: unknown","ObjectType","REACT_POSTPONE_TYPE: symbol","#frameworkError","issue: IssueWithUnionErrors","issues: readonly IssueWithUnionErrors[]","ve: any","validationErrors: unknown[]","schema: S","validationErrors: ValidationErrors<AS>","validationErrors: VE","flattened: FlattenedValidationErrors<VE>","validationErrors: ValidationErrors<MDS>","prevResult: PrevResult","scfArgs: Parameters<StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>>","callbackPromises: (Promise<unknown> | undefined)[]","actionResult: SafeActionResult<ServerError, IS, CVE, Data>","args: SafeActionClientArgs<ServerError, ODVES, MetadataSchema, MD, MDProvided, Ctx, ISF, IS, OS, BAS, CVE>","#args","middlewareFn: MiddlewareFn<ServerError, MD, Ctx, Ctx & NextCtx>","data: MD","inputSchema: OIS","utils?: {\n\t\t\thandleValidationErrorsShape?: HandleValidationErrorsShapeFn<AIS, BAS, MD, Ctx, OCVE>;\n\t\t}","bindArgsSchemas: OBAS","dataSchema: OOS","serverCodeFn: ServerCodeFn<MD, Ctx, IS, BAS, Data>","serverCodeFn: StateServerCodeFn<ServerError, MD, Ctx, IS, BAS, CVE, Data>","utils?: SafeActionUtils<ServerError, MD, Ctx, IS, BAS, CVE, Data>","middlewareFn: MiddlewareFn<\n\t\t\t\tBaseData extends { serverError: infer SE } ? SE : any,\n\t\t\t\tBaseData extends { metadata: infer MD } ? MD : any,\n\t\t\t\tBaseData extends { ctx: infer Ctx extends object } ? Ctx : object,\n\t\t\t\tNextCtx\n\t\t\t>","createOpts?: CreateClientOpts<ODVES, ServerError, MetadataSchema>","handleServerError: HandleServerErrorFn<ServerError, MetadataSchema>"],"mappings":"+HAWa,EAAA,uBAAuB,CAAG,CACrC,eAAe,CAAC,IACP,CACL,CAFuB,OAEf,CAAE,EAAO,IAAD,IA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