@fern-api/fdr-sdk 0.147.7-09e8ebfad6 → 0.147.7-3e2a1bc45e
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 +13 -2
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +13 -2
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +13 -2
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +13 -2
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +17 -2
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +15 -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 +56 -0
- package/dist/types/orpc-client/docs-deployment/contract.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/js/orpc-client.js
CHANGED
|
@@ -178,6 +178,8 @@ __export(orpc_client_exports, {
|
|
|
178
178
|
GetOrganizationForUrlInputSchema: () => GetOrganizationForUrlInputSchema,
|
|
179
179
|
GetPdfExportDownloadUrlInputSchema: () => GetPdfExportDownloadUrlInputSchema,
|
|
180
180
|
GetPdfExportTaskInputSchema: () => GetPdfExportTaskInputSchema,
|
|
181
|
+
GetPostmanCollectionIdInputSchema: () => GetPostmanCollectionIdInputSchema,
|
|
182
|
+
GetPostmanCollectionIdResponseSchema: () => GetPostmanCollectionIdResponseSchema,
|
|
181
183
|
GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
|
|
182
184
|
GetPullRequestInputSchema: () => GetPullRequestInputSchema,
|
|
183
185
|
GetRepositoryInputSchema: () => GetRepositoryInputSchema,
|
|
@@ -3512,6 +3514,7 @@ var DocsSiteSchema = z19.object({
|
|
|
3512
3514
|
domain: z19.string(),
|
|
3513
3515
|
basepath: z19.string(),
|
|
3514
3516
|
previewUrl: z19.string().nullish(),
|
|
3517
|
+
postmanCollectionId: z19.string().nullish(),
|
|
3515
3518
|
status: DocsDeploymentStatusSchema,
|
|
3516
3519
|
createdAt: z19.string(),
|
|
3517
3520
|
updatedAt: z19.string()
|
|
@@ -3533,7 +3536,13 @@ var RegisterDocsSiteInputSchema = z19.object({
|
|
|
3533
3536
|
domain: z19.string(),
|
|
3534
3537
|
orgId: z19.string(),
|
|
3535
3538
|
basepath: z19.string().nullish(),
|
|
3536
|
-
previewUrl: z19.string().nullish()
|
|
3539
|
+
previewUrl: z19.string().nullish(),
|
|
3540
|
+
postmanCollectionId: z19.string().nullish()
|
|
3541
|
+
});
|
|
3542
|
+
var GetPostmanCollectionIdInputSchema = z19.object({
|
|
3543
|
+
orgId: z19.string(),
|
|
3544
|
+
domain: z19.string(),
|
|
3545
|
+
basepath: z19.string().nullish()
|
|
3537
3546
|
});
|
|
3538
3547
|
var GetDocsStatusInputSchema = z19.object({
|
|
3539
3548
|
domain: z19.string(),
|
|
@@ -3577,13 +3586,17 @@ var CreateDeploymentResponseSchema = z19.object({
|
|
|
3577
3586
|
var UpdateDeploymentStatusResponseSchema = z19.object({
|
|
3578
3587
|
success: z19.boolean()
|
|
3579
3588
|
});
|
|
3589
|
+
var GetPostmanCollectionIdResponseSchema = z19.object({
|
|
3590
|
+
postmanCollectionId: z19.string().nullable()
|
|
3591
|
+
});
|
|
3580
3592
|
var docsDeploymentContract = {
|
|
3581
3593
|
registerDocsSite: import_contract18.oc.route({ method: "POST", path: "/register" }).input(RegisterDocsSiteInputSchema).output(DocsSiteSchema),
|
|
3582
3594
|
getDocsStatus: import_contract18.oc.route({ method: "GET", path: "/status" }).input(GetDocsStatusInputSchema).output(GetDocsStatusResponseSchema),
|
|
3583
3595
|
setDocsStatus: import_contract18.oc.route({ method: "PUT", path: "/status" }).input(SetDocsStatusInputSchema).output(DocsSiteSchema),
|
|
3584
3596
|
createDeployment: import_contract18.oc.route({ method: "POST", path: "/deployment" }).input(CreateDeploymentInputSchema).output(CreateDeploymentResponseSchema),
|
|
3585
3597
|
updateDeploymentStatus: import_contract18.oc.route({ method: "PATCH", path: "/deployment/{deploymentId}" }).input(UpdateDeploymentStatusInputSchema).output(UpdateDeploymentStatusResponseSchema),
|
|
3586
|
-
getDocsDeployments: import_contract18.oc.route({ method: "GET", path: "/deployments" }).input(GetDocsDeploymentsInputSchema).output(GetDocsDeploymentsResponseSchema)
|
|
3598
|
+
getDocsDeployments: import_contract18.oc.route({ method: "GET", path: "/deployments" }).input(GetDocsDeploymentsInputSchema).output(GetDocsDeploymentsResponseSchema),
|
|
3599
|
+
getPostmanCollectionId: import_contract18.oc.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema)
|
|
3587
3600
|
};
|
|
3588
3601
|
|
|
3589
3602
|
// src/orpc-client/docs-deployment/client.ts
|
|
@@ -4520,6 +4533,8 @@ function createFdrORPCClient(options) {
|
|
|
4520
4533
|
GetOrganizationForUrlInputSchema,
|
|
4521
4534
|
GetPdfExportDownloadUrlInputSchema,
|
|
4522
4535
|
GetPdfExportTaskInputSchema,
|
|
4536
|
+
GetPostmanCollectionIdInputSchema,
|
|
4537
|
+
GetPostmanCollectionIdResponseSchema,
|
|
4523
4538
|
GetPrivateDocsForUrlInputSchema,
|
|
4524
4539
|
GetPullRequestInputSchema,
|
|
4525
4540
|
GetRepositoryInputSchema,
|