@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
package/dist/js/index.mjs
CHANGED
|
@@ -7285,9 +7285,6 @@ var DashboardFeedbackInputSchema = z9.object({
|
|
|
7285
7285
|
feedbackType: z9.enum(["page", "code_block", "all"]).optional(),
|
|
7286
7286
|
limit: z9.number().int().min(1).max(50).optional()
|
|
7287
7287
|
});
|
|
7288
|
-
var DashboardListOrgDocDomainsInputSchema = z9.object({
|
|
7289
|
-
orgId: z9.string()
|
|
7290
|
-
});
|
|
7291
7288
|
var DashboardListOrgMembersInputSchema = z9.object({
|
|
7292
7289
|
orgId: z9.string(),
|
|
7293
7290
|
includeFernEmployees: z9.boolean().optional()
|
|
@@ -7333,49 +7330,6 @@ var ResolvedDateRangeSchema = z9.object({
|
|
|
7333
7330
|
endDate: z9.string()
|
|
7334
7331
|
});
|
|
7335
7332
|
var AnalyticsSourceSchema = z9.enum(["cache", "live"]);
|
|
7336
|
-
var TrafficSummaryResponseSchema = z9.object({
|
|
7337
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7338
|
-
metrics: z9.object({
|
|
7339
|
-
visitors: z9.number(),
|
|
7340
|
-
pageViews: z9.number(),
|
|
7341
|
-
// Absent on cache hits: the daily snapshot does not track sessions.
|
|
7342
|
-
sessions: z9.number().optional()
|
|
7343
|
-
}),
|
|
7344
|
-
baseSiteUrl: z9.string(),
|
|
7345
|
-
source: AnalyticsSourceSchema
|
|
7346
|
-
});
|
|
7347
|
-
var TopPagesResponseSchema = z9.object({
|
|
7348
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7349
|
-
topPages: z9.array(
|
|
7350
|
-
z9.object({
|
|
7351
|
-
path: z9.string(),
|
|
7352
|
-
visitors: z9.number(),
|
|
7353
|
-
views: z9.number()
|
|
7354
|
-
})
|
|
7355
|
-
),
|
|
7356
|
-
source: AnalyticsSourceSchema
|
|
7357
|
-
});
|
|
7358
|
-
var Pages404ResponseSchema = z9.object({
|
|
7359
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7360
|
-
pages404: z9.array(
|
|
7361
|
-
z9.object({
|
|
7362
|
-
path: z9.string(),
|
|
7363
|
-
count: z9.number()
|
|
7364
|
-
})
|
|
7365
|
-
),
|
|
7366
|
-
source: AnalyticsSourceSchema
|
|
7367
|
-
});
|
|
7368
|
-
var ReferringDomainsResponseSchema = z9.object({
|
|
7369
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7370
|
-
referringDomains: z9.array(
|
|
7371
|
-
z9.object({
|
|
7372
|
-
domain: z9.string(),
|
|
7373
|
-
visitors: z9.number(),
|
|
7374
|
-
views: z9.number()
|
|
7375
|
-
})
|
|
7376
|
-
),
|
|
7377
|
-
source: AnalyticsSourceSchema
|
|
7378
|
-
});
|
|
7379
7333
|
var LlmBotTrafficResponseSchema = z9.object({
|
|
7380
7334
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7381
7335
|
providers: z9.array(
|
|
@@ -7401,9 +7355,6 @@ var RecentFeedbackResponseSchema = z9.object({
|
|
|
7401
7355
|
),
|
|
7402
7356
|
hasMore: z9.boolean()
|
|
7403
7357
|
});
|
|
7404
|
-
var OrgDocDomainsResponseSchema = z9.object({
|
|
7405
|
-
domains: z9.array(z9.string())
|
|
7406
|
-
});
|
|
7407
7358
|
var QueryAnalyticsResponseSchema = z9.object({
|
|
7408
7359
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
7409
7360
|
metric: AnalyticsMetricSchema,
|
|
@@ -7466,14 +7417,9 @@ var SiteSettingsResponseSchema = z9.object({
|
|
|
7466
7417
|
passwordProtection: SitePasswordProtectionSchema
|
|
7467
7418
|
});
|
|
7468
7419
|
var dashboardAgentContract = {
|
|
7469
|
-
getTrafficSummary: oc4.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
|
|
7470
|
-
getTopPages: oc4.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
|
|
7471
|
-
get404Pages: oc4.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema).output(Pages404ResponseSchema),
|
|
7472
|
-
getReferringDomains: oc4.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema).output(ReferringDomainsResponseSchema),
|
|
7473
7420
|
getLlmBotTraffic: oc4.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
|
|
7474
7421
|
getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
7475
7422
|
queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
7476
|
-
listOrgDocDomains: oc4.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
|
|
7477
7423
|
listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
7478
7424
|
getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
7479
7425
|
authorizeDocsEdit: oc4.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
|