@fern-api/fdr-sdk 1.2.87-82c32c8d7a → 1.2.88-08d0bf2dd6

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.
@@ -2008,49 +2008,6 @@ var ResolvedDateRangeSchema = z9.object({
2008
2008
  endDate: z9.string()
2009
2009
  });
2010
2010
  var AnalyticsSourceSchema = z9.enum(["cache", "live"]);
2011
- var TrafficSummaryResponseSchema = z9.object({
2012
- resolvedDateRange: ResolvedDateRangeSchema,
2013
- metrics: z9.object({
2014
- visitors: z9.number(),
2015
- pageViews: z9.number(),
2016
- // Absent on cache hits: the daily snapshot does not track sessions.
2017
- sessions: z9.number().optional()
2018
- }),
2019
- baseSiteUrl: z9.string(),
2020
- source: AnalyticsSourceSchema
2021
- });
2022
- var TopPagesResponseSchema = z9.object({
2023
- resolvedDateRange: ResolvedDateRangeSchema,
2024
- topPages: z9.array(
2025
- z9.object({
2026
- path: z9.string(),
2027
- visitors: z9.number(),
2028
- views: z9.number()
2029
- })
2030
- ),
2031
- source: AnalyticsSourceSchema
2032
- });
2033
- var Pages404ResponseSchema = z9.object({
2034
- resolvedDateRange: ResolvedDateRangeSchema,
2035
- pages404: z9.array(
2036
- z9.object({
2037
- path: z9.string(),
2038
- count: z9.number()
2039
- })
2040
- ),
2041
- source: AnalyticsSourceSchema
2042
- });
2043
- var ReferringDomainsResponseSchema = z9.object({
2044
- resolvedDateRange: ResolvedDateRangeSchema,
2045
- referringDomains: z9.array(
2046
- z9.object({
2047
- domain: z9.string(),
2048
- visitors: z9.number(),
2049
- views: z9.number()
2050
- })
2051
- ),
2052
- source: AnalyticsSourceSchema
2053
- });
2054
2011
  var LlmBotTrafficResponseSchema = z9.object({
2055
2012
  resolvedDateRange: ResolvedDateRangeSchema,
2056
2013
  providers: z9.array(
@@ -2141,10 +2098,6 @@ var SiteSettingsResponseSchema = z9.object({
2141
2098
  passwordProtection: SitePasswordProtectionSchema
2142
2099
  });
2143
2100
  var dashboardAgentContract = {
2144
- getTrafficSummary: oc4.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
2145
- getTopPages: oc4.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
2146
- get404Pages: oc4.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema).output(Pages404ResponseSchema),
2147
- getReferringDomains: oc4.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema).output(ReferringDomainsResponseSchema),
2148
2101
  getLlmBotTraffic: oc4.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
2149
2102
  getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
2150
2103
  queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),