@fern-api/fdr-sdk 1.2.74-58b68e5a75 → 1.2.74-68c3d5964d

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.
@@ -2183,6 +2183,10 @@ var DashboardListOrgMembersInputSchema = z10.object({
2183
2183
  orgId: z10.string(),
2184
2184
  includeFernEmployees: z10.boolean().optional()
2185
2185
  });
2186
+ var DashboardGetSiteConfigInputSchema = z10.object({
2187
+ orgId: z10.string(),
2188
+ domain: z10.string().min(1)
2189
+ });
2186
2190
  var AnalyticsMetricSchema = z10.enum(["pageviews", "visitors", "sessions", "404s"]);
2187
2191
  var AnalyticsDimensionSchema = z10.enum(["path", "referrer"]);
2188
2192
  var AnalyticsGranularitySchema = z10.enum(["day", "week", "month"]);
@@ -2306,6 +2310,42 @@ var OrgMembersResponseSchema = z10.object({
2306
2310
  ),
2307
2311
  count: z10.number()
2308
2312
  });
2313
+ var SiteGitRepositorySchema = z10.object({
2314
+ gitUrl: z10.string(),
2315
+ provider: z10.enum(["github", "gitlab", "other"]),
2316
+ /** `owner/repo` when the git url points at GitHub, else null. */
2317
+ githubRepository: z10.string().nullable(),
2318
+ branch: z10.string().nullable()
2319
+ });
2320
+ var SiteConfigResponseSchema = z10.object({
2321
+ domain: z10.string(),
2322
+ basepath: z10.string().nullable(),
2323
+ status: z10.string().nullable(),
2324
+ isPreview: z10.boolean(),
2325
+ /** The git repository connected to this docs site, when one exists. */
2326
+ gitRepository: SiteGitRepositorySchema.nullable(),
2327
+ /** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
2328
+ isCustomDomain: z10.boolean(),
2329
+ /** Fern CLI version that published the current deployment, when known. */
2330
+ fernCliVersion: z10.string().nullable(),
2331
+ /** Connected Postman collection id, when one exists. */
2332
+ postmanCollectionId: z10.string().nullable()
2333
+ });
2334
+ var SitePasswordProtectionSchema = z10.object({
2335
+ enabled: z10.boolean(),
2336
+ /** Number of configured passwords. Passwords themselves are never returned. */
2337
+ passwordCount: z10.number()
2338
+ });
2339
+ var SiteSettingsResponseSchema = z10.object({
2340
+ domain: z10.string(),
2341
+ basepath: z10.string().nullable(),
2342
+ /** Default basepath route for multi-basepath domains, when configured. */
2343
+ defaultBasepath: z10.string().nullable(),
2344
+ /** Basepaths routed on this domain, when configured. */
2345
+ basepaths: z10.array(z10.string()).nullable(),
2346
+ searchBehavior: z10.enum(["hierarchical", "unified"]).nullable(),
2347
+ passwordProtection: SitePasswordProtectionSchema
2348
+ });
2309
2349
  var dashboardAgentContract = {
2310
2350
  getTrafficSummary: oc4.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
2311
2351
  getTopPages: oc4.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
@@ -2315,7 +2355,9 @@ var dashboardAgentContract = {
2315
2355
  getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
2316
2356
  queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
2317
2357
  listOrgDocDomains: oc4.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
2318
- listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
2358
+ listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
2359
+ getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
2360
+ getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
2319
2361
  };
2320
2362
 
2321
2363
  // src/orpc-client/dashboard-agent/client.ts
@@ -6381,6 +6423,7 @@ export {
6381
6423
  DashboardAnalyticsCommonInputSchema,
6382
6424
  DashboardDocsSiteSchema,
6383
6425
  DashboardFeedbackInputSchema,
6426
+ DashboardGetSiteConfigInputSchema,
6384
6427
  DashboardListOrgDocDomainsInputSchema,
6385
6428
  DashboardListOrgMembersInputSchema,
6386
6429
  DateTypeSchema,
@@ -6824,7 +6867,11 @@ export {
6824
6867
  SetEditorRepoUrlInputSchema,
6825
6868
  SetIsArchivedInputSchema,
6826
6869
  SetSnapshotInputSchema,
6870
+ SiteConfigResponseSchema,
6871
+ SiteGitRepositorySchema,
6827
6872
  SiteMetricsSchema,
6873
+ SitePasswordProtectionSchema,
6874
+ SiteSettingsResponseSchema,
6828
6875
  SlugEntrySchema,
6829
6876
  SlugsInputSchema,
6830
6877
  SnippetInfoSchema,