@fern-api/fdr-sdk 1.2.174-3202dd355e → 1.2.174-35c4d02a2f

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.
@@ -766,6 +766,7 @@ __export(orpc_client_exports, {
766
766
  createDocsV2ReadClient: () => createDocsV2ReadClient,
767
767
  createDocsV2WriteClient: () => createDocsV2WriteClient,
768
768
  createEditorSnapshotClient: () => createEditorSnapshotClient,
769
+ createExportClient: () => createExportClient,
769
770
  createFdrORPCClient: () => createFdrORPCClient,
770
771
  createGeneratorCliClient: () => createGeneratorCliClient,
771
772
  createGeneratorVersionsClient: () => createGeneratorVersionsClient,
@@ -7725,8 +7726,14 @@ var pdfExportContract = {
7725
7726
 
7726
7727
  // src/orpc-client/pdf-export/client.ts
7727
7728
  function createPdfExportClient(options) {
7729
+ return createClient(options, "/pdf-export");
7730
+ }
7731
+ function createExportClient(options) {
7732
+ return createClient(options, "/export");
7733
+ }
7734
+ function createClient(options, prefix) {
7728
7735
  const link = new import_fetch18.OpenAPILink(pdfExportContract, {
7729
- url: `${options.baseUrl}/pdf-export`,
7736
+ url: `${options.baseUrl}${prefix}`,
7730
7737
  headers: () => ({
7731
7738
  Authorization: `Bearer ${options.token}`,
7732
7739
  ...options.headers
@@ -8086,7 +8093,7 @@ function createFdrORPCClient(options) {
8086
8093
  git: createGitClient(normalizedOptions),
8087
8094
  mcpHosting: createMcpHostingClient(normalizedOptions),
8088
8095
  slugs: createSlugsClient(normalizedOptions),
8089
- pdfExport: createPdfExportClient(normalizedOptions),
8096
+ pdfExport: createExportClient(normalizedOptions),
8090
8097
  sdks: createSdksClient(normalizedOptions),
8091
8098
  snippets: createSnippetsClient(normalizedOptions),
8092
8099
  snippetsFactory: createSnippetsFactoryClient(normalizedOptions),
@@ -9754,6 +9761,7 @@ var UpsertThemeBodySchema = z42.object({
9754
9761
  createDocsV2ReadClient,
9755
9762
  createDocsV2WriteClient,
9756
9763
  createEditorSnapshotClient,
9764
+ createExportClient,
9757
9765
  createFdrORPCClient,
9758
9766
  createGeneratorCliClient,
9759
9767
  createGeneratorVersionsClient,