@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/client/FdrClient.js +1 -48
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +1 -48
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +1 -48
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +1 -48
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +1 -60
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +1 -54
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts +0 -326
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2165,51 +2165,6 @@ var SiteSettingsResponseSchema = z9.object({
|
|
|
2165
2165
|
searchBehavior: z9.enum(["hierarchical", "unified"]).nullable(),
|
|
2166
2166
|
passwordProtection: SitePasswordProtectionSchema
|
|
2167
2167
|
});
|
|
2168
|
-
var ListDocsPagesInputSchema = z9.object({
|
|
2169
|
-
orgId: z9.string(),
|
|
2170
|
-
domain: z9.string().min(1),
|
|
2171
|
-
basepath: z9.string().optional(),
|
|
2172
|
-
prefix: z9.string().optional(),
|
|
2173
|
-
contains: z9.string().optional(),
|
|
2174
|
-
limit: z9.number().int().min(1).max(200).optional(),
|
|
2175
|
-
offset: z9.number().int().min(0).optional()
|
|
2176
|
-
});
|
|
2177
|
-
var DocsPageSummarySchema = z9.object({
|
|
2178
|
-
/** Full published slug, without a leading slash (e.g. `protect/api-reference/jobs/get-status`). */
|
|
2179
|
-
slug: z9.string(),
|
|
2180
|
-
url: z9.string(),
|
|
2181
|
-
title: z9.string(),
|
|
2182
|
-
/** Artifact type backing the page, e.g. `markdown`, `rest`, `webhook`, `changelog`. */
|
|
2183
|
-
nodeType: z9.string()
|
|
2184
|
-
});
|
|
2185
|
-
var ListDocsPagesResponseSchema = z9.object({
|
|
2186
|
-
pages: z9.array(DocsPageSummarySchema),
|
|
2187
|
-
/** Pages matching the filters across the whole site, not just this page of results. */
|
|
2188
|
-
totalMatched: z9.number(),
|
|
2189
|
-
/** Every page on the site, so a caller can tell a narrow filter from a small site. */
|
|
2190
|
-
totalPages: z9.number(),
|
|
2191
|
-
/** Pass back as `offset` for the next page. Null when this is the last one. */
|
|
2192
|
-
nextOffset: z9.number().nullable()
|
|
2193
|
-
});
|
|
2194
|
-
var GetDocsPageInputSchema = z9.object({
|
|
2195
|
-
orgId: z9.string(),
|
|
2196
|
-
domain: z9.string().min(1),
|
|
2197
|
-
basepath: z9.string().optional(),
|
|
2198
|
-
/** Published slug or pathname; a leading slash is accepted. */
|
|
2199
|
-
slug: z9.string().min(1)
|
|
2200
|
-
});
|
|
2201
|
-
var DocsPageContentSchema = DocsPageSummarySchema.extend({
|
|
2202
|
-
/**
|
|
2203
|
-
* The page's source markdown. Null for pages generated from an API definition
|
|
2204
|
-
* (endpoints, websockets, webhooks), which have no markdown of their own.
|
|
2205
|
-
*/
|
|
2206
|
-
markdown: z9.string().nullable()
|
|
2207
|
-
});
|
|
2208
|
-
var GetDocsPageResponseSchema = z9.object({
|
|
2209
|
-
page: DocsPageContentSchema.nullable(),
|
|
2210
|
-
/** Slugs closest to the requested one, when it matched no page. */
|
|
2211
|
-
suggestions: z9.array(z9.string())
|
|
2212
|
-
});
|
|
2213
2168
|
var dashboardAgentContract = {
|
|
2214
2169
|
getStaticContentTraffic: import_contract6.oc.route({ method: "POST", path: "/get-static-content-traffic" }).input(StaticContentTrafficInputSchema).output(StaticContentTrafficResponseSchema),
|
|
2215
2170
|
getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
@@ -2217,9 +2172,7 @@ var dashboardAgentContract = {
|
|
|
2217
2172
|
listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
2218
2173
|
getSiteConfig: import_contract6.oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
2219
2174
|
authorizeDocsEdit: import_contract6.oc.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
|
|
2220
|
-
getSiteSettings: import_contract6.oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
2221
|
-
listDocsPages: import_contract6.oc.route({ method: "POST", path: "/list-docs-pages" }).input(ListDocsPagesInputSchema).output(ListDocsPagesResponseSchema),
|
|
2222
|
-
getDocsPage: import_contract6.oc.route({ method: "POST", path: "/get-docs-page" }).input(GetDocsPageInputSchema).output(GetDocsPageResponseSchema)
|
|
2175
|
+
getSiteSettings: import_contract6.oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
2223
2176
|
};
|
|
2224
2177
|
|
|
2225
2178
|
// src/orpc-client/dashboard-agent/client.ts
|