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