@fern-api/fdr-sdk 1.2.105-be8adff050 → 1.2.105-dd07dd897a
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 +12 -5
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +12 -5
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +12 -5
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +12 -5
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +18 -7
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +15 -6
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts +92 -29
- 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,12 +2228,19 @@ var ResolvedDateRangeSchema = z10.object({
|
|
|
2228
2228
|
endDate: z10.string()
|
|
2229
2229
|
});
|
|
2230
2230
|
var AnalyticsSourceSchema = z10.enum(["cache", "live"]);
|
|
2231
|
-
var
|
|
2231
|
+
var StaticContentGroupBySchema = z10.enum(["file", "provider"]);
|
|
2232
|
+
var StaticContentTrafficInputSchema = DashboardAnalyticsCommonInputSchema.extend({
|
|
2233
|
+
groupBy: StaticContentGroupBySchema.optional()
|
|
2234
|
+
});
|
|
2235
|
+
var StaticContentTrafficResponseSchema = z10.object({
|
|
2232
2236
|
resolvedDateRange: ResolvedDateRangeSchema,
|
|
2233
|
-
|
|
2237
|
+
groupBy: StaticContentGroupBySchema,
|
|
2238
|
+
rows: z10.array(
|
|
2234
2239
|
z10.object({
|
|
2235
|
-
|
|
2236
|
-
|
|
2240
|
+
key: z10.string(),
|
|
2241
|
+
requests: z10.number(),
|
|
2242
|
+
agentViews: z10.number().optional(),
|
|
2243
|
+
humanViews: z10.number().optional()
|
|
2237
2244
|
})
|
|
2238
2245
|
),
|
|
2239
2246
|
source: AnalyticsSourceSchema
|
|
@@ -2338,7 +2345,7 @@ var SiteSettingsResponseSchema = z10.object({
|
|
|
2338
2345
|
passwordProtection: SitePasswordProtectionSchema
|
|
2339
2346
|
});
|
|
2340
2347
|
var dashboardAgentContract = {
|
|
2341
|
-
|
|
2348
|
+
getStaticContentTraffic: oc4.route({ method: "POST", path: "/get-static-content-traffic" }).input(StaticContentTrafficInputSchema).output(StaticContentTrafficResponseSchema),
|
|
2342
2349
|
getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
2343
2350
|
queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
2344
2351
|
listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
@@ -6904,7 +6911,6 @@ export {
|
|
|
6904
6911
|
ListRepositoriesInputSchema,
|
|
6905
6912
|
ListRepositoriesResponseSchema,
|
|
6906
6913
|
LiteralTypeSchema,
|
|
6907
|
-
LlmBotTrafficResponseSchema,
|
|
6908
6914
|
LoadDocsForUrlResponseSchema,
|
|
6909
6915
|
LocaleEntrySchema,
|
|
6910
6916
|
LongTypeSchema,
|
|
@@ -7086,6 +7092,9 @@ export {
|
|
|
7086
7092
|
StartDocsRegisterV2ResponseSchema,
|
|
7087
7093
|
StartLibraryDocsGenerationInputSchema,
|
|
7088
7094
|
StartLibraryDocsGenerationResponseSchema,
|
|
7095
|
+
StaticContentGroupBySchema,
|
|
7096
|
+
StaticContentTrafficInputSchema,
|
|
7097
|
+
StaticContentTrafficResponseSchema,
|
|
7089
7098
|
StreamConditionSchema,
|
|
7090
7099
|
StreamResponseV2Schema,
|
|
7091
7100
|
StringTypeSchema,
|