@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.js CHANGED
@@ -7335,10 +7335,6 @@ var DashboardListOrgMembersInputSchema = z9.object({
7335
7335
  orgId: z9.string(),
7336
7336
  includeFernEmployees: z9.boolean().optional()
7337
7337
  });
7338
- var DashboardGetSiteConfigInputSchema = z9.object({
7339
- orgId: z9.string(),
7340
- domain: z9.string().min(1)
7341
- });
7342
7338
  var AnalyticsMetricSchema = z9.enum(["pageviews", "visitors", "sessions", "404s"]);
7343
7339
  var AnalyticsDimensionSchema = z9.enum(["path", "referrer"]);
7344
7340
  var AnalyticsGranularitySchema = z9.enum(["day", "week", "month"]);
@@ -7462,42 +7458,6 @@ var OrgMembersResponseSchema = z9.object({
7462
7458
  ),
7463
7459
  count: z9.number()
7464
7460
  });
7465
- var SiteGitRepositorySchema = z9.object({
7466
- gitUrl: z9.string(),
7467
- provider: z9.enum(["github", "gitlab", "other"]),
7468
- /** `owner/repo` when the git url points at GitHub, else null. */
7469
- githubRepository: z9.string().nullable(),
7470
- branch: z9.string().nullable()
7471
- });
7472
- var SiteConfigResponseSchema = z9.object({
7473
- domain: z9.string(),
7474
- basepath: z9.string().nullable(),
7475
- status: z9.string().nullable(),
7476
- isPreview: z9.boolean(),
7477
- /** The git repository connected to this docs site, when one exists. */
7478
- gitRepository: SiteGitRepositorySchema.nullable(),
7479
- /** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
7480
- isCustomDomain: z9.boolean(),
7481
- /** Fern CLI version that published the current deployment, when known. */
7482
- fernCliVersion: z9.string().nullable(),
7483
- /** Connected Postman collection id, when one exists. */
7484
- postmanCollectionId: z9.string().nullable()
7485
- });
7486
- var SitePasswordProtectionSchema = z9.object({
7487
- enabled: z9.boolean(),
7488
- /** Number of configured passwords. Passwords themselves are never returned. */
7489
- passwordCount: z9.number()
7490
- });
7491
- var SiteSettingsResponseSchema = z9.object({
7492
- domain: z9.string(),
7493
- basepath: z9.string().nullable(),
7494
- /** Default basepath route for multi-basepath domains, when configured. */
7495
- defaultBasepath: z9.string().nullable(),
7496
- /** Basepaths routed on this domain, when configured. */
7497
- basepaths: z9.array(z9.string()).nullable(),
7498
- searchBehavior: z9.enum(["hierarchical", "unified"]).nullable(),
7499
- passwordProtection: SitePasswordProtectionSchema
7500
- });
7501
7461
  var dashboardAgentContract = {
7502
7462
  getTrafficSummary: import_contract6.oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
7503
7463
  getTopPages: import_contract6.oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
@@ -7507,9 +7467,7 @@ var dashboardAgentContract = {
7507
7467
  getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
7508
7468
  queryAnalytics: import_contract6.oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
7509
7469
  listOrgDocDomains: import_contract6.oc.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
7510
- listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
7511
- getSiteConfig: import_contract6.oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
7512
- getSiteSettings: import_contract6.oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
7470
+ listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
7513
7471
  };
7514
7472
 
7515
7473
  // src/orpc-client/dashboard-agent/client.ts