@fern-api/fdr-sdk 1.2.174-564d1e65bb → 1.2.174-573303cdda

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.
@@ -6443,9 +6443,12 @@ var pdfExportContract = {
6443
6443
  };
6444
6444
 
6445
6445
  // src/orpc-client/pdf-export/client.ts
6446
- function createPdfExportClient(options) {
6446
+ function createExportClient(options) {
6447
+ return createClient(options, "/export");
6448
+ }
6449
+ function createClient(options, prefix) {
6447
6450
  const link = new OpenAPILink18(pdfExportContract, {
6448
- url: `${options.baseUrl}/pdf-export`,
6451
+ url: `${options.baseUrl}${prefix}`,
6449
6452
  headers: () => ({
6450
6453
  Authorization: `Bearer ${options.token}`,
6451
6454
  ...options.headers
@@ -6805,7 +6808,7 @@ function createFdrORPCClient(options) {
6805
6808
  git: createGitClient(normalizedOptions),
6806
6809
  mcpHosting: createMcpHostingClient(normalizedOptions),
6807
6810
  slugs: createSlugsClient(normalizedOptions),
6808
- pdfExport: createPdfExportClient(normalizedOptions),
6811
+ pdfExport: createExportClient(normalizedOptions),
6809
6812
  sdks: createSdksClient(normalizedOptions),
6810
6813
  snippets: createSnippetsClient(normalizedOptions),
6811
6814
  snippetsFactory: createSnippetsFactoryClient(normalizedOptions),