@fern-api/fdr-sdk 1.2.6-d82da730a6 → 1.2.7-0b72d1dfbd

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.
@@ -1917,6 +1917,7 @@ var DocsSiteSchema = z8.object({
1917
1917
  previewUrl: z8.string().nullish(),
1918
1918
  postmanCollectionId: z8.string().nullish(),
1919
1919
  editorRepoUrl: z8.string().nullish(),
1920
+ postmanLastNotifiedAt: z8.string().nullish(),
1920
1921
  status: DocsDeploymentStatusSchema,
1921
1922
  createdAt: z8.string(),
1922
1923
  updatedAt: z8.string()
@@ -2016,6 +2017,28 @@ var FindSiteByOrgAndCollectionResponseSchema = z8.object({
2016
2017
  status: DocsDeploymentStatusSchema
2017
2018
  }).nullable()
2018
2019
  });
2020
+ var RecordPostmanNotificationInputSchema = z8.object({
2021
+ postmanCollectionId: z8.string()
2022
+ });
2023
+ var RecordPostmanNotificationResponseSchema = z8.object({
2024
+ success: z8.boolean(),
2025
+ // Number of docs_sites rows whose postmanLastNotifiedAt was updated.
2026
+ // 0 when no site is registered for this collection (e.g. caller raced
2027
+ // ahead of registerDocsSite, or the collection was deleted).
2028
+ updatedCount: z8.number().int().nonnegative()
2029
+ });
2030
+ var GetUnnotifiedPostmanSitesResponseSchema = z8.object({
2031
+ sites: z8.array(
2032
+ z8.object({
2033
+ domain: z8.string(),
2034
+ basepath: z8.string(),
2035
+ orgId: z8.string(),
2036
+ postmanCollectionId: z8.string(),
2037
+ status: DocsDeploymentStatusSchema,
2038
+ updatedAt: z8.string()
2039
+ })
2040
+ )
2041
+ });
2019
2042
  var GetDocsSitesByCollectionIdResponseSchema = z8.object({
2020
2043
  sites: z8.array(
2021
2044
  z8.object({
@@ -2043,7 +2066,9 @@ var docsDeploymentContract = {
2043
2066
  unlockDeploy: oc2.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
2044
2067
  getDocsSitesByCollectionId: oc2.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
2045
2068
  setEditorRepoUrl: oc2.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z8.object({ success: z8.boolean() })),
2046
- findSiteByOrgAndCollection: oc2.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
2069
+ findSiteByOrgAndCollection: oc2.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema),
2070
+ recordPostmanNotification: oc2.route({ method: "POST", path: "/record-postman-notification" }).input(RecordPostmanNotificationInputSchema).output(RecordPostmanNotificationResponseSchema),
2071
+ getUnnotifiedPostmanSites: oc2.route({ method: "GET", path: "/unnotified-postman-sites" }).output(GetUnnotifiedPostmanSitesResponseSchema)
2047
2072
  };
2048
2073
 
2049
2074
  // src/orpc-client/dashboard/contract.ts
@@ -4703,6 +4728,7 @@ export {
4703
4728
  GetRepositoryInputSchema,
4704
4729
  GetSdkDynamicIrUploadUrlsResponseSchema,
4705
4730
  GetSlugEntriesResponseSchema,
4731
+ GetUnnotifiedPostmanSitesResponseSchema,
4706
4732
  GithubRepositoryIdSchema,
4707
4733
  GithubTeamSchema,
4708
4734
  GithubUrlSchema,
@@ -4875,6 +4901,8 @@ export {
4875
4901
  ReadUndiscriminatedUnionVariantSchema,
4876
4902
  ReadWebSocketChannelSchema,
4877
4903
  ReadWebhookDefinitionSchema,
4904
+ RecordPostmanNotificationInputSchema,
4905
+ RecordPostmanNotificationResponseSchema,
4878
4906
  RegisterApiDefinitionPackageSchema,
4879
4907
  RegisterApiDefinitionResponseSchema,
4880
4908
  RegisterApiDefinitionSchema,