@fern-api/fdr-sdk 1.2.105-a08ab1884d → 1.2.105-be8adff050
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 +5 -12
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +5 -12
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +5 -12
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +5 -12
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +7 -18
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +6 -15
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts +29 -92
- 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
|
@@ -384,6 +384,7 @@ __export(orpc_client_exports, {
|
|
|
384
384
|
ListRepositoriesInputSchema: () => ListRepositoriesInputSchema,
|
|
385
385
|
ListRepositoriesResponseSchema: () => ListRepositoriesResponseSchema,
|
|
386
386
|
LiteralTypeSchema: () => LiteralTypeSchema,
|
|
387
|
+
LlmBotTrafficResponseSchema: () => LlmBotTrafficResponseSchema,
|
|
387
388
|
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
|
|
388
389
|
LocaleEntrySchema: () => LocaleEntrySchema,
|
|
389
390
|
LongTypeSchema: () => LongTypeSchema,
|
|
@@ -565,9 +566,6 @@ __export(orpc_client_exports, {
|
|
|
565
566
|
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
566
567
|
StartLibraryDocsGenerationInputSchema: () => StartLibraryDocsGenerationInputSchema,
|
|
567
568
|
StartLibraryDocsGenerationResponseSchema: () => StartLibraryDocsGenerationResponseSchema,
|
|
568
|
-
StaticContentGroupBySchema: () => StaticContentGroupBySchema,
|
|
569
|
-
StaticContentTrafficInputSchema: () => StaticContentTrafficInputSchema,
|
|
570
|
-
StaticContentTrafficResponseSchema: () => StaticContentTrafficResponseSchema,
|
|
571
569
|
StreamConditionSchema: () => StreamConditionSchema,
|
|
572
570
|
StreamResponseV2Schema: () => StreamResponseV2Schema,
|
|
573
571
|
StringTypeSchema: () => StringTypeSchema,
|
|
@@ -2919,19 +2917,12 @@ var ResolvedDateRangeSchema = z10.object({
|
|
|
2919
2917
|
endDate: z10.string()
|
|
2920
2918
|
});
|
|
2921
2919
|
var AnalyticsSourceSchema = z10.enum(["cache", "live"]);
|
|
2922
|
-
var
|
|
2923
|
-
var StaticContentTrafficInputSchema = DashboardAnalyticsCommonInputSchema.extend({
|
|
2924
|
-
groupBy: StaticContentGroupBySchema.optional()
|
|
2925
|
-
});
|
|
2926
|
-
var StaticContentTrafficResponseSchema = z10.object({
|
|
2920
|
+
var LlmBotTrafficResponseSchema = z10.object({
|
|
2927
2921
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2928
|
-
|
|
2929
|
-
rows: z10.array(
|
|
2922
|
+
providers: z10.array(
|
|
2930
2923
|
z10.object({
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
agentViews: z10.number().optional(),
|
|
2934
|
-
humanViews: z10.number().optional()
|
|
2924
|
+
provider: z10.string(),
|
|
2925
|
+
count: z10.number()
|
|
2935
2926
|
})
|
|
2936
2927
|
),
|
|
2937
2928
|
source: AnalyticsSourceSchema
|
|
@@ -3036,7 +3027,7 @@ var SiteSettingsResponseSchema = z10.object({
|
|
|
3036
3027
|
passwordProtection: SitePasswordProtectionSchema
|
|
3037
3028
|
});
|
|
3038
3029
|
var dashboardAgentContract = {
|
|
3039
|
-
|
|
3030
|
+
getLlmBotTraffic: import_contract6.oc.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
|
|
3040
3031
|
getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
3041
3032
|
queryAnalytics: import_contract6.oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
3042
3033
|
listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
@@ -7603,6 +7594,7 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7603
7594
|
ListRepositoriesInputSchema,
|
|
7604
7595
|
ListRepositoriesResponseSchema,
|
|
7605
7596
|
LiteralTypeSchema,
|
|
7597
|
+
LlmBotTrafficResponseSchema,
|
|
7606
7598
|
LoadDocsForUrlResponseSchema,
|
|
7607
7599
|
LocaleEntrySchema,
|
|
7608
7600
|
LongTypeSchema,
|
|
@@ -7784,9 +7776,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7784
7776
|
StartDocsRegisterV2ResponseSchema,
|
|
7785
7777
|
StartLibraryDocsGenerationInputSchema,
|
|
7786
7778
|
StartLibraryDocsGenerationResponseSchema,
|
|
7787
|
-
StaticContentGroupBySchema,
|
|
7788
|
-
StaticContentTrafficInputSchema,
|
|
7789
|
-
StaticContentTrafficResponseSchema,
|
|
7790
7779
|
StreamConditionSchema,
|
|
7791
7780
|
StreamResponseV2Schema,
|
|
7792
7781
|
StringTypeSchema,
|