@fern-api/fdr-sdk 1.2.2-be0d74d1a9 → 1.2.2-ff12a55fa2
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 +11 -2
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +11 -2
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +11 -2
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +11 -2
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +13 -2
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +12 -2
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/orpc-client/docs-deployment/contract.d.ts +54 -0
- package/dist/types/orpc-client/docs-deployment/contract.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/js/orpc-client.js
CHANGED
|
@@ -415,6 +415,7 @@ __export(orpc_client_exports, {
|
|
|
415
415
|
SdkSchema: () => SdkSchema,
|
|
416
416
|
SetDocsStatusInputSchema: () => SetDocsStatusInputSchema,
|
|
417
417
|
SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
|
|
418
|
+
SetEditorRepoUrlInputSchema: () => SetEditorRepoUrlInputSchema,
|
|
418
419
|
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
419
420
|
SlugEntrySchema: () => SlugEntrySchema,
|
|
420
421
|
SlugsInputSchema: () => SlugsInputSchema,
|
|
@@ -2450,6 +2451,7 @@ var DocsSiteSchema = z8.object({
|
|
|
2450
2451
|
basepath: z8.string(),
|
|
2451
2452
|
previewUrl: z8.string().nullish(),
|
|
2452
2453
|
postmanCollectionId: z8.string().nullish(),
|
|
2454
|
+
editorRepoUrl: z8.string().nullish(),
|
|
2453
2455
|
status: DocsDeploymentStatusSchema,
|
|
2454
2456
|
createdAt: z8.string(),
|
|
2455
2457
|
updatedAt: z8.string()
|
|
@@ -2472,7 +2474,8 @@ var RegisterDocsSiteInputSchema = z8.object({
|
|
|
2472
2474
|
orgId: z8.string(),
|
|
2473
2475
|
basepath: z8.string().nullish(),
|
|
2474
2476
|
previewUrl: z8.string().nullish(),
|
|
2475
|
-
postmanCollectionId: z8.string().nullish()
|
|
2477
|
+
postmanCollectionId: z8.string().nullish(),
|
|
2478
|
+
editorRepoUrl: z8.string().nullish()
|
|
2476
2479
|
});
|
|
2477
2480
|
var GetPostmanCollectionIdInputSchema = z8.object({
|
|
2478
2481
|
orgId: z8.string(),
|
|
@@ -2547,6 +2550,12 @@ var GetDocsSitesByCollectionIdResponseSchema = z8.object({
|
|
|
2547
2550
|
})
|
|
2548
2551
|
)
|
|
2549
2552
|
});
|
|
2553
|
+
var SetEditorRepoUrlInputSchema = z8.object({
|
|
2554
|
+
orgId: z8.string(),
|
|
2555
|
+
domain: z8.string(),
|
|
2556
|
+
basepath: z8.string().nullish(),
|
|
2557
|
+
editorRepoUrl: z8.string().nullable()
|
|
2558
|
+
});
|
|
2550
2559
|
var docsDeploymentContract = {
|
|
2551
2560
|
registerDocsSite: import_contract2.oc.route({ method: "POST", path: "/register" }).input(RegisterDocsSiteInputSchema).output(DocsSiteSchema),
|
|
2552
2561
|
getDocsStatus: import_contract2.oc.route({ method: "GET", path: "/status" }).input(GetDocsStatusInputSchema).output(GetDocsStatusResponseSchema),
|
|
@@ -2556,7 +2565,8 @@ var docsDeploymentContract = {
|
|
|
2556
2565
|
getDocsDeployments: import_contract2.oc.route({ method: "GET", path: "/deployments" }).input(GetDocsDeploymentsInputSchema).output(GetDocsDeploymentsResponseSchema),
|
|
2557
2566
|
getPostmanCollectionId: import_contract2.oc.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
|
|
2558
2567
|
unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
|
|
2559
|
-
getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema)
|
|
2568
|
+
getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
|
|
2569
|
+
setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z8.object({ success: z8.boolean() }))
|
|
2560
2570
|
};
|
|
2561
2571
|
|
|
2562
2572
|
// src/orpc-client/dashboard/contract.ts
|
|
@@ -5433,6 +5443,7 @@ var UpsertThemeBodySchema = z31.object({
|
|
|
5433
5443
|
SdkSchema,
|
|
5434
5444
|
SetDocsStatusInputSchema,
|
|
5435
5445
|
SetDocsUrlMetadataInputSchema,
|
|
5446
|
+
SetEditorRepoUrlInputSchema,
|
|
5436
5447
|
SetIsArchivedInputSchema,
|
|
5437
5448
|
SlugEntrySchema,
|
|
5438
5449
|
SlugsInputSchema,
|