@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.js
CHANGED
|
@@ -96,7 +96,6 @@ __export(orpc_client_exports, {
|
|
|
96
96
|
DashboardDocsSiteSchema: () => DashboardDocsSiteSchema,
|
|
97
97
|
DashboardFeedbackInputSchema: () => DashboardFeedbackInputSchema,
|
|
98
98
|
DashboardGetSiteConfigInputSchema: () => DashboardGetSiteConfigInputSchema,
|
|
99
|
-
DashboardListOrgDocDomainsInputSchema: () => DashboardListOrgDocDomainsInputSchema,
|
|
100
99
|
DashboardListOrgMembersInputSchema: () => DashboardListOrgMembersInputSchema,
|
|
101
100
|
DateTypeSchema: () => DateTypeSchema,
|
|
102
101
|
DatetimeTypeSchema: () => DatetimeTypeSchema,
|
|
@@ -409,7 +408,6 @@ __export(orpc_client_exports, {
|
|
|
409
408
|
ObjectTypeSchema: () => ObjectTypeSchema,
|
|
410
409
|
OpenRpcProtocolSchema: () => OpenRpcProtocolSchema,
|
|
411
410
|
OrgConfigResponseSchema: () => OrgConfigResponseSchema,
|
|
412
|
-
OrgDocDomainsResponseSchema: () => OrgDocDomainsResponseSchema,
|
|
413
411
|
OrgId: () => OrgId,
|
|
414
412
|
OrgIdSchema: () => OrgIdSchema,
|
|
415
413
|
OrgMembersResponseSchema: () => OrgMembersResponseSchema,
|
|
@@ -419,7 +417,6 @@ __export(orpc_client_exports, {
|
|
|
419
417
|
PageContentResponseSchema: () => PageContentResponseSchema,
|
|
420
418
|
PageId: () => PageId,
|
|
421
419
|
PageIdSchema: () => PageIdSchema,
|
|
422
|
-
Pages404ResponseSchema: () => Pages404ResponseSchema,
|
|
423
420
|
PathOrUrlSchema: () => PathOrUrlSchema,
|
|
424
421
|
PathParameterSchema: () => PathParameterSchema,
|
|
425
422
|
PathPartSchema: () => PathPartSchema,
|
|
@@ -483,7 +480,6 @@ __export(orpc_client_exports, {
|
|
|
483
480
|
RecentFeedbackResponseSchema: () => RecentFeedbackResponseSchema,
|
|
484
481
|
RecordPostmanNotificationInputSchema: () => RecordPostmanNotificationInputSchema,
|
|
485
482
|
RecordPostmanNotificationResponseSchema: () => RecordPostmanNotificationResponseSchema,
|
|
486
|
-
ReferringDomainsResponseSchema: () => ReferringDomainsResponseSchema,
|
|
487
483
|
RegisterApiDefinitionPackageSchema: () => RegisterApiDefinitionPackageSchema,
|
|
488
484
|
RegisterApiDefinitionResponseSchema: () => RegisterApiDefinitionResponseSchema,
|
|
489
485
|
RegisterApiDefinitionSchema: () => RegisterApiDefinitionSchema,
|
|
@@ -577,8 +573,6 @@ __export(orpc_client_exports, {
|
|
|
577
573
|
TokenIdSchema: () => TokenIdSchema,
|
|
578
574
|
TopLevelNavigationInputSchema: () => TopLevelNavigationInputSchema,
|
|
579
575
|
TopLevelNavigationResponseSchema: () => TopLevelNavigationResponseSchema,
|
|
580
|
-
TopPagesResponseSchema: () => TopPagesResponseSchema,
|
|
581
|
-
TrafficSummaryResponseSchema: () => TrafficSummaryResponseSchema,
|
|
582
576
|
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
|
|
583
577
|
TypeId: () => TypeId,
|
|
584
578
|
TypeIdSchema: () => TypeIdSchema,
|
|
@@ -2863,9 +2857,6 @@ var DashboardFeedbackInputSchema = z10.object({
|
|
|
2863
2857
|
feedbackType: z10.enum(["page", "code_block", "all"]).optional(),
|
|
2864
2858
|
limit: z10.number().int().min(1).max(50).optional()
|
|
2865
2859
|
});
|
|
2866
|
-
var DashboardListOrgDocDomainsInputSchema = z10.object({
|
|
2867
|
-
orgId: z10.string()
|
|
2868
|
-
});
|
|
2869
2860
|
var DashboardListOrgMembersInputSchema = z10.object({
|
|
2870
2861
|
orgId: z10.string(),
|
|
2871
2862
|
includeFernEmployees: z10.boolean().optional()
|
|
@@ -2911,49 +2902,6 @@ var ResolvedDateRangeSchema = z10.object({
|
|
|
2911
2902
|
endDate: z10.string()
|
|
2912
2903
|
});
|
|
2913
2904
|
var AnalyticsSourceSchema = z10.enum(["cache", "live"]);
|
|
2914
|
-
var TrafficSummaryResponseSchema = z10.object({
|
|
2915
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2916
|
-
metrics: z10.object({
|
|
2917
|
-
visitors: z10.number(),
|
|
2918
|
-
pageViews: z10.number(),
|
|
2919
|
-
// Absent on cache hits: the daily snapshot does not track sessions.
|
|
2920
|
-
sessions: z10.number().optional()
|
|
2921
|
-
}),
|
|
2922
|
-
baseSiteUrl: z10.string(),
|
|
2923
|
-
source: AnalyticsSourceSchema
|
|
2924
|
-
});
|
|
2925
|
-
var TopPagesResponseSchema = z10.object({
|
|
2926
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2927
|
-
topPages: z10.array(
|
|
2928
|
-
z10.object({
|
|
2929
|
-
path: z10.string(),
|
|
2930
|
-
visitors: z10.number(),
|
|
2931
|
-
views: z10.number()
|
|
2932
|
-
})
|
|
2933
|
-
),
|
|
2934
|
-
source: AnalyticsSourceSchema
|
|
2935
|
-
});
|
|
2936
|
-
var Pages404ResponseSchema = z10.object({
|
|
2937
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2938
|
-
pages404: z10.array(
|
|
2939
|
-
z10.object({
|
|
2940
|
-
path: z10.string(),
|
|
2941
|
-
count: z10.number()
|
|
2942
|
-
})
|
|
2943
|
-
),
|
|
2944
|
-
source: AnalyticsSourceSchema
|
|
2945
|
-
});
|
|
2946
|
-
var ReferringDomainsResponseSchema = z10.object({
|
|
2947
|
-
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2948
|
-
referringDomains: z10.array(
|
|
2949
|
-
z10.object({
|
|
2950
|
-
domain: z10.string(),
|
|
2951
|
-
visitors: z10.number(),
|
|
2952
|
-
views: z10.number()
|
|
2953
|
-
})
|
|
2954
|
-
),
|
|
2955
|
-
source: AnalyticsSourceSchema
|
|
2956
|
-
});
|
|
2957
2905
|
var LlmBotTrafficResponseSchema = z10.object({
|
|
2958
2906
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2959
2907
|
providers: z10.array(
|
|
@@ -2979,9 +2927,6 @@ var RecentFeedbackResponseSchema = z10.object({
|
|
|
2979
2927
|
),
|
|
2980
2928
|
hasMore: z10.boolean()
|
|
2981
2929
|
});
|
|
2982
|
-
var OrgDocDomainsResponseSchema = z10.object({
|
|
2983
|
-
domains: z10.array(z10.string())
|
|
2984
|
-
});
|
|
2985
2930
|
var QueryAnalyticsResponseSchema = z10.object({
|
|
2986
2931
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2987
2932
|
metric: AnalyticsMetricSchema,
|
|
@@ -3044,14 +2989,9 @@ var SiteSettingsResponseSchema = z10.object({
|
|
|
3044
2989
|
passwordProtection: SitePasswordProtectionSchema
|
|
3045
2990
|
});
|
|
3046
2991
|
var dashboardAgentContract = {
|
|
3047
|
-
getTrafficSummary: import_contract6.oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
|
|
3048
|
-
getTopPages: import_contract6.oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
|
|
3049
|
-
get404Pages: import_contract6.oc.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema).output(Pages404ResponseSchema),
|
|
3050
|
-
getReferringDomains: import_contract6.oc.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema).output(ReferringDomainsResponseSchema),
|
|
3051
2992
|
getLlmBotTraffic: import_contract6.oc.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
|
|
3052
2993
|
getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
3053
2994
|
queryAnalytics: import_contract6.oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
3054
|
-
listOrgDocDomains: import_contract6.oc.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
|
|
3055
2995
|
listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
3056
2996
|
getSiteConfig: import_contract6.oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
3057
2997
|
authorizeDocsEdit: import_contract6.oc.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
|
|
@@ -7158,7 +7098,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7158
7098
|
DashboardDocsSiteSchema,
|
|
7159
7099
|
DashboardFeedbackInputSchema,
|
|
7160
7100
|
DashboardGetSiteConfigInputSchema,
|
|
7161
|
-
DashboardListOrgDocDomainsInputSchema,
|
|
7162
7101
|
DashboardListOrgMembersInputSchema,
|
|
7163
7102
|
DateTypeSchema,
|
|
7164
7103
|
DatetimeTypeSchema,
|
|
@@ -7471,7 +7410,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7471
7410
|
ObjectTypeSchema,
|
|
7472
7411
|
OpenRpcProtocolSchema,
|
|
7473
7412
|
OrgConfigResponseSchema,
|
|
7474
|
-
OrgDocDomainsResponseSchema,
|
|
7475
7413
|
OrgId,
|
|
7476
7414
|
OrgIdSchema,
|
|
7477
7415
|
OrgMembersResponseSchema,
|
|
@@ -7481,7 +7419,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7481
7419
|
PageContentResponseSchema,
|
|
7482
7420
|
PageId,
|
|
7483
7421
|
PageIdSchema,
|
|
7484
|
-
Pages404ResponseSchema,
|
|
7485
7422
|
PathOrUrlSchema,
|
|
7486
7423
|
PathParameterSchema,
|
|
7487
7424
|
PathPartSchema,
|
|
@@ -7545,7 +7482,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7545
7482
|
RecentFeedbackResponseSchema,
|
|
7546
7483
|
RecordPostmanNotificationInputSchema,
|
|
7547
7484
|
RecordPostmanNotificationResponseSchema,
|
|
7548
|
-
ReferringDomainsResponseSchema,
|
|
7549
7485
|
RegisterApiDefinitionPackageSchema,
|
|
7550
7486
|
RegisterApiDefinitionResponseSchema,
|
|
7551
7487
|
RegisterApiDefinitionSchema,
|
|
@@ -7639,8 +7575,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7639
7575
|
TokenIdSchema,
|
|
7640
7576
|
TopLevelNavigationInputSchema,
|
|
7641
7577
|
TopLevelNavigationResponseSchema,
|
|
7642
|
-
TopPagesResponseSchema,
|
|
7643
|
-
TrafficSummaryResponseSchema,
|
|
7644
7578
|
TransferOwnershipInputSchema,
|
|
7645
7579
|
TypeId,
|
|
7646
7580
|
TypeIdSchema,
|