@fern-api/fdr-sdk 1.2.6-d82da730a6 → 1.2.7-d5416890e1
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
|
@@ -1748,6 +1748,7 @@ var DocsSiteSchema = z7.object({
|
|
|
1748
1748
|
previewUrl: z7.string().nullish(),
|
|
1749
1749
|
postmanCollectionId: z7.string().nullish(),
|
|
1750
1750
|
editorRepoUrl: z7.string().nullish(),
|
|
1751
|
+
postmanLastNotifiedAt: z7.string().nullish(),
|
|
1751
1752
|
status: DocsDeploymentStatusSchema,
|
|
1752
1753
|
createdAt: z7.string(),
|
|
1753
1754
|
updatedAt: z7.string()
|
|
@@ -1847,6 +1848,28 @@ var FindSiteByOrgAndCollectionResponseSchema = z7.object({
|
|
|
1847
1848
|
status: DocsDeploymentStatusSchema
|
|
1848
1849
|
}).nullable()
|
|
1849
1850
|
});
|
|
1851
|
+
var RecordPostmanNotificationInputSchema = z7.object({
|
|
1852
|
+
postmanCollectionId: z7.string()
|
|
1853
|
+
});
|
|
1854
|
+
var RecordPostmanNotificationResponseSchema = z7.object({
|
|
1855
|
+
success: z7.boolean(),
|
|
1856
|
+
// Number of docs_sites rows whose postmanLastNotifiedAt was updated.
|
|
1857
|
+
// 0 when no site is registered for this collection (e.g. caller raced
|
|
1858
|
+
// ahead of registerDocsSite, or the collection was deleted).
|
|
1859
|
+
updatedCount: z7.number().int().nonnegative()
|
|
1860
|
+
});
|
|
1861
|
+
var GetUnnotifiedPostmanSitesResponseSchema = z7.object({
|
|
1862
|
+
sites: z7.array(
|
|
1863
|
+
z7.object({
|
|
1864
|
+
domain: z7.string(),
|
|
1865
|
+
basepath: z7.string(),
|
|
1866
|
+
orgId: z7.string(),
|
|
1867
|
+
postmanCollectionId: z7.string(),
|
|
1868
|
+
status: DocsDeploymentStatusSchema,
|
|
1869
|
+
updatedAt: z7.string()
|
|
1870
|
+
})
|
|
1871
|
+
)
|
|
1872
|
+
});
|
|
1850
1873
|
var GetDocsSitesByCollectionIdResponseSchema = z7.object({
|
|
1851
1874
|
sites: z7.array(
|
|
1852
1875
|
z7.object({
|
|
@@ -1874,7 +1897,9 @@ var docsDeploymentContract = {
|
|
|
1874
1897
|
unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
|
|
1875
1898
|
getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
|
|
1876
1899
|
setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z7.object({ success: z7.boolean() })),
|
|
1877
|
-
findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
|
|
1900
|
+
findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema),
|
|
1901
|
+
recordPostmanNotification: import_contract2.oc.route({ method: "POST", path: "/record-postman-notification" }).input(RecordPostmanNotificationInputSchema).output(RecordPostmanNotificationResponseSchema),
|
|
1902
|
+
getUnnotifiedPostmanSites: import_contract2.oc.route({ method: "GET", path: "/unnotified-postman-sites" }).output(GetUnnotifiedPostmanSitesResponseSchema)
|
|
1878
1903
|
};
|
|
1879
1904
|
|
|
1880
1905
|
// src/orpc-client/dashboard/contract.ts
|