@fern-api/fdr-sdk 1.2.87-b4bde64aa8 → 1.2.88-4a06fab22c
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/client/FdrClient.js +0 -54
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +0 -54
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +0 -54
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +0 -54
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +0 -66
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +0 -60
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/dashboard-agent/contract.d.ts +0 -473
- package/dist/orpc-client/dashboard-agent/contract.d.ts.map +1 -1
- package/dist/orpc-client/dashboard-agent/contract.js +0 -63
- package/dist/orpc-client/dashboard-agent/contract.js.map +1 -1
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts +0 -473
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1960,9 +1960,6 @@ var DashboardFeedbackInputSchema = z9.object({
|
|
|
1960
1960
|
feedbackType: z9.enum(["page", "code_block", "all"]).optional(),
|
|
1961
1961
|
limit: z9.number().int().min(1).max(50).optional()
|
|
1962
1962
|
});
|
|
1963
|
-
var DashboardListOrgDocDomainsInputSchema = z9.object({
|
|
1964
|
-
orgId: z9.string()
|
|
1965
|
-
});
|
|
1966
1963
|
var DashboardListOrgMembersInputSchema = z9.object({
|
|
1967
1964
|
orgId: z9.string(),
|
|
1968
1965
|
includeFernEmployees: z9.boolean().optional()
|
|
@@ -2008,49 +2005,6 @@ var ResolvedDateRangeSchema = z9.object({
|
|
|
2008
2005
|
endDate: z9.string()
|
|
2009
2006
|
});
|
|
2010
2007
|
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
2008
|
var LlmBotTrafficResponseSchema = z9.object({
|
|
2055
2009
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2056
2010
|
providers: z9.array(
|
|
@@ -2076,9 +2030,6 @@ var RecentFeedbackResponseSchema = z9.object({
|
|
|
2076
2030
|
),
|
|
2077
2031
|
hasMore: z9.boolean()
|
|
2078
2032
|
});
|
|
2079
|
-
var OrgDocDomainsResponseSchema = z9.object({
|
|
2080
|
-
domains: z9.array(z9.string())
|
|
2081
|
-
});
|
|
2082
2033
|
var QueryAnalyticsResponseSchema = z9.object({
|
|
2083
2034
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2084
2035
|
metric: AnalyticsMetricSchema,
|
|
@@ -2141,14 +2092,9 @@ var SiteSettingsResponseSchema = z9.object({
|
|
|
2141
2092
|
passwordProtection: SitePasswordProtectionSchema
|
|
2142
2093
|
});
|
|
2143
2094
|
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
2095
|
getLlmBotTraffic: oc4.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
|
|
2149
2096
|
getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
2150
2097
|
queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
2151
|
-
listOrgDocDomains: oc4.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
|
|
2152
2098
|
listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
2153
2099
|
getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
2154
2100
|
authorizeDocsEdit: oc4.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
|