@fern-api/fdr-sdk 1.2.6-d82da730a6 → 1.2.7-a4a7ffae1e

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.
@@ -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