@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.
@@ -2004,10 +2004,6 @@ var DashboardListOrgMembersInputSchema = z9.object({
2004
2004
  orgId: z9.string(),
2005
2005
  includeFernEmployees: z9.boolean().optional()
2006
2006
  });
2007
- var DashboardGetSiteConfigInputSchema = z9.object({
2008
- orgId: z9.string(),
2009
- domain: z9.string().min(1)
2010
- });
2011
2007
  var AnalyticsMetricSchema = z9.enum(["pageviews", "visitors", "sessions", "404s"]);
2012
2008
  var AnalyticsDimensionSchema = z9.enum(["path", "referrer"]);
2013
2009
  var AnalyticsGranularitySchema = z9.enum(["day", "week", "month"]);
@@ -2131,42 +2127,6 @@ var OrgMembersResponseSchema = z9.object({
2131
2127
  ),
2132
2128
  count: z9.number()
2133
2129
  });
2134
- var SiteGitRepositorySchema = z9.object({
2135
- gitUrl: z9.string(),
2136
- provider: z9.enum(["github", "gitlab", "other"]),
2137
- /** `owner/repo` when the git url points at GitHub, else null. */
2138
- githubRepository: z9.string().nullable(),
2139
- branch: z9.string().nullable()
2140
- });
2141
- var SiteConfigResponseSchema = z9.object({
2142
- domain: z9.string(),
2143
- basepath: z9.string().nullable(),
2144
- status: z9.string().nullable(),
2145
- isPreview: z9.boolean(),
2146
- /** The git repository connected to this docs site, when one exists. */
2147
- gitRepository: SiteGitRepositorySchema.nullable(),
2148
- /** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
2149
- isCustomDomain: z9.boolean(),
2150
- /** Fern CLI version that published the current deployment, when known. */
2151
- fernCliVersion: z9.string().nullable(),
2152
- /** Connected Postman collection id, when one exists. */
2153
- postmanCollectionId: z9.string().nullable()
2154
- });
2155
- var SitePasswordProtectionSchema = z9.object({
2156
- enabled: z9.boolean(),
2157
- /** Number of configured passwords. Passwords themselves are never returned. */
2158
- passwordCount: z9.number()
2159
- });
2160
- var SiteSettingsResponseSchema = z9.object({
2161
- domain: z9.string(),
2162
- basepath: z9.string().nullable(),
2163
- /** Default basepath route for multi-basepath domains, when configured. */
2164
- defaultBasepath: z9.string().nullable(),
2165
- /** Basepaths routed on this domain, when configured. */
2166
- basepaths: z9.array(z9.string()).nullable(),
2167
- searchBehavior: z9.enum(["hierarchical", "unified"]).nullable(),
2168
- passwordProtection: SitePasswordProtectionSchema
2169
- });
2170
2130
  var dashboardAgentContract = {
2171
2131
  getTrafficSummary: import_contract6.oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
2172
2132
  getTopPages: import_contract6.oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
@@ -2176,9 +2136,7 @@ var dashboardAgentContract = {
2176
2136
  getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
2177
2137
  queryAnalytics: import_contract6.oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
2178
2138
  listOrgDocDomains: import_contract6.oc.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
2179
- listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
2180
- getSiteConfig: import_contract6.oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
2181
- getSiteSettings: import_contract6.oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
2139
+ listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
2182
2140
  };
2183
2141
 
2184
2142
  // src/orpc-client/dashboard-agent/client.ts