@fern-api/fdr-sdk 1.2.74-68c3d5964d → 1.2.74-eb5b794e69

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.
@@ -1967,10 +1967,6 @@ var DashboardListOrgMembersInputSchema = z9.object({
1967
1967
  orgId: z9.string(),
1968
1968
  includeFernEmployees: z9.boolean().optional()
1969
1969
  });
1970
- var DashboardGetSiteConfigInputSchema = z9.object({
1971
- orgId: z9.string(),
1972
- domain: z9.string().min(1)
1973
- });
1974
1970
  var AnalyticsMetricSchema = z9.enum(["pageviews", "visitors", "sessions", "404s"]);
1975
1971
  var AnalyticsDimensionSchema = z9.enum(["path", "referrer"]);
1976
1972
  var AnalyticsGranularitySchema = z9.enum(["day", "week", "month"]);
@@ -2094,42 +2090,6 @@ var OrgMembersResponseSchema = z9.object({
2094
2090
  ),
2095
2091
  count: z9.number()
2096
2092
  });
2097
- var SiteGitRepositorySchema = z9.object({
2098
- gitUrl: z9.string(),
2099
- provider: z9.enum(["github", "gitlab", "other"]),
2100
- /** `owner/repo` when the git url points at GitHub, else null. */
2101
- githubRepository: z9.string().nullable(),
2102
- branch: z9.string().nullable()
2103
- });
2104
- var SiteConfigResponseSchema = z9.object({
2105
- domain: z9.string(),
2106
- basepath: z9.string().nullable(),
2107
- status: z9.string().nullable(),
2108
- isPreview: z9.boolean(),
2109
- /** The git repository connected to this docs site, when one exists. */
2110
- gitRepository: SiteGitRepositorySchema.nullable(),
2111
- /** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
2112
- isCustomDomain: z9.boolean(),
2113
- /** Fern CLI version that published the current deployment, when known. */
2114
- fernCliVersion: z9.string().nullable(),
2115
- /** Connected Postman collection id, when one exists. */
2116
- postmanCollectionId: z9.string().nullable()
2117
- });
2118
- var SitePasswordProtectionSchema = z9.object({
2119
- enabled: z9.boolean(),
2120
- /** Number of configured passwords. Passwords themselves are never returned. */
2121
- passwordCount: z9.number()
2122
- });
2123
- var SiteSettingsResponseSchema = z9.object({
2124
- domain: z9.string(),
2125
- basepath: z9.string().nullable(),
2126
- /** Default basepath route for multi-basepath domains, when configured. */
2127
- defaultBasepath: z9.string().nullable(),
2128
- /** Basepaths routed on this domain, when configured. */
2129
- basepaths: z9.array(z9.string()).nullable(),
2130
- searchBehavior: z9.enum(["hierarchical", "unified"]).nullable(),
2131
- passwordProtection: SitePasswordProtectionSchema
2132
- });
2133
2093
  var dashboardAgentContract = {
2134
2094
  getTrafficSummary: oc4.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
2135
2095
  getTopPages: oc4.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
@@ -2139,9 +2099,7 @@ var dashboardAgentContract = {
2139
2099
  getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
2140
2100
  queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
2141
2101
  listOrgDocDomains: oc4.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
2142
- listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
2143
- getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
2144
- getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
2102
+ listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
2145
2103
  };
2146
2104
 
2147
2105
  // src/orpc-client/dashboard-agent/client.ts