@fern-api/fdr-sdk 1.2.74-68c3d5964d → 1.2.74-eb5b794e69
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 -43
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +1 -43
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +1 -43
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +1 -43
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +1 -53
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +1 -48
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/orpc-client/dashboard-agent/contract.d.ts +0 -257
- 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
|
@@ -2183,10 +2183,6 @@ var DashboardListOrgMembersInputSchema = z10.object({
|
|
|
2183
2183
|
orgId: z10.string(),
|
|
2184
2184
|
includeFernEmployees: z10.boolean().optional()
|
|
2185
2185
|
});
|
|
2186
|
-
var DashboardGetSiteConfigInputSchema = z10.object({
|
|
2187
|
-
orgId: z10.string(),
|
|
2188
|
-
domain: z10.string().min(1)
|
|
2189
|
-
});
|
|
2190
2186
|
var AnalyticsMetricSchema = z10.enum(["pageviews", "visitors", "sessions", "404s"]);
|
|
2191
2187
|
var AnalyticsDimensionSchema = z10.enum(["path", "referrer"]);
|
|
2192
2188
|
var AnalyticsGranularitySchema = z10.enum(["day", "week", "month"]);
|
|
@@ -2310,42 +2306,6 @@ var OrgMembersResponseSchema = z10.object({
|
|
|
2310
2306
|
),
|
|
2311
2307
|
count: z10.number()
|
|
2312
2308
|
});
|
|
2313
|
-
var SiteGitRepositorySchema = z10.object({
|
|
2314
|
-
gitUrl: z10.string(),
|
|
2315
|
-
provider: z10.enum(["github", "gitlab", "other"]),
|
|
2316
|
-
/** `owner/repo` when the git url points at GitHub, else null. */
|
|
2317
|
-
githubRepository: z10.string().nullable(),
|
|
2318
|
-
branch: z10.string().nullable()
|
|
2319
|
-
});
|
|
2320
|
-
var SiteConfigResponseSchema = z10.object({
|
|
2321
|
-
domain: z10.string(),
|
|
2322
|
-
basepath: z10.string().nullable(),
|
|
2323
|
-
status: z10.string().nullable(),
|
|
2324
|
-
isPreview: z10.boolean(),
|
|
2325
|
-
/** The git repository connected to this docs site, when one exists. */
|
|
2326
|
-
gitRepository: SiteGitRepositorySchema.nullable(),
|
|
2327
|
-
/** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
|
|
2328
|
-
isCustomDomain: z10.boolean(),
|
|
2329
|
-
/** Fern CLI version that published the current deployment, when known. */
|
|
2330
|
-
fernCliVersion: z10.string().nullable(),
|
|
2331
|
-
/** Connected Postman collection id, when one exists. */
|
|
2332
|
-
postmanCollectionId: z10.string().nullable()
|
|
2333
|
-
});
|
|
2334
|
-
var SitePasswordProtectionSchema = z10.object({
|
|
2335
|
-
enabled: z10.boolean(),
|
|
2336
|
-
/** Number of configured passwords. Passwords themselves are never returned. */
|
|
2337
|
-
passwordCount: z10.number()
|
|
2338
|
-
});
|
|
2339
|
-
var SiteSettingsResponseSchema = z10.object({
|
|
2340
|
-
domain: z10.string(),
|
|
2341
|
-
basepath: z10.string().nullable(),
|
|
2342
|
-
/** Default basepath route for multi-basepath domains, when configured. */
|
|
2343
|
-
defaultBasepath: z10.string().nullable(),
|
|
2344
|
-
/** Basepaths routed on this domain, when configured. */
|
|
2345
|
-
basepaths: z10.array(z10.string()).nullable(),
|
|
2346
|
-
searchBehavior: z10.enum(["hierarchical", "unified"]).nullable(),
|
|
2347
|
-
passwordProtection: SitePasswordProtectionSchema
|
|
2348
|
-
});
|
|
2349
2309
|
var dashboardAgentContract = {
|
|
2350
2310
|
getTrafficSummary: oc4.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
|
|
2351
2311
|
getTopPages: oc4.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
|
|
@@ -2355,9 +2315,7 @@ var dashboardAgentContract = {
|
|
|
2355
2315
|
getRecentFeedback: oc4.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
2356
2316
|
queryAnalytics: oc4.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
2357
2317
|
listOrgDocDomains: oc4.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
|
|
2358
|
-
listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
|
|
2359
|
-
getSiteConfig: oc4.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
2360
|
-
getSiteSettings: oc4.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
2318
|
+
listOrgMembers: oc4.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
|
|
2361
2319
|
};
|
|
2362
2320
|
|
|
2363
2321
|
// src/orpc-client/dashboard-agent/client.ts
|
|
@@ -6423,7 +6381,6 @@ export {
|
|
|
6423
6381
|
DashboardAnalyticsCommonInputSchema,
|
|
6424
6382
|
DashboardDocsSiteSchema,
|
|
6425
6383
|
DashboardFeedbackInputSchema,
|
|
6426
|
-
DashboardGetSiteConfigInputSchema,
|
|
6427
6384
|
DashboardListOrgDocDomainsInputSchema,
|
|
6428
6385
|
DashboardListOrgMembersInputSchema,
|
|
6429
6386
|
DateTypeSchema,
|
|
@@ -6867,11 +6824,7 @@ export {
|
|
|
6867
6824
|
SetEditorRepoUrlInputSchema,
|
|
6868
6825
|
SetIsArchivedInputSchema,
|
|
6869
6826
|
SetSnapshotInputSchema,
|
|
6870
|
-
SiteConfigResponseSchema,
|
|
6871
|
-
SiteGitRepositorySchema,
|
|
6872
6827
|
SiteMetricsSchema,
|
|
6873
|
-
SitePasswordProtectionSchema,
|
|
6874
|
-
SiteSettingsResponseSchema,
|
|
6875
6828
|
SlugEntrySchema,
|
|
6876
6829
|
SlugsInputSchema,
|
|
6877
6830
|
SnippetInfoSchema,
|