@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.
@@ -2128,51 +2128,6 @@ var SiteSettingsResponseSchema = z9.object({
2128
2128
  searchBehavior: z9.enum(["hierarchical", "unified"]).nullable(),
2129
2129
  passwordProtection: SitePasswordProtectionSchema
2130
2130
  });
2131
- var ListDocsPagesInputSchema = z9.object({
2132
- orgId: z9.string(),
2133
- domain: z9.string().min(1),
2134
- basepath: z9.string().optional(),
2135
- prefix: z9.string().optional(),
2136
- contains: z9.string().optional(),
2137
- limit: z9.number().int().min(1).max(200).optional(),
2138
- offset: z9.number().int().min(0).optional()
2139
- });
2140
- var DocsPageSummarySchema = z9.object({
2141
- /** Full published slug, without a leading slash (e.g. `protect/api-reference/jobs/get-status`). */
2142
- slug: z9.string(),
2143
- url: z9.string(),
2144
- title: z9.string(),
2145
- /** Artifact type backing the page, e.g. `markdown`, `rest`, `webhook`, `changelog`. */
2146
- nodeType: z9.string()
2147
- });
2148
- var ListDocsPagesResponseSchema = z9.object({
2149
- pages: z9.array(DocsPageSummarySchema),
2150
- /** Pages matching the filters across the whole site, not just this page of results. */
2151
- totalMatched: z9.number(),
2152
- /** Every page on the site, so a caller can tell a narrow filter from a small site. */
2153
- totalPages: z9.number(),
2154
- /** Pass back as `offset` for the next page. Null when this is the last one. */
2155
- nextOffset: z9.number().nullable()
2156
- });
2157
- var GetDocsPageInputSchema = z9.object({
2158
- orgId: z9.string(),
2159
- domain: z9.string().min(1),
2160
- basepath: z9.string().optional(),
2161
- /** Published slug or pathname; a leading slash is accepted. */
2162
- slug: z9.string().min(1)
2163
- });
2164
- var DocsPageContentSchema = DocsPageSummarySchema.extend({
2165
- /**
2166
- * The page's source markdown. Null for pages generated from an API definition
2167
- * (endpoints, websockets, webhooks), which have no markdown of their own.
2168
- */
2169
- markdown: z9.string().nullable()
2170
- });
2171
- var GetDocsPageResponseSchema = z9.object({
2172
- page: DocsPageContentSchema.nullable(),
2173
- /** Slugs closest to the requested one, when it matched no page. */
2174
- suggestions: z9.array(z9.string())
2175
- });
2176
2131
  var dashboardAgentContract = {
2177
2132
  getStaticContentTraffic: oc4.route({ method: "POST", path: "/get-static-content-traffic" }).input(StaticContentTrafficInputSchema).output(StaticContentTrafficResponseSchema),
2178
2133
  getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
@@ -2180,9 +2135,7 @@ var dashboardAgentContract = {
2180
2135
  listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
2181
2136
  getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
2182
2137
  authorizeDocsEdit: oc4.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
2183
- getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema),
2184
- listDocsPages: oc4.route({ method: "POST", path: "/list-docs-pages" }).input(ListDocsPagesInputSchema).output(ListDocsPagesResponseSchema),
2185
- getDocsPage: oc4.route({ method: "POST", path: "/get-docs-page" }).input(GetDocsPageInputSchema).output(GetDocsPageResponseSchema)
2138
+ getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
2186
2139
  };
2187
2140
 
2188
2141
  // src/orpc-client/dashboard-agent/client.ts