@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.js
CHANGED
|
@@ -93,7 +93,6 @@ __export(orpc_client_exports, {
|
|
|
93
93
|
DashboardAnalyticsCommonInputSchema: () => DashboardAnalyticsCommonInputSchema,
|
|
94
94
|
DashboardDocsSiteSchema: () => DashboardDocsSiteSchema,
|
|
95
95
|
DashboardFeedbackInputSchema: () => DashboardFeedbackInputSchema,
|
|
96
|
-
DashboardGetSiteConfigInputSchema: () => DashboardGetSiteConfigInputSchema,
|
|
97
96
|
DashboardListOrgDocDomainsInputSchema: () => DashboardListOrgDocDomainsInputSchema,
|
|
98
97
|
DashboardListOrgMembersInputSchema: () => DashboardListOrgMembersInputSchema,
|
|
99
98
|
DateTypeSchema: () => DateTypeSchema,
|
|
@@ -537,11 +536,7 @@ __export(orpc_client_exports, {
|
|
|
537
536
|
SetEditorRepoUrlInputSchema: () => SetEditorRepoUrlInputSchema,
|
|
538
537
|
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
539
538
|
SetSnapshotInputSchema: () => SetSnapshotInputSchema,
|
|
540
|
-
SiteConfigResponseSchema: () => SiteConfigResponseSchema,
|
|
541
|
-
SiteGitRepositorySchema: () => SiteGitRepositorySchema,
|
|
542
539
|
SiteMetricsSchema: () => SiteMetricsSchema,
|
|
543
|
-
SitePasswordProtectionSchema: () => SitePasswordProtectionSchema,
|
|
544
|
-
SiteSettingsResponseSchema: () => SiteSettingsResponseSchema,
|
|
545
540
|
SlugEntrySchema: () => SlugEntrySchema,
|
|
546
541
|
SlugsInputSchema: () => SlugsInputSchema,
|
|
547
542
|
SnippetInfoSchema: () => SnippetInfoSchema,
|
|
@@ -2866,10 +2861,6 @@ var DashboardListOrgMembersInputSchema = z10.object({
|
|
|
2866
2861
|
orgId: z10.string(),
|
|
2867
2862
|
includeFernEmployees: z10.boolean().optional()
|
|
2868
2863
|
});
|
|
2869
|
-
var DashboardGetSiteConfigInputSchema = z10.object({
|
|
2870
|
-
orgId: z10.string(),
|
|
2871
|
-
domain: z10.string().min(1)
|
|
2872
|
-
});
|
|
2873
2864
|
var AnalyticsMetricSchema = z10.enum(["pageviews", "visitors", "sessions", "404s"]);
|
|
2874
2865
|
var AnalyticsDimensionSchema = z10.enum(["path", "referrer"]);
|
|
2875
2866
|
var AnalyticsGranularitySchema = z10.enum(["day", "week", "month"]);
|
|
@@ -2993,42 +2984,6 @@ var OrgMembersResponseSchema = z10.object({
|
|
|
2993
2984
|
),
|
|
2994
2985
|
count: z10.number()
|
|
2995
2986
|
});
|
|
2996
|
-
var SiteGitRepositorySchema = z10.object({
|
|
2997
|
-
gitUrl: z10.string(),
|
|
2998
|
-
provider: z10.enum(["github", "gitlab", "other"]),
|
|
2999
|
-
/** `owner/repo` when the git url points at GitHub, else null. */
|
|
3000
|
-
githubRepository: z10.string().nullable(),
|
|
3001
|
-
branch: z10.string().nullable()
|
|
3002
|
-
});
|
|
3003
|
-
var SiteConfigResponseSchema = z10.object({
|
|
3004
|
-
domain: z10.string(),
|
|
3005
|
-
basepath: z10.string().nullable(),
|
|
3006
|
-
status: z10.string().nullable(),
|
|
3007
|
-
isPreview: z10.boolean(),
|
|
3008
|
-
/** The git repository connected to this docs site, when one exists. */
|
|
3009
|
-
gitRepository: SiteGitRepositorySchema.nullable(),
|
|
3010
|
-
/** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
|
|
3011
|
-
isCustomDomain: z10.boolean(),
|
|
3012
|
-
/** Fern CLI version that published the current deployment, when known. */
|
|
3013
|
-
fernCliVersion: z10.string().nullable(),
|
|
3014
|
-
/** Connected Postman collection id, when one exists. */
|
|
3015
|
-
postmanCollectionId: z10.string().nullable()
|
|
3016
|
-
});
|
|
3017
|
-
var SitePasswordProtectionSchema = z10.object({
|
|
3018
|
-
enabled: z10.boolean(),
|
|
3019
|
-
/** Number of configured passwords. Passwords themselves are never returned. */
|
|
3020
|
-
passwordCount: z10.number()
|
|
3021
|
-
});
|
|
3022
|
-
var SiteSettingsResponseSchema = z10.object({
|
|
3023
|
-
domain: z10.string(),
|
|
3024
|
-
basepath: z10.string().nullable(),
|
|
3025
|
-
/** Default basepath route for multi-basepath domains, when configured. */
|
|
3026
|
-
defaultBasepath: z10.string().nullable(),
|
|
3027
|
-
/** Basepaths routed on this domain, when configured. */
|
|
3028
|
-
basepaths: z10.array(z10.string()).nullable(),
|
|
3029
|
-
searchBehavior: z10.enum(["hierarchical", "unified"]).nullable(),
|
|
3030
|
-
passwordProtection: SitePasswordProtectionSchema
|
|
3031
|
-
});
|
|
3032
2987
|
var dashboardAgentContract = {
|
|
3033
2988
|
getTrafficSummary: import_contract6.oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
|
|
3034
2989
|
getTopPages: import_contract6.oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
|
|
@@ -3038,9 +2993,7 @@ var dashboardAgentContract = {
|
|
|
3038
2993
|
getRecentFeedback: import_contract6.oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
3039
2994
|
queryAnalytics: import_contract6.oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
3040
2995
|
listOrgDocDomains: import_contract6.oc.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
|
|
3041
|
-
listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
|
|
3042
|
-
getSiteConfig: import_contract6.oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
3043
|
-
getSiteSettings: import_contract6.oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
2996
|
+
listOrgMembers: import_contract6.oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema)
|
|
3044
2997
|
};
|
|
3045
2998
|
|
|
3046
2999
|
// src/orpc-client/dashboard-agent/client.ts
|
|
@@ -7107,7 +7060,6 @@ var UpsertThemeBodySchema = z36.object({
|
|
|
7107
7060
|
DashboardAnalyticsCommonInputSchema,
|
|
7108
7061
|
DashboardDocsSiteSchema,
|
|
7109
7062
|
DashboardFeedbackInputSchema,
|
|
7110
|
-
DashboardGetSiteConfigInputSchema,
|
|
7111
7063
|
DashboardListOrgDocDomainsInputSchema,
|
|
7112
7064
|
DashboardListOrgMembersInputSchema,
|
|
7113
7065
|
DateTypeSchema,
|
|
@@ -7551,11 +7503,7 @@ var UpsertThemeBodySchema = z36.object({
|
|
|
7551
7503
|
SetEditorRepoUrlInputSchema,
|
|
7552
7504
|
SetIsArchivedInputSchema,
|
|
7553
7505
|
SetSnapshotInputSchema,
|
|
7554
|
-
SiteConfigResponseSchema,
|
|
7555
|
-
SiteGitRepositorySchema,
|
|
7556
7506
|
SiteMetricsSchema,
|
|
7557
|
-
SitePasswordProtectionSchema,
|
|
7558
|
-
SiteSettingsResponseSchema,
|
|
7559
7507
|
SlugEntrySchema,
|
|
7560
7508
|
SlugsInputSchema,
|
|
7561
7509
|
SnippetInfoSchema,
|