@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.
package/dist/js/index.mjs CHANGED
@@ -7272,10 +7272,6 @@ var DashboardListOrgMembersInputSchema = z9.object({
7272
7272
  orgId: z9.string(),
7273
7273
  includeFernEmployees: z9.boolean().optional()
7274
7274
  });
7275
- var DashboardGetSiteConfigInputSchema = z9.object({
7276
- orgId: z9.string(),
7277
- domain: z9.string().min(1)
7278
- });
7279
7275
  var AnalyticsMetricSchema = z9.enum(["pageviews", "visitors", "sessions", "404s"]);
7280
7276
  var AnalyticsDimensionSchema = z9.enum(["path", "referrer"]);
7281
7277
  var AnalyticsGranularitySchema = z9.enum(["day", "week", "month"]);
@@ -7399,42 +7395,6 @@ var OrgMembersResponseSchema = z9.object({
7399
7395
  ),
7400
7396
  count: z9.number()
7401
7397
  });
7402
- var SiteGitRepositorySchema = z9.object({
7403
- gitUrl: z9.string(),
7404
- provider: z9.enum(["github", "gitlab", "other"]),
7405
- /** `owner/repo` when the git url points at GitHub, else null. */
7406
- githubRepository: z9.string().nullable(),
7407
- branch: z9.string().nullable()
7408
- });
7409
- var SiteConfigResponseSchema = z9.object({
7410
- domain: z9.string(),
7411
- basepath: z9.string().nullable(),
7412
- status: z9.string().nullable(),
7413
- isPreview: z9.boolean(),
7414
- /** The git repository connected to this docs site, when one exists. */
7415
- gitRepository: SiteGitRepositorySchema.nullable(),
7416
- /** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
7417
- isCustomDomain: z9.boolean(),
7418
- /** Fern CLI version that published the current deployment, when known. */
7419
- fernCliVersion: z9.string().nullable(),
7420
- /** Connected Postman collection id, when one exists. */
7421
- postmanCollectionId: z9.string().nullable()
7422
- });
7423
- var SitePasswordProtectionSchema = z9.object({
7424
- enabled: z9.boolean(),
7425
- /** Number of configured passwords. Passwords themselves are never returned. */
7426
- passwordCount: z9.number()
7427
- });
7428
- var SiteSettingsResponseSchema = z9.object({
7429
- domain: z9.string(),
7430
- basepath: z9.string().nullable(),
7431
- /** Default basepath route for multi-basepath domains, when configured. */
7432
- defaultBasepath: z9.string().nullable(),
7433
- /** Basepaths routed on this domain, when configured. */
7434
- basepaths: z9.array(z9.string()).nullable(),
7435
- searchBehavior: z9.enum(["hierarchical", "unified"]).nullable(),
7436
- passwordProtection: SitePasswordProtectionSchema
7437
- });
7438
7398
  var dashboardAgentContract = {
7439
7399
  getTrafficSummary: oc4.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
7440
7400
  getTopPages: oc4.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
@@ -7444,9 +7404,7 @@ var dashboardAgentContract = {
7444
7404
  getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
7445
7405
  queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
7446
7406
  listOrgDocDomains: oc4.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
7447
- listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
7448
- getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
7449
- getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
7407
+ listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
7450
7408
  };
7451
7409
 
7452
7410
  // src/orpc-client/dashboard-agent/client.ts