@fern-api/fdr-sdk 1.2.105-be8adff050 → 1.2.106-a08ab1884d

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.
package/dist/js/index.js CHANGED
@@ -7683,12 +7683,19 @@ var ResolvedDateRangeSchema = z9.object({
7683
7683
  endDate: z9.string()
7684
7684
  });
7685
7685
  var AnalyticsSourceSchema = z9.enum(["cache", "live"]);
7686
- var LlmBotTrafficResponseSchema = z9.object({
7686
+ var StaticContentGroupBySchema = z9.enum(["file", "provider"]);
7687
+ var StaticContentTrafficInputSchema = DashboardAnalyticsCommonInputSchema.extend({
7688
+ groupBy: StaticContentGroupBySchema.optional()
7689
+ });
7690
+ var StaticContentTrafficResponseSchema = z9.object({
7687
7691
  resolvedDateRange: ResolvedDateRangeSchema,
7688
- providers: z9.array(
7692
+ groupBy: StaticContentGroupBySchema,
7693
+ rows: z9.array(
7689
7694
  z9.object({
7690
- provider: z9.string(),
7691
- count: z9.number()
7695
+ key: z9.string(),
7696
+ requests: z9.number(),
7697
+ agentViews: z9.number().optional(),
7698
+ humanViews: z9.number().optional()
7692
7699
  })
7693
7700
  ),
7694
7701
  source: AnalyticsSourceSchema
@@ -7793,7 +7800,7 @@ var SiteSettingsResponseSchema = z9.object({
7793
7800
  passwordProtection: SitePasswordProtectionSchema
7794
7801
  });
7795
7802
  var dashboardAgentContract = {
7796
- getLlmBotTraffic: import_contract6.oc.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
7803
+ getStaticContentTraffic: import_contract6.oc.route({ method: "POST", path: "/get-static-content-traffic" }).input(StaticContentTrafficInputSchema).output(StaticContentTrafficResponseSchema),
7797
7804
  getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
7798
7805
  queryAnalytics: import_contract6.oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
7799
7806
  listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),