@fern-api/fdr-sdk 1.2.6-d82da730a6 → 1.2.7-020196e413
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 +2 -2
|
@@ -1711,6 +1711,7 @@ var DocsSiteSchema = z7.object({
|
|
|
1711
1711
|
previewUrl: z7.string().nullish(),
|
|
1712
1712
|
postmanCollectionId: z7.string().nullish(),
|
|
1713
1713
|
editorRepoUrl: z7.string().nullish(),
|
|
1714
|
+
postmanLastNotifiedAt: z7.string().nullish(),
|
|
1714
1715
|
status: DocsDeploymentStatusSchema,
|
|
1715
1716
|
createdAt: z7.string(),
|
|
1716
1717
|
updatedAt: z7.string()
|
|
@@ -1810,6 +1811,28 @@ var FindSiteByOrgAndCollectionResponseSchema = z7.object({
|
|
|
1810
1811
|
status: DocsDeploymentStatusSchema
|
|
1811
1812
|
}).nullable()
|
|
1812
1813
|
});
|
|
1814
|
+
var RecordPostmanNotificationInputSchema = z7.object({
|
|
1815
|
+
postmanCollectionId: z7.string()
|
|
1816
|
+
});
|
|
1817
|
+
var RecordPostmanNotificationResponseSchema = z7.object({
|
|
1818
|
+
success: z7.boolean(),
|
|
1819
|
+
// Number of docs_sites rows whose postmanLastNotifiedAt was updated.
|
|
1820
|
+
// 0 when no site is registered for this collection (e.g. caller raced
|
|
1821
|
+
// ahead of registerDocsSite, or the collection was deleted).
|
|
1822
|
+
updatedCount: z7.number().int().nonnegative()
|
|
1823
|
+
});
|
|
1824
|
+
var GetUnnotifiedPostmanSitesResponseSchema = z7.object({
|
|
1825
|
+
sites: z7.array(
|
|
1826
|
+
z7.object({
|
|
1827
|
+
domain: z7.string(),
|
|
1828
|
+
basepath: z7.string(),
|
|
1829
|
+
orgId: z7.string(),
|
|
1830
|
+
postmanCollectionId: z7.string(),
|
|
1831
|
+
status: DocsDeploymentStatusSchema,
|
|
1832
|
+
updatedAt: z7.string()
|
|
1833
|
+
})
|
|
1834
|
+
)
|
|
1835
|
+
});
|
|
1813
1836
|
var GetDocsSitesByCollectionIdResponseSchema = z7.object({
|
|
1814
1837
|
sites: z7.array(
|
|
1815
1838
|
z7.object({
|
|
@@ -1837,7 +1860,9 @@ var docsDeploymentContract = {
|
|
|
1837
1860
|
unlockDeploy: oc2.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
|
|
1838
1861
|
getDocsSitesByCollectionId: oc2.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
|
|
1839
1862
|
setEditorRepoUrl: oc2.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z7.object({ success: z7.boolean() })),
|
|
1840
|
-
findSiteByOrgAndCollection: oc2.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
|
|
1863
|
+
findSiteByOrgAndCollection: oc2.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema),
|
|
1864
|
+
recordPostmanNotification: oc2.route({ method: "POST", path: "/record-postman-notification" }).input(RecordPostmanNotificationInputSchema).output(RecordPostmanNotificationResponseSchema),
|
|
1865
|
+
getUnnotifiedPostmanSites: oc2.route({ method: "GET", path: "/unnotified-postman-sites" }).output(GetUnnotifiedPostmanSitesResponseSchema)
|
|
1841
1866
|
};
|
|
1842
1867
|
|
|
1843
1868
|
// src/orpc-client/dashboard/contract.ts
|