@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/orpc-client.mjs
CHANGED
|
@@ -2176,9 +2176,6 @@ var DashboardFeedbackInputSchema = z10.object({
|
|
|
2176
2176
|
feedbackType: z10.enum(["page", "code_block", "all"]).optional(),
|
|
2177
2177
|
limit: z10.number().int().min(1).max(50).optional()
|
|
2178
2178
|
});
|
|
2179
|
-
var DashboardListOrgDocDomainsInputSchema = z10.object({
|
|
2180
|
-
orgId: z10.string()
|
|
2181
|
-
});
|
|
2182
2179
|
var DashboardListOrgMembersInputSchema = z10.object({
|
|
2183
2180
|
orgId: z10.string(),
|
|
2184
2181
|
includeFernEmployees: z10.boolean().optional()
|
|
@@ -2224,49 +2221,6 @@ var ResolvedDateRangeSchema = z10.object({
|
|
|
2224
2221
|
endDate: z10.string()
|
|
2225
2222
|
});
|
|
2226
2223
|
var AnalyticsSourceSchema = z10.enum(["cache", "live"]);
|
|
2227
|
-
var TrafficSummaryResponseSchema = z10.object({
|
|
2228
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2229
|
-
metrics: z10.object({
|
|
2230
|
-
visitors: z10.number(),
|
|
2231
|
-
pageViews: z10.number(),
|
|
2232
|
-
// Absent on cache hits: the daily snapshot does not track sessions.
|
|
2233
|
-
sessions: z10.number().optional()
|
|
2234
|
-
}),
|
|
2235
|
-
baseSiteUrl: z10.string(),
|
|
2236
|
-
source: AnalyticsSourceSchema
|
|
2237
|
-
});
|
|
2238
|
-
var TopPagesResponseSchema = z10.object({
|
|
2239
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2240
|
-
topPages: z10.array(
|
|
2241
|
-
z10.object({
|
|
2242
|
-
path: z10.string(),
|
|
2243
|
-
visitors: z10.number(),
|
|
2244
|
-
views: z10.number()
|
|
2245
|
-
})
|
|
2246
|
-
),
|
|
2247
|
-
source: AnalyticsSourceSchema
|
|
2248
|
-
});
|
|
2249
|
-
var Pages404ResponseSchema = z10.object({
|
|
2250
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2251
|
-
pages404: z10.array(
|
|
2252
|
-
z10.object({
|
|
2253
|
-
path: z10.string(),
|
|
2254
|
-
count: z10.number()
|
|
2255
|
-
})
|
|
2256
|
-
),
|
|
2257
|
-
source: AnalyticsSourceSchema
|
|
2258
|
-
});
|
|
2259
|
-
var ReferringDomainsResponseSchema = z10.object({
|
|
2260
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2261
|
-
referringDomains: z10.array(
|
|
2262
|
-
z10.object({
|
|
2263
|
-
domain: z10.string(),
|
|
2264
|
-
visitors: z10.number(),
|
|
2265
|
-
views: z10.number()
|
|
2266
|
-
})
|
|
2267
|
-
),
|
|
2268
|
-
source: AnalyticsSourceSchema
|
|
2269
|
-
});
|
|
2270
2224
|
var LlmBotTrafficResponseSchema = z10.object({
|
|
2271
2225
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2272
2226
|
providers: z10.array(
|
|
@@ -2292,9 +2246,6 @@ var RecentFeedbackResponseSchema = z10.object({
|
|
|
2292
2246
|
),
|
|
2293
2247
|
hasMore: z10.boolean()
|
|
2294
2248
|
});
|
|
2295
|
-
var OrgDocDomainsResponseSchema = z10.object({
|
|
2296
|
-
domains: z10.array(z10.string())
|
|
2297
|
-
});
|
|
2298
2249
|
var QueryAnalyticsResponseSchema = z10.object({
|
|
2299
2250
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2300
2251
|
metric: AnalyticsMetricSchema,
|
|
@@ -2357,14 +2308,9 @@ var SiteSettingsResponseSchema = z10.object({
|
|
|
2357
2308
|
passwordProtection: SitePasswordProtectionSchema
|
|
2358
2309
|
});
|
|
2359
2310
|
var dashboardAgentContract = {
|
|
2360
|
-
getTrafficSummary: oc4.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
|
|
2361
|
-
getTopPages: oc4.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
|
|
2362
|
-
get404Pages: oc4.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema).output(Pages404ResponseSchema),
|
|
2363
|
-
getReferringDomains: oc4.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema).output(ReferringDomainsResponseSchema),
|
|
2364
2311
|
getLlmBotTraffic: oc4.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
|
|
2365
2312
|
getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
2366
2313
|
queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
2367
|
-
listOrgDocDomains: oc4.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
|
|
2368
2314
|
listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
2369
2315
|
getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
2370
2316
|
authorizeDocsEdit: oc4.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
|
|
@@ -6470,7 +6416,6 @@ export {
|
|
|
6470
6416
|
DashboardDocsSiteSchema,
|
|
6471
6417
|
DashboardFeedbackInputSchema,
|
|
6472
6418
|
DashboardGetSiteConfigInputSchema,
|
|
6473
|
-
DashboardListOrgDocDomainsInputSchema,
|
|
6474
6419
|
DashboardListOrgMembersInputSchema,
|
|
6475
6420
|
DateTypeSchema,
|
|
6476
6421
|
DatetimeTypeSchema,
|
|
@@ -6783,7 +6728,6 @@ export {
|
|
|
6783
6728
|
ObjectTypeSchema,
|
|
6784
6729
|
OpenRpcProtocolSchema,
|
|
6785
6730
|
OrgConfigResponseSchema,
|
|
6786
|
-
OrgDocDomainsResponseSchema,
|
|
6787
6731
|
OrgId,
|
|
6788
6732
|
OrgIdSchema,
|
|
6789
6733
|
OrgMembersResponseSchema,
|
|
@@ -6793,7 +6737,6 @@ export {
|
|
|
6793
6737
|
PageContentResponseSchema,
|
|
6794
6738
|
PageId,
|
|
6795
6739
|
PageIdSchema,
|
|
6796
|
-
Pages404ResponseSchema,
|
|
6797
6740
|
PathOrUrlSchema,
|
|
6798
6741
|
PathParameterSchema,
|
|
6799
6742
|
PathPartSchema,
|
|
@@ -6857,7 +6800,6 @@ export {
|
|
|
6857
6800
|
RecentFeedbackResponseSchema,
|
|
6858
6801
|
RecordPostmanNotificationInputSchema,
|
|
6859
6802
|
RecordPostmanNotificationResponseSchema,
|
|
6860
|
-
ReferringDomainsResponseSchema,
|
|
6861
6803
|
RegisterApiDefinitionPackageSchema,
|
|
6862
6804
|
RegisterApiDefinitionResponseSchema,
|
|
6863
6805
|
RegisterApiDefinitionSchema,
|
|
@@ -6951,8 +6893,6 @@ export {
|
|
|
6951
6893
|
TokenIdSchema,
|
|
6952
6894
|
TopLevelNavigationInputSchema,
|
|
6953
6895
|
TopLevelNavigationResponseSchema,
|
|
6954
|
-
TopPagesResponseSchema,
|
|
6955
|
-
TrafficSummaryResponseSchema,
|
|
6956
6896
|
TransferOwnershipInputSchema,
|
|
6957
6897
|
TypeId,
|
|
6958
6898
|
TypeIdSchema,
|