@fern-api/fdr-sdk 1.2.6-d82da730a6 → 1.2.7-0b72d1dfbd
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 +26 -1
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +26 -1
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +26 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +26 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +32 -1
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +29 -1
- 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 +129 -0
- package/dist/types/orpc-client/docs-deployment/contract.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/js/index.js
CHANGED
|
@@ -49650,6 +49650,7 @@ var DocsSiteSchema = z10.object({
|
|
|
49650
49650
|
previewUrl: z10.string().nullish(),
|
|
49651
49651
|
postmanCollectionId: z10.string().nullish(),
|
|
49652
49652
|
editorRepoUrl: z10.string().nullish(),
|
|
49653
|
+
postmanLastNotifiedAt: z10.string().nullish(),
|
|
49653
49654
|
status: DocsDeploymentStatusSchema,
|
|
49654
49655
|
createdAt: z10.string(),
|
|
49655
49656
|
updatedAt: z10.string()
|
|
@@ -49749,6 +49750,28 @@ var FindSiteByOrgAndCollectionResponseSchema = z10.object({
|
|
|
49749
49750
|
status: DocsDeploymentStatusSchema
|
|
49750
49751
|
}).nullable()
|
|
49751
49752
|
});
|
|
49753
|
+
var RecordPostmanNotificationInputSchema = z10.object({
|
|
49754
|
+
postmanCollectionId: z10.string()
|
|
49755
|
+
});
|
|
49756
|
+
var RecordPostmanNotificationResponseSchema = z10.object({
|
|
49757
|
+
success: z10.boolean(),
|
|
49758
|
+
// Number of docs_sites rows whose postmanLastNotifiedAt was updated.
|
|
49759
|
+
// 0 when no site is registered for this collection (e.g. caller raced
|
|
49760
|
+
// ahead of registerDocsSite, or the collection was deleted).
|
|
49761
|
+
updatedCount: z10.number().int().nonnegative()
|
|
49762
|
+
});
|
|
49763
|
+
var GetUnnotifiedPostmanSitesResponseSchema = z10.object({
|
|
49764
|
+
sites: z10.array(
|
|
49765
|
+
z10.object({
|
|
49766
|
+
domain: z10.string(),
|
|
49767
|
+
basepath: z10.string(),
|
|
49768
|
+
orgId: z10.string(),
|
|
49769
|
+
postmanCollectionId: z10.string(),
|
|
49770
|
+
status: DocsDeploymentStatusSchema,
|
|
49771
|
+
updatedAt: z10.string()
|
|
49772
|
+
})
|
|
49773
|
+
)
|
|
49774
|
+
});
|
|
49752
49775
|
var GetDocsSitesByCollectionIdResponseSchema = z10.object({
|
|
49753
49776
|
sites: z10.array(
|
|
49754
49777
|
z10.object({
|
|
@@ -49776,7 +49799,9 @@ var docsDeploymentContract = {
|
|
|
49776
49799
|
unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
|
|
49777
49800
|
getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
|
|
49778
49801
|
setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z10.object({ success: z10.boolean() })),
|
|
49779
|
-
findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
|
|
49802
|
+
findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema),
|
|
49803
|
+
recordPostmanNotification: import_contract2.oc.route({ method: "POST", path: "/record-postman-notification" }).input(RecordPostmanNotificationInputSchema).output(RecordPostmanNotificationResponseSchema),
|
|
49804
|
+
getUnnotifiedPostmanSites: import_contract2.oc.route({ method: "GET", path: "/unnotified-postman-sites" }).output(GetUnnotifiedPostmanSitesResponseSchema)
|
|
49780
49805
|
};
|
|
49781
49806
|
|
|
49782
49807
|
// src/orpc-client/dashboard/contract.ts
|