@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/index.mjs CHANGED
@@ -49608,6 +49608,7 @@ var DocsSiteSchema = z10.object({
49608
49608
  previewUrl: z10.string().nullish(),
49609
49609
  postmanCollectionId: z10.string().nullish(),
49610
49610
  editorRepoUrl: z10.string().nullish(),
49611
+ postmanLastNotifiedAt: z10.string().nullish(),
49611
49612
  status: DocsDeploymentStatusSchema,
49612
49613
  createdAt: z10.string(),
49613
49614
  updatedAt: z10.string()
@@ -49707,6 +49708,28 @@ var FindSiteByOrgAndCollectionResponseSchema = z10.object({
49707
49708
  status: DocsDeploymentStatusSchema
49708
49709
  }).nullable()
49709
49710
  });
49711
+ var RecordPostmanNotificationInputSchema = z10.object({
49712
+ postmanCollectionId: z10.string()
49713
+ });
49714
+ var RecordPostmanNotificationResponseSchema = z10.object({
49715
+ success: z10.boolean(),
49716
+ // Number of docs_sites rows whose postmanLastNotifiedAt was updated.
49717
+ // 0 when no site is registered for this collection (e.g. caller raced
49718
+ // ahead of registerDocsSite, or the collection was deleted).
49719
+ updatedCount: z10.number().int().nonnegative()
49720
+ });
49721
+ var GetUnnotifiedPostmanSitesResponseSchema = z10.object({
49722
+ sites: z10.array(
49723
+ z10.object({
49724
+ domain: z10.string(),
49725
+ basepath: z10.string(),
49726
+ orgId: z10.string(),
49727
+ postmanCollectionId: z10.string(),
49728
+ status: DocsDeploymentStatusSchema,
49729
+ updatedAt: z10.string()
49730
+ })
49731
+ )
49732
+ });
49710
49733
  var GetDocsSitesByCollectionIdResponseSchema = z10.object({
49711
49734
  sites: z10.array(
49712
49735
  z10.object({
@@ -49734,7 +49757,9 @@ var docsDeploymentContract = {
49734
49757
  unlockDeploy: oc4.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
49735
49758
  getDocsSitesByCollectionId: oc4.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
49736
49759
  setEditorRepoUrl: oc4.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z10.object({ success: z10.boolean() })),
49737
- findSiteByOrgAndCollection: oc4.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
49760
+ findSiteByOrgAndCollection: oc4.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema),
49761
+ recordPostmanNotification: oc4.route({ method: "POST", path: "/record-postman-notification" }).input(RecordPostmanNotificationInputSchema).output(RecordPostmanNotificationResponseSchema),
49762
+ getUnnotifiedPostmanSites: oc4.route({ method: "GET", path: "/unnotified-postman-sites" }).output(GetUnnotifiedPostmanSitesResponseSchema)
49738
49763
  };
49739
49764
 
49740
49765
  // src/orpc-client/dashboard/contract.ts