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