@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.
@@ -198,6 +198,7 @@ __export(orpc_client_exports, {
198
198
  GetRepositoryInputSchema: () => GetRepositoryInputSchema,
199
199
  GetSdkDynamicIrUploadUrlsResponseSchema: () => GetSdkDynamicIrUploadUrlsResponseSchema,
200
200
  GetSlugEntriesResponseSchema: () => GetSlugEntriesResponseSchema,
201
+ GetUnnotifiedPostmanSitesResponseSchema: () => GetUnnotifiedPostmanSitesResponseSchema,
201
202
  GithubRepositoryIdSchema: () => GithubRepositoryIdSchema,
202
203
  GithubTeamSchema: () => GithubTeamSchema,
203
204
  GithubUrlSchema: () => GithubUrlSchema,
@@ -370,6 +371,8 @@ __export(orpc_client_exports, {
370
371
  ReadUndiscriminatedUnionVariantSchema: () => ReadUndiscriminatedUnionVariantSchema,
371
372
  ReadWebSocketChannelSchema: () => ReadWebSocketChannelSchema,
372
373
  ReadWebhookDefinitionSchema: () => ReadWebhookDefinitionSchema,
374
+ RecordPostmanNotificationInputSchema: () => RecordPostmanNotificationInputSchema,
375
+ RecordPostmanNotificationResponseSchema: () => RecordPostmanNotificationResponseSchema,
373
376
  RegisterApiDefinitionPackageSchema: () => RegisterApiDefinitionPackageSchema,
374
377
  RegisterApiDefinitionResponseSchema: () => RegisterApiDefinitionResponseSchema,
375
378
  RegisterApiDefinitionSchema: () => RegisterApiDefinitionSchema,
@@ -2456,6 +2459,7 @@ var DocsSiteSchema = z8.object({
2456
2459
  previewUrl: z8.string().nullish(),
2457
2460
  postmanCollectionId: z8.string().nullish(),
2458
2461
  editorRepoUrl: z8.string().nullish(),
2462
+ postmanLastNotifiedAt: z8.string().nullish(),
2459
2463
  status: DocsDeploymentStatusSchema,
2460
2464
  createdAt: z8.string(),
2461
2465
  updatedAt: z8.string()
@@ -2555,6 +2559,28 @@ var FindSiteByOrgAndCollectionResponseSchema = z8.object({
2555
2559
  status: DocsDeploymentStatusSchema
2556
2560
  }).nullable()
2557
2561
  });
2562
+ var RecordPostmanNotificationInputSchema = z8.object({
2563
+ postmanCollectionId: z8.string()
2564
+ });
2565
+ var RecordPostmanNotificationResponseSchema = z8.object({
2566
+ success: z8.boolean(),
2567
+ // Number of docs_sites rows whose postmanLastNotifiedAt was updated.
2568
+ // 0 when no site is registered for this collection (e.g. caller raced
2569
+ // ahead of registerDocsSite, or the collection was deleted).
2570
+ updatedCount: z8.number().int().nonnegative()
2571
+ });
2572
+ var GetUnnotifiedPostmanSitesResponseSchema = z8.object({
2573
+ sites: z8.array(
2574
+ z8.object({
2575
+ domain: z8.string(),
2576
+ basepath: z8.string(),
2577
+ orgId: z8.string(),
2578
+ postmanCollectionId: z8.string(),
2579
+ status: DocsDeploymentStatusSchema,
2580
+ updatedAt: z8.string()
2581
+ })
2582
+ )
2583
+ });
2558
2584
  var GetDocsSitesByCollectionIdResponseSchema = z8.object({
2559
2585
  sites: z8.array(
2560
2586
  z8.object({
@@ -2582,7 +2608,9 @@ var docsDeploymentContract = {
2582
2608
  unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
2583
2609
  getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
2584
2610
  setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z8.object({ success: z8.boolean() })),
2585
- findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
2611
+ findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema),
2612
+ recordPostmanNotification: import_contract2.oc.route({ method: "POST", path: "/record-postman-notification" }).input(RecordPostmanNotificationInputSchema).output(RecordPostmanNotificationResponseSchema),
2613
+ getUnnotifiedPostmanSites: import_contract2.oc.route({ method: "GET", path: "/unnotified-postman-sites" }).output(GetUnnotifiedPostmanSitesResponseSchema)
2586
2614
  };
2587
2615
 
2588
2616
  // src/orpc-client/dashboard/contract.ts
@@ -5243,6 +5271,7 @@ var UpsertThemeBodySchema = z31.object({
5243
5271
  GetRepositoryInputSchema,
5244
5272
  GetSdkDynamicIrUploadUrlsResponseSchema,
5245
5273
  GetSlugEntriesResponseSchema,
5274
+ GetUnnotifiedPostmanSitesResponseSchema,
5246
5275
  GithubRepositoryIdSchema,
5247
5276
  GithubTeamSchema,
5248
5277
  GithubUrlSchema,
@@ -5415,6 +5444,8 @@ var UpsertThemeBodySchema = z31.object({
5415
5444
  ReadUndiscriminatedUnionVariantSchema,
5416
5445
  ReadWebSocketChannelSchema,
5417
5446
  ReadWebhookDefinitionSchema,
5447
+ RecordPostmanNotificationInputSchema,
5448
+ RecordPostmanNotificationResponseSchema,
5418
5449
  RegisterApiDefinitionPackageSchema,
5419
5450
  RegisterApiDefinitionResponseSchema,
5420
5451
  RegisterApiDefinitionSchema,