@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
package/dist/js/orpc-client.mjs
CHANGED
|
@@ -2344,51 +2344,6 @@ var SiteSettingsResponseSchema = z10.object({
|
|
|
2344
2344
|
searchBehavior: z10.enum(["hierarchical", "unified"]).nullable(),
|
|
2345
2345
|
passwordProtection: SitePasswordProtectionSchema
|
|
2346
2346
|
});
|
|
2347
|
-
var ListDocsPagesInputSchema = z10.object({
|
|
2348
|
-
orgId: z10.string(),
|
|
2349
|
-
domain: z10.string().min(1),
|
|
2350
|
-
basepath: z10.string().optional(),
|
|
2351
|
-
prefix: z10.string().optional(),
|
|
2352
|
-
contains: z10.string().optional(),
|
|
2353
|
-
limit: z10.number().int().min(1).max(200).optional(),
|
|
2354
|
-
offset: z10.number().int().min(0).optional()
|
|
2355
|
-
});
|
|
2356
|
-
var DocsPageSummarySchema = z10.object({
|
|
2357
|
-
/** Full published slug, without a leading slash (e.g. `protect/api-reference/jobs/get-status`). */
|
|
2358
|
-
slug: z10.string(),
|
|
2359
|
-
url: z10.string(),
|
|
2360
|
-
title: z10.string(),
|
|
2361
|
-
/** Artifact type backing the page, e.g. `markdown`, `rest`, `webhook`, `changelog`. */
|
|
2362
|
-
nodeType: z10.string()
|
|
2363
|
-
});
|
|
2364
|
-
var ListDocsPagesResponseSchema = z10.object({
|
|
2365
|
-
pages: z10.array(DocsPageSummarySchema),
|
|
2366
|
-
/** Pages matching the filters across the whole site, not just this page of results. */
|
|
2367
|
-
totalMatched: z10.number(),
|
|
2368
|
-
/** Every page on the site, so a caller can tell a narrow filter from a small site. */
|
|
2369
|
-
totalPages: z10.number(),
|
|
2370
|
-
/** Pass back as `offset` for the next page. Null when this is the last one. */
|
|
2371
|
-
nextOffset: z10.number().nullable()
|
|
2372
|
-
});
|
|
2373
|
-
var GetDocsPageInputSchema = z10.object({
|
|
2374
|
-
orgId: z10.string(),
|
|
2375
|
-
domain: z10.string().min(1),
|
|
2376
|
-
basepath: z10.string().optional(),
|
|
2377
|
-
/** Published slug or pathname; a leading slash is accepted. */
|
|
2378
|
-
slug: z10.string().min(1)
|
|
2379
|
-
});
|
|
2380
|
-
var DocsPageContentSchema = DocsPageSummarySchema.extend({
|
|
2381
|
-
/**
|
|
2382
|
-
* The page's source markdown. Null for pages generated from an API definition
|
|
2383
|
-
* (endpoints, websockets, webhooks), which have no markdown of their own.
|
|
2384
|
-
*/
|
|
2385
|
-
markdown: z10.string().nullable()
|
|
2386
|
-
});
|
|
2387
|
-
var GetDocsPageResponseSchema = z10.object({
|
|
2388
|
-
page: DocsPageContentSchema.nullable(),
|
|
2389
|
-
/** Slugs closest to the requested one, when it matched no page. */
|
|
2390
|
-
suggestions: z10.array(z10.string())
|
|
2391
|
-
});
|
|
2392
2347
|
var dashboardAgentContract = {
|
|
2393
2348
|
getStaticContentTraffic: oc4.route({ method: "POST", path: "/get-static-content-traffic" }).input(StaticContentTrafficInputSchema).output(StaticContentTrafficResponseSchema),
|
|
2394
2349
|
getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
@@ -2396,9 +2351,7 @@ var dashboardAgentContract = {
|
|
|
2396
2351
|
listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
2397
2352
|
getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
2398
2353
|
authorizeDocsEdit: oc4.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
|
|
2399
|
-
getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
2400
|
-
listDocsPages: oc4.route({ method: "POST", path: "/list-docs-pages" }).input(ListDocsPagesInputSchema).output(ListDocsPagesResponseSchema),
|
|
2401
|
-
getDocsPage: oc4.route({ method: "POST", path: "/get-docs-page" }).input(GetDocsPageInputSchema).output(GetDocsPageResponseSchema)
|
|
2354
|
+
getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
2402
2355
|
};
|
|
2403
2356
|
|
|
2404
2357
|
// src/orpc-client/dashboard-agent/client.ts
|
|
@@ -6697,8 +6650,6 @@ export {
|
|
|
6697
6650
|
DocsDeploymentSchema,
|
|
6698
6651
|
DocsDeploymentStatusSchema,
|
|
6699
6652
|
DocsDomainItemSchema,
|
|
6700
|
-
DocsPageContentSchema,
|
|
6701
|
-
DocsPageSummarySchema,
|
|
6702
6653
|
DocsPublishGitInputSchema,
|
|
6703
6654
|
DocsPublishInputSchema,
|
|
6704
6655
|
DocsConfigSchema as DocsReadConfigSchema,
|
|
@@ -6784,8 +6735,6 @@ export {
|
|
|
6784
6735
|
GetDocsForDomainInputSchema,
|
|
6785
6736
|
GetDocsForDomainLegacyInputSchema,
|
|
6786
6737
|
GetDocsForUrlInputSchema,
|
|
6787
|
-
GetDocsPageInputSchema,
|
|
6788
|
-
GetDocsPageResponseSchema,
|
|
6789
6738
|
GetDocsSitesByCollectionIdInputSchema,
|
|
6790
6739
|
GetDocsSitesByCollectionIdResponseSchema,
|
|
6791
6740
|
GetDocsSitesForOrgInputSchema,
|
|
@@ -6953,8 +6902,6 @@ export {
|
|
|
6953
6902
|
ListAllDocsUrlsResponseSchema,
|
|
6954
6903
|
ListCliReleasesInputSchema,
|
|
6955
6904
|
ListCliReleasesResponseSchema,
|
|
6956
|
-
ListDocsPagesInputSchema,
|
|
6957
|
-
ListDocsPagesResponseSchema,
|
|
6958
6905
|
ListGeneratorReleasesInputSchema,
|
|
6959
6906
|
ListGeneratorReleasesResponseSchema,
|
|
6960
6907
|
ListPdfExportTasksInputSchema,
|