@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.mjs
CHANGED
|
@@ -2228,19 +2228,12 @@ var ResolvedDateRangeSchema = z10.object({
|
|
|
2228
2228
|
endDate: z10.string()
|
|
2229
2229
|
});
|
|
2230
2230
|
var AnalyticsSourceSchema = z10.enum(["cache", "live"]);
|
|
2231
|
-
var
|
|
2232
|
-
var StaticContentTrafficInputSchema = DashboardAnalyticsCommonInputSchema.extend({
|
|
2233
|
-
groupBy: StaticContentGroupBySchema.optional()
|
|
2234
|
-
});
|
|
2235
|
-
var StaticContentTrafficResponseSchema = z10.object({
|
|
2231
|
+
var LlmBotTrafficResponseSchema = z10.object({
|
|
2236
2232
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2237
|
-
|
|
2238
|
-
rows: z10.array(
|
|
2233
|
+
providers: z10.array(
|
|
2239
2234
|
z10.object({
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
agentViews: z10.number().optional(),
|
|
2243
|
-
humanViews: z10.number().optional()
|
|
2235
|
+
provider: z10.string(),
|
|
2236
|
+
count: z10.number()
|
|
2244
2237
|
})
|
|
2245
2238
|
),
|
|
2246
2239
|
source: AnalyticsSourceSchema
|
|
@@ -2345,7 +2338,7 @@ var SiteSettingsResponseSchema = z10.object({
|
|
|
2345
2338
|
passwordProtection: SitePasswordProtectionSchema
|
|
2346
2339
|
});
|
|
2347
2340
|
var dashboardAgentContract = {
|
|
2348
|
-
|
|
2341
|
+
getLlmBotTraffic: oc4.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
|
|
2349
2342
|
getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
2350
2343
|
queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
2351
2344
|
listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
@@ -6911,6 +6904,7 @@ export {
|
|
|
6911
6904
|
ListRepositoriesInputSchema,
|
|
6912
6905
|
ListRepositoriesResponseSchema,
|
|
6913
6906
|
LiteralTypeSchema,
|
|
6907
|
+
LlmBotTrafficResponseSchema,
|
|
6914
6908
|
LoadDocsForUrlResponseSchema,
|
|
6915
6909
|
LocaleEntrySchema,
|
|
6916
6910
|
LongTypeSchema,
|
|
@@ -7092,9 +7086,6 @@ export {
|
|
|
7092
7086
|
StartDocsRegisterV2ResponseSchema,
|
|
7093
7087
|
StartLibraryDocsGenerationInputSchema,
|
|
7094
7088
|
StartLibraryDocsGenerationResponseSchema,
|
|
7095
|
-
StaticContentGroupBySchema,
|
|
7096
|
-
StaticContentTrafficInputSchema,
|
|
7097
|
-
StaticContentTrafficResponseSchema,
|
|
7098
7089
|
StreamConditionSchema,
|
|
7099
7090
|
StreamResponseV2Schema,
|
|
7100
7091
|
StringTypeSchema,
|