@fern-api/fdr-sdk 1.2.59-dd9ba85e2f → 1.2.59-ed90d99cd3
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/client/FdrClient.d.ts +2 -2
- package/dist/js/client/FdrClient.js +13 -0
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +13 -0
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/client/types.js +15 -0
- package/dist/js/client/types.js.map +1 -1
- package/dist/js/client/types.mjs +15 -0
- package/dist/js/client/types.mjs.map +1 -1
- package/dist/js/converters/index.js +15 -0
- package/dist/js/converters/index.js.map +1 -1
- package/dist/js/converters/index.mjs +15 -0
- package/dist/js/converters/index.mjs.map +1 -1
- package/dist/js/index.js +15 -0
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +15 -0
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/navigation/index.js +15 -0
- package/dist/js/navigation/index.js.map +1 -1
- package/dist/js/navigation/index.mjs +15 -0
- package/dist/js/navigation/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +17 -0
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +15 -0
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/docs/v2/read/contract.d.ts +64 -0
- package/dist/orpc-client/docs/v2/read/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs/v2/read/contract.js +16 -0
- package/dist/orpc-client/docs/v2/read/contract.js.map +1 -1
- package/dist/orpc-client/docs-deployment/contract.d.ts +24 -24
- package/dist/orpc-client/slugs/contract.d.ts +20 -20
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/client/FdrClient.d.ts +2 -2
- package/dist/types/orpc-client/docs/v2/read/contract.d.ts +64 -0
- package/dist/types/orpc-client/docs/v2/read/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-deployment/contract.d.ts +24 -24
- package/dist/types/orpc-client/slugs/contract.d.ts +20 -20
- package/package.json +1 -1
package/dist/js/orpc-client.js
CHANGED
|
@@ -222,6 +222,7 @@ __export(orpc_client_exports, {
|
|
|
222
222
|
GetPullRequestInputSchema: () => GetPullRequestInputSchema,
|
|
223
223
|
GetRepositoryInputSchema: () => GetRepositoryInputSchema,
|
|
224
224
|
GetSdkDynamicIrUploadUrlsResponseSchema: () => GetSdkDynamicIrUploadUrlsResponseSchema,
|
|
225
|
+
GetSiteMetricsInputSchema: () => GetSiteMetricsInputSchema,
|
|
225
226
|
GetSlugEntriesResponseSchema: () => GetSlugEntriesResponseSchema,
|
|
226
227
|
GetSnapshotInputSchema: () => GetSnapshotInputSchema,
|
|
227
228
|
GetSnapshotResponseSchema: () => GetSnapshotResponseSchema,
|
|
@@ -511,6 +512,7 @@ __export(orpc_client_exports, {
|
|
|
511
512
|
SetEditorRepoUrlInputSchema: () => SetEditorRepoUrlInputSchema,
|
|
512
513
|
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
513
514
|
SetSnapshotInputSchema: () => SetSnapshotInputSchema,
|
|
515
|
+
SiteMetricsSchema: () => SiteMetricsSchema,
|
|
514
516
|
SlugEntrySchema: () => SlugEntrySchema,
|
|
515
517
|
SlugsInputSchema: () => SlugsInputSchema,
|
|
516
518
|
SnippetInfoSchema: () => SnippetInfoSchema,
|
|
@@ -3758,6 +3760,18 @@ var ListAllDocsUrlsInputSchema = z16.object({
|
|
|
3758
3760
|
var GetDocsConfigByIdInputSchema = z16.object({
|
|
3759
3761
|
docsConfigId: z16.string()
|
|
3760
3762
|
});
|
|
3763
|
+
var GetSiteMetricsInputSchema = z16.object({
|
|
3764
|
+
url: z16.string()
|
|
3765
|
+
});
|
|
3766
|
+
var SiteMetricsSchema = z16.object({
|
|
3767
|
+
orgId: z16.string().optional(),
|
|
3768
|
+
domain: z16.string(),
|
|
3769
|
+
basepath: z16.string().optional(),
|
|
3770
|
+
storageType: z16.enum(["ledger", "legacy"]),
|
|
3771
|
+
pages: z16.number(),
|
|
3772
|
+
endpoints: z16.number(),
|
|
3773
|
+
apiSpecs: z16.number()
|
|
3774
|
+
});
|
|
3761
3775
|
var DocsDefinitionField = {
|
|
3762
3776
|
BaseUrl: "BASE_URL",
|
|
3763
3777
|
FilesV2: "FILES_V2",
|
|
@@ -3797,6 +3811,7 @@ var docsV2ReadContract = {
|
|
|
3797
3811
|
getPrivateDocsForUrl: import_contract12.oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
3798
3812
|
listAllDocsUrls: import_contract12.oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
|
|
3799
3813
|
getDocsConfigById: import_contract12.oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
|
|
3814
|
+
getSiteMetrics: import_contract12.oc.route({ method: "POST", path: "/admin/site-metrics" }).input(GetSiteMetricsInputSchema).output(SiteMetricsSchema),
|
|
3800
3815
|
prepopulateFdrReadS3Bucket: import_contract12.oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(z16.void()),
|
|
3801
3816
|
ensureDocsInS3: import_contract12.oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(z16.void()),
|
|
3802
3817
|
getDocsFields: import_contract12.oc.route({ method: "POST", path: "/load-fields" }).output(z16.void())
|
|
@@ -6900,6 +6915,7 @@ var UpsertThemeBodySchema = z35.object({
|
|
|
6900
6915
|
GetPullRequestInputSchema,
|
|
6901
6916
|
GetRepositoryInputSchema,
|
|
6902
6917
|
GetSdkDynamicIrUploadUrlsResponseSchema,
|
|
6918
|
+
GetSiteMetricsInputSchema,
|
|
6903
6919
|
GetSlugEntriesResponseSchema,
|
|
6904
6920
|
GetSnapshotInputSchema,
|
|
6905
6921
|
GetSnapshotResponseSchema,
|
|
@@ -7189,6 +7205,7 @@ var UpsertThemeBodySchema = z35.object({
|
|
|
7189
7205
|
SetEditorRepoUrlInputSchema,
|
|
7190
7206
|
SetIsArchivedInputSchema,
|
|
7191
7207
|
SetSnapshotInputSchema,
|
|
7208
|
+
SiteMetricsSchema,
|
|
7192
7209
|
SlugEntrySchema,
|
|
7193
7210
|
SlugsInputSchema,
|
|
7194
7211
|
SnippetInfoSchema,
|