@fern-api/fdr-sdk 1.2.105-2c4438abd8 → 1.2.105-be8adff050

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