@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.js
CHANGED
|
@@ -123,8 +123,6 @@ __export(orpc_client_exports, {
|
|
|
123
123
|
DocsDeploymentSchema: () => DocsDeploymentSchema,
|
|
124
124
|
DocsDeploymentStatusSchema: () => DocsDeploymentStatusSchema,
|
|
125
125
|
DocsDomainItemSchema: () => DocsDomainItemSchema,
|
|
126
|
-
DocsPageContentSchema: () => DocsPageContentSchema,
|
|
127
|
-
DocsPageSummarySchema: () => DocsPageSummarySchema,
|
|
128
126
|
DocsPublishGitInputSchema: () => DocsPublishGitInputSchema,
|
|
129
127
|
DocsPublishInputSchema: () => DocsPublishInputSchema,
|
|
130
128
|
DocsReadConfigSchema: () => DocsConfigSchema,
|
|
@@ -210,8 +208,6 @@ __export(orpc_client_exports, {
|
|
|
210
208
|
GetDocsForDomainInputSchema: () => GetDocsForDomainInputSchema,
|
|
211
209
|
GetDocsForDomainLegacyInputSchema: () => GetDocsForDomainLegacyInputSchema,
|
|
212
210
|
GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
|
|
213
|
-
GetDocsPageInputSchema: () => GetDocsPageInputSchema,
|
|
214
|
-
GetDocsPageResponseSchema: () => GetDocsPageResponseSchema,
|
|
215
211
|
GetDocsSitesByCollectionIdInputSchema: () => GetDocsSitesByCollectionIdInputSchema,
|
|
216
212
|
GetDocsSitesByCollectionIdResponseSchema: () => GetDocsSitesByCollectionIdResponseSchema,
|
|
217
213
|
GetDocsSitesForOrgInputSchema: () => GetDocsSitesForOrgInputSchema,
|
|
@@ -379,8 +375,6 @@ __export(orpc_client_exports, {
|
|
|
379
375
|
ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
|
|
380
376
|
ListCliReleasesInputSchema: () => ListCliReleasesInputSchema,
|
|
381
377
|
ListCliReleasesResponseSchema: () => ListCliReleasesResponseSchema,
|
|
382
|
-
ListDocsPagesInputSchema: () => ListDocsPagesInputSchema,
|
|
383
|
-
ListDocsPagesResponseSchema: () => ListDocsPagesResponseSchema,
|
|
384
378
|
ListGeneratorReleasesInputSchema: () => ListGeneratorReleasesInputSchema,
|
|
385
379
|
ListGeneratorReleasesResponseSchema: () => ListGeneratorReleasesResponseSchema,
|
|
386
380
|
ListPdfExportTasksInputSchema: () => ListPdfExportTasksInputSchema,
|
|
@@ -3041,51 +3035,6 @@ var SiteSettingsResponseSchema = z10.object({
|
|
|
3041
3035
|
searchBehavior: z10.enum(["hierarchical", "unified"]).nullable(),
|
|
3042
3036
|
passwordProtection: SitePasswordProtectionSchema
|
|
3043
3037
|
});
|
|
3044
|
-
var ListDocsPagesInputSchema = z10.object({
|
|
3045
|
-
orgId: z10.string(),
|
|
3046
|
-
domain: z10.string().min(1),
|
|
3047
|
-
basepath: z10.string().optional(),
|
|
3048
|
-
prefix: z10.string().optional(),
|
|
3049
|
-
contains: z10.string().optional(),
|
|
3050
|
-
limit: z10.number().int().min(1).max(200).optional(),
|
|
3051
|
-
offset: z10.number().int().min(0).optional()
|
|
3052
|
-
});
|
|
3053
|
-
var DocsPageSummarySchema = z10.object({
|
|
3054
|
-
/** Full published slug, without a leading slash (e.g. `protect/api-reference/jobs/get-status`). */
|
|
3055
|
-
slug: z10.string(),
|
|
3056
|
-
url: z10.string(),
|
|
3057
|
-
title: z10.string(),
|
|
3058
|
-
/** Artifact type backing the page, e.g. `markdown`, `rest`, `webhook`, `changelog`. */
|
|
3059
|
-
nodeType: z10.string()
|
|
3060
|
-
});
|
|
3061
|
-
var ListDocsPagesResponseSchema = z10.object({
|
|
3062
|
-
pages: z10.array(DocsPageSummarySchema),
|
|
3063
|
-
/** Pages matching the filters across the whole site, not just this page of results. */
|
|
3064
|
-
totalMatched: z10.number(),
|
|
3065
|
-
/** Every page on the site, so a caller can tell a narrow filter from a small site. */
|
|
3066
|
-
totalPages: z10.number(),
|
|
3067
|
-
/** Pass back as `offset` for the next page. Null when this is the last one. */
|
|
3068
|
-
nextOffset: z10.number().nullable()
|
|
3069
|
-
});
|
|
3070
|
-
var GetDocsPageInputSchema = z10.object({
|
|
3071
|
-
orgId: z10.string(),
|
|
3072
|
-
domain: z10.string().min(1),
|
|
3073
|
-
basepath: z10.string().optional(),
|
|
3074
|
-
/** Published slug or pathname; a leading slash is accepted. */
|
|
3075
|
-
slug: z10.string().min(1)
|
|
3076
|
-
});
|
|
3077
|
-
var DocsPageContentSchema = DocsPageSummarySchema.extend({
|
|
3078
|
-
/**
|
|
3079
|
-
* The page's source markdown. Null for pages generated from an API definition
|
|
3080
|
-
* (endpoints, websockets, webhooks), which have no markdown of their own.
|
|
3081
|
-
*/
|
|
3082
|
-
markdown: z10.string().nullable()
|
|
3083
|
-
});
|
|
3084
|
-
var GetDocsPageResponseSchema = z10.object({
|
|
3085
|
-
page: DocsPageContentSchema.nullable(),
|
|
3086
|
-
/** Slugs closest to the requested one, when it matched no page. */
|
|
3087
|
-
suggestions: z10.array(z10.string())
|
|
3088
|
-
});
|
|
3089
3038
|
var dashboardAgentContract = {
|
|
3090
3039
|
getStaticContentTraffic: import_contract6.oc.route({ method: "POST", path: "/get-static-content-traffic" }).input(StaticContentTrafficInputSchema).output(StaticContentTrafficResponseSchema),
|
|
3091
3040
|
getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
@@ -3093,9 +3042,7 @@ var dashboardAgentContract = {
|
|
|
3093
3042
|
listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
3094
3043
|
getSiteConfig: import_contract6.oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
3095
3044
|
authorizeDocsEdit: import_contract6.oc.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
|
|
3096
|
-
getSiteSettings: import_contract6.oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
3097
|
-
listDocsPages: import_contract6.oc.route({ method: "POST", path: "/list-docs-pages" }).input(ListDocsPagesInputSchema).output(ListDocsPagesResponseSchema),
|
|
3098
|
-
getDocsPage: import_contract6.oc.route({ method: "POST", path: "/get-docs-page" }).input(GetDocsPageInputSchema).output(GetDocsPageResponseSchema)
|
|
3045
|
+
getSiteSettings: import_contract6.oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
3099
3046
|
};
|
|
3100
3047
|
|
|
3101
3048
|
// src/orpc-client/dashboard-agent/client.ts
|
|
@@ -7395,8 +7342,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7395
7342
|
DocsDeploymentSchema,
|
|
7396
7343
|
DocsDeploymentStatusSchema,
|
|
7397
7344
|
DocsDomainItemSchema,
|
|
7398
|
-
DocsPageContentSchema,
|
|
7399
|
-
DocsPageSummarySchema,
|
|
7400
7345
|
DocsPublishGitInputSchema,
|
|
7401
7346
|
DocsPublishInputSchema,
|
|
7402
7347
|
DocsReadConfigSchema,
|
|
@@ -7482,8 +7427,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7482
7427
|
GetDocsForDomainInputSchema,
|
|
7483
7428
|
GetDocsForDomainLegacyInputSchema,
|
|
7484
7429
|
GetDocsForUrlInputSchema,
|
|
7485
|
-
GetDocsPageInputSchema,
|
|
7486
|
-
GetDocsPageResponseSchema,
|
|
7487
7430
|
GetDocsSitesByCollectionIdInputSchema,
|
|
7488
7431
|
GetDocsSitesByCollectionIdResponseSchema,
|
|
7489
7432
|
GetDocsSitesForOrgInputSchema,
|
|
@@ -7651,8 +7594,6 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7651
7594
|
ListAllDocsUrlsResponseSchema,
|
|
7652
7595
|
ListCliReleasesInputSchema,
|
|
7653
7596
|
ListCliReleasesResponseSchema,
|
|
7654
|
-
ListDocsPagesInputSchema,
|
|
7655
|
-
ListDocsPagesResponseSchema,
|
|
7656
7597
|
ListGeneratorReleasesInputSchema,
|
|
7657
7598
|
ListGeneratorReleasesResponseSchema,
|
|
7658
7599
|
ListPdfExportTasksInputSchema,
|