@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.
- package/dist/js/client/FdrClient.js +0 -47
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +0 -47
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +0 -47
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +0 -47
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +0 -55
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +0 -51
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/dashboard-agent/contract.d.ts +0 -444
- package/dist/orpc-client/dashboard-agent/contract.d.ts.map +1 -1
- package/dist/orpc-client/dashboard-agent/contract.js +0 -53
- package/dist/orpc-client/dashboard-agent/contract.js.map +1 -1
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts +0 -444
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/js/index.js
CHANGED
|
@@ -7396,49 +7396,6 @@ var ResolvedDateRangeSchema = z9.object({
|
|
|
7396
7396
|
endDate: z9.string()
|
|
7397
7397
|
});
|
|
7398
7398
|
var AnalyticsSourceSchema = z9.enum(["cache", "live"]);
|
|
7399
|
-
var TrafficSummaryResponseSchema = z9.object({
|
|
7400
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7401
|
-
metrics: z9.object({
|
|
7402
|
-
visitors: z9.number(),
|
|
7403
|
-
pageViews: z9.number(),
|
|
7404
|
-
// Absent on cache hits: the daily snapshot does not track sessions.
|
|
7405
|
-
sessions: z9.number().optional()
|
|
7406
|
-
}),
|
|
7407
|
-
baseSiteUrl: z9.string(),
|
|
7408
|
-
source: AnalyticsSourceSchema
|
|
7409
|
-
});
|
|
7410
|
-
var TopPagesResponseSchema = z9.object({
|
|
7411
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7412
|
-
topPages: z9.array(
|
|
7413
|
-
z9.object({
|
|
7414
|
-
path: z9.string(),
|
|
7415
|
-
visitors: z9.number(),
|
|
7416
|
-
views: z9.number()
|
|
7417
|
-
})
|
|
7418
|
-
),
|
|
7419
|
-
source: AnalyticsSourceSchema
|
|
7420
|
-
});
|
|
7421
|
-
var Pages404ResponseSchema = z9.object({
|
|
7422
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7423
|
-
pages404: z9.array(
|
|
7424
|
-
z9.object({
|
|
7425
|
-
path: z9.string(),
|
|
7426
|
-
count: z9.number()
|
|
7427
|
-
})
|
|
7428
|
-
),
|
|
7429
|
-
source: AnalyticsSourceSchema
|
|
7430
|
-
});
|
|
7431
|
-
var ReferringDomainsResponseSchema = z9.object({
|
|
7432
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7433
|
-
referringDomains: z9.array(
|
|
7434
|
-
z9.object({
|
|
7435
|
-
domain: z9.string(),
|
|
7436
|
-
visitors: z9.number(),
|
|
7437
|
-
views: z9.number()
|
|
7438
|
-
})
|
|
7439
|
-
),
|
|
7440
|
-
source: AnalyticsSourceSchema
|
|
7441
|
-
});
|
|
7442
7399
|
var LlmBotTrafficResponseSchema = z9.object({
|
|
7443
7400
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7444
7401
|
providers: z9.array(
|
|
@@ -7529,10 +7486,6 @@ var SiteSettingsResponseSchema = z9.object({
|
|
|
7529
7486
|
passwordProtection: SitePasswordProtectionSchema
|
|
7530
7487
|
});
|
|
7531
7488
|
var dashboardAgentContract = {
|
|
7532
|
-
getTrafficSummary: import_contract6.oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
|
|
7533
|
-
getTopPages: import_contract6.oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
|
|
7534
|
-
get404Pages: import_contract6.oc.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema).output(Pages404ResponseSchema),
|
|
7535
|
-
getReferringDomains: import_contract6.oc.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema).output(ReferringDomainsResponseSchema),
|
|
7536
7489
|
getLlmBotTraffic: import_contract6.oc.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
|
|
7537
7490
|
getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
7538
7491
|
queryAnalytics: import_contract6.oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|