@fern-api/fdr-sdk 1.2.108-4e7cf51acd → 1.2.108-ac2ecc2376

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
@@ -7778,51 +7778,6 @@ var SiteSettingsResponseSchema = z9.object({
7778
7778
  searchBehavior: z9.enum(["hierarchical", "unified"]).nullable(),
7779
7779
  passwordProtection: SitePasswordProtectionSchema
7780
7780
  });
7781
- var ListDocsPagesInputSchema = z9.object({
7782
- orgId: z9.string(),
7783
- domain: z9.string().min(1),
7784
- basepath: z9.string().optional(),
7785
- prefix: z9.string().optional(),
7786
- contains: z9.string().optional(),
7787
- limit: z9.number().int().min(1).max(200).optional(),
7788
- offset: z9.number().int().min(0).optional()
7789
- });
7790
- var DocsPageSummarySchema = z9.object({
7791
- /** Full published slug, without a leading slash (e.g. `protect/api-reference/jobs/get-status`). */
7792
- slug: z9.string(),
7793
- url: z9.string(),
7794
- title: z9.string(),
7795
- /** Artifact type backing the page, e.g. `markdown`, `rest`, `webhook`, `changelog`. */
7796
- nodeType: z9.string()
7797
- });
7798
- var ListDocsPagesResponseSchema = z9.object({
7799
- pages: z9.array(DocsPageSummarySchema),
7800
- /** Pages matching the filters across the whole site, not just this page of results. */
7801
- totalMatched: z9.number(),
7802
- /** Every page on the site, so a caller can tell a narrow filter from a small site. */
7803
- totalPages: z9.number(),
7804
- /** Pass back as `offset` for the next page. Null when this is the last one. */
7805
- nextOffset: z9.number().nullable()
7806
- });
7807
- var GetDocsPageInputSchema = z9.object({
7808
- orgId: z9.string(),
7809
- domain: z9.string().min(1),
7810
- basepath: z9.string().optional(),
7811
- /** Published slug or pathname; a leading slash is accepted. */
7812
- slug: z9.string().min(1)
7813
- });
7814
- var DocsPageContentSchema = DocsPageSummarySchema.extend({
7815
- /**
7816
- * The page's source markdown. Null for pages generated from an API definition
7817
- * (endpoints, websockets, webhooks), which have no markdown of their own.
7818
- */
7819
- markdown: z9.string().nullable()
7820
- });
7821
- var GetDocsPageResponseSchema = z9.object({
7822
- page: DocsPageContentSchema.nullable(),
7823
- /** Slugs closest to the requested one, when it matched no page. */
7824
- suggestions: z9.array(z9.string())
7825
- });
7826
7781
  var dashboardAgentContract = {
7827
7782
  getStaticContentTraffic: oc4.route({ method: "POST", path: "/get-static-content-traffic" }).input(StaticContentTrafficInputSchema).output(StaticContentTrafficResponseSchema),
7828
7783
  getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
@@ -7830,9 +7785,7 @@ var dashboardAgentContract = {
7830
7785
  listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
7831
7786
  getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
7832
7787
  authorizeDocsEdit: oc4.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
7833
- getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema),
7834
- listDocsPages: oc4.route({ method: "POST", path: "/list-docs-pages" }).input(ListDocsPagesInputSchema).output(ListDocsPagesResponseSchema),
7835
- getDocsPage: oc4.route({ method: "POST", path: "/get-docs-page" }).input(GetDocsPageInputSchema).output(GetDocsPageResponseSchema)
7788
+ getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
7836
7789
  };
7837
7790
 
7838
7791
  // src/orpc-client/dashboard-agent/client.ts